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
| source :rubygems | |
| gem "sinatra" |
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
| #!/home/danielpcox/.rvm/rubies/ruby-1.9.3-p0/bin/ruby | |
| # ############# The Washington Post Downloader ############# | |
| # | |
| # Downloads and merges the day's Epaper into three sections. Ignores the Sports section. | |
| # (requires pdftk, wget, and the nokogiri gem) | |
| require 'open-uri' | |
| require 'nokogiri' |
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
| #!/usr/bin/env ruby | |
| # | |
| require "dbus" | |
| session_bus = DBus::SessionBus.instance | |
| # Get the Pidgin Service | |
| pidgin_dbus = session_bus.service("im.pidgin.purple.PurpleService") | |
| # Get the object from this service |
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
| 1. e4 c6 | |
| 2. Bc4 d5 | |
| 3. Bd3 e5 | |
| 4. Nf3 Bg4 | |
| 5. Nc3 Nd7 | |
| 6. exd5 Bb4 | |
| 7. Qe2 c5 | |
| 8. Nb5 h5 | |
| 9. a3 h4 | |
| 10. axb4 f6 |
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
| Testing again |
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
| Testing, testing, 1, 2, 3... |
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
| <!-- defining a tag --> | |
| <def tag="messages"> | |
| <br /><br /> | |
| <ul> | |
| <li param="msg1">Message 1</li> | |
| <li param="msg2">Message 2</li> | |
| <li param="msg3">Message 3</li> | |
| </ul> | |
| </def> |
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
| #!/home/danielpcox/.rvm/rubies/ruby-1.9.2-p180/bin/ruby | |
| require 'active_record' | |
| require './ticket' | |
| require './extra' | |
| require './show_info' | |
| require 'gruff' | |
| conn_params = { |
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
| <!-- app/views/items/_items.html.erb --> | |
| <ul> | |
| <% items.each do |item| %> | |
| <li><%= item.name %></li> | |
| <% end %> | |
| </ul> | |
| <%= ajax_will_paginate items, :update => 'my_items_list' %> |
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
| alias g='gvim --remote-silent' | |
| alias fri='ri' | |
| alias lh='ls --color=always -lasth | less -R' | |
| alias be='bundle exec' | |
| alias gr='grep -r --color' | |
| alias rm='gvfs-trash' |