duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
Install Xcode command line tools (Apple Developer site) | |
brew uninstall postgresql | |
brew install postgresql | |
ARCHFLAGS="-arch x86_64" gem install pg |
gem uninstall libv8 | |
brew install v8 | |
gem install therubyracer | |
gem install libv8 -v '3.16.14.3' -- --with-system-v8 | |
http://stackoverflow.com/questions/24081473/how-to-install-therubyracer-gem-on-10-10-yosemite |
screen -S socketName : create screen | |
ctrl + A D : detach screen | |
screen -ls : list screen | |
screen -r socketName : attach to screen | |
exit : exit screen |
fileutils.rb:252:in `mkdir': Permission denied @ dir_s_mkdir - /run/user/1000/spring (Errno::EACCES) | |
unset XDG_RUNTIME_DIR | |
rails c |
subl . command not found | |
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin |
```./gradlew assembleRelease | clean | installRelease``` | |
run this to get bundle file for ios | |
```react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output iOS/main.jsbundle``` | |
Install apk to phone | |
```adb install -r file name``` |
http://stackoverflow.com/questions/1711/what-is-the-single-most-influential-book-every-programmer-should-read?lq=1 |
require 'nokogiri' | |
require 'open-uri' | |
MARK_FILE = "mark.dat" | |
def wait_for_threads(threads) | |
print "Waiting for downloads to finish..." | |
threads.each { |t| t.join } | |
puts " ok" | |
end |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'open-uri' | |
require 'nokogiri' | |
require 'net/http' | |
url = 'http://hewgill.com/~greg/stackoverflow/ebooks/' | |
root = uri.parse(url) |