Last active
          February 12, 2018 18:49 
        
      - 
      
 - 
        
Save wizardishungry/2660808 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
wizardishungry revised this gist
Feb 12, 2018 . No changes.There are no files selected for viewing
 - 
        
wizardishungry revised this gist
Feb 12, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ gem 'concurrent'  - 
        
wizardishungry revised this gist
Feb 12, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ gem 'concurrent-ruby'  - 
        
wizardishungry revised this gist
Feb 12, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ require 'concurrent' config.vm.provider "virtualbox" do |vb| v.cpus = Concurrent.physical_processor_count end  - 
        
wizardishungry revised this gist
Feb 12, 2018 . No changes.There are no files selected for viewing
 - 
        
wizardishungry revised this gist
Feb 12, 2018 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,5 @@ require 'etc' config.vm.provider "virtualbox" do |vb| v.cpus = Etc.nprocessors end  - 
        
wizardishungry revised this gist
Feb 12, 2018 . No changes.There are no files selected for viewing
 - 
        
wizardishungry revised this gist
May 11, 2012 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ # -*- mode: ruby -*- # vi: set ft=ruby : if not RUBY_PLATFORM.downcase.include?("mswin") config.vm.customize ["modifyvm", :id, "--cpus", `awk "/^processor/ {++n} END {print n}" /proc/cpuinfo 2> /dev/null || sh -c 'sysctl hw.logicalcpu 2> /dev/null || echo ": 2"' | awk \'{print \$2}\' `.chomp ] end  - 
        
wizardishungry created this gist
May 11, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # -*- mode: ruby -*- # vi: set ft=ruby : config.vm.customize ["modifyvm", :id, "--cpus", `awk "/^processor/ {++n} END {print n}" /proc/cpuinfo 2> /dev/null || sh -c 'sysctl hw.logicalcpu 2> /dev/null || echo ": 2"' | awk \'{print \$2}\' `.chomp ]