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
| curl http://www.eat.st/kings-cross/kings-cross-calendar.php 2>&1 | grep -oP "Big Apple Hot Dogs|eat.st at King's Boulevard on `date -v+1d +"%e(?:st|nd|rd|th) %h %Y"`" | head -n 1 | sed -E 's/Big Apple Hot Dogs/YES!/' | sed -E 's/eat.st.+/No :\(/' |
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
| R Enter Insert mode, replacing characters rather than inserting | |
| <C-o> Temporarily get out of Insert mode | |
| ~ Switch case of the character under the cursor and move the cursor to the right. If a [count] is given, do that many characters. | |
| ~{motion} switch case of {motion} text. | |
| {Visual}~ Switch case of highlighted text | |
| "- Last “small” delete | |
| ". Last inserted text | |
| "/ Last search |
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
| class User | |
| has_many :jobs | |
| end | |
| it 'has a job' do | |
| user.should have(1).job | |
| end |
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
| $ sleep 1500 && growlnotify -s -m 'Time is up!' && say 'Time is up' |