- Authoring Ebooks: http://www.authoringebooks.com/
- Create Your Own Programming Language: http://createyourproglang.com/
- Exceptional Ruby: http://exceptionalruby.com/
- JavaScript Performance Rocks: http://javascriptrocks.com/performance/
- Redmine Tips: http://www.redminetips.com/
- The SPDY Book: http://spdybook.com/
- Rails 3 Upgrade Handbook: http://www.railsupgradehandbook.com/
- Refactoring Redmine: http://www.refactoringredmine.com/book/
- Bootstrapping Design: http://bootstrappingdesign.com/
- Recipes With Backbone:
This file contains 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
[[25433345, "thor"], | |
[23854425, "rake"], | |
[21253644, "rails"], | |
[21575987, "rack"], | |
[19408780, "activesupport"], | |
[16265610, "activerecord"], | |
[15920580, "actionpack"], | |
[16207231, "json"], | |
[15497117, "actionmailer"], | |
[15335833, "activeresource"], |
The ActiveRecord::Migration
class is used to manage Rails migration scripts. When writing these scripts, there are many class methods that can be used to make schema changes, which are described below in several sections.
Create Methods | Arguments | Notes | Rev |
---|---|---|---|
create_join_table | table1, table2, options | Creates a join table | Y |
create_table | name, options | Creates a table | Y |
This file contains 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
#!/bin/zsh | |
musicAppOpen=`osascript -e 'tell application "System Events" to (name of processes) contains "Music"'` | |
rm -f "/tmp/xcode-itunes.txt" | |
if [ $musicAppOpen = 'true' ]; then | |
musicState=`osascript -e 'tell application "Music" to player state as string'` | |
if [ $musicState = 'playing' ]; then | |
echo 'play' > '/tmp/xcode-itunes.txt' | |
osascript -e 'tell application "Music" to pause' |