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 characters
POPULATION_SIZE = 24 | |
NUM_BITS = 64 | |
NUM_GENERATIONS = 1000 | |
CROSSOVER_RATE = 0.7 | |
MUTATION_RATE = 0.001 | |
class Chromosome | |
attr_accessor :genes |
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 characters
tell application "Mail" | |
set theSubject to "Clean me up!" | |
set theContent to "Nothing interesting here..." | |
set theAddress to "[email protected]" | |
set theAttachmentFile to "Macintosh HD:Users:kenneth:Dropbox:contact.jpg" | |
set msg to make new outgoing message with properties {subject: theSubject, content: theContent, visible:true} | |
tell msg to make new to recipient at end of every to recipient with properties {address:theAddress} |
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 characters
- copy .ssh and .zshrc | |
- install app store apps | |
- curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | |
- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
- brew tap phinze/cask | |
- brew tap caskroom/versions | |
- brew install apgdiff brew-cask elasticsearch gd git gnuplot heroku-toolbelt jmeter leiningen libpng libyaml maven openssl pkg-config rbenv ruby-build unrar watch wget youtube-dl |
NewerOlder