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
#!/usr/bin/ruby | |
class SortMe | |
attr :foo | |
attr :bar | |
def initialize(foo, bar) | |
@foo = foo | |
@bar = bar | |
end |
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
require 'nokogiri' | |
require 'open-uri' | |
doc = Nokogiri::HTML(open('http://pizza.de/order/world-of-pizza/02/framek030.htm')) | |
menu = doc.xpath('//td[@id="framek"]//div[2]/div/div[1]/div[1]/b').to_a | |
puts "# Our Menu:\n * #{menu * ", \n * "}" | |
puts | |
puts "I'd recommend *#{menu.sample.content}*." |
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
bindkey '∫' emacs-backward-word | |
bindkey 'ƒ' emacs-forward-word |
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
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
# Movement | |
bindkey '^P' zsh-history-substring-search-backward | |
bindkey '^N' zsh-history-substring-search-forward | |
bindkey '∫' emacs-backward-word | |
bindkey '' backward-char | |
bindkey 'ƒ' emacs-forward-word | |
bindkey '^F' forward-char | |
bindkey '^E' end-of-line |
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
$('#header .logo') | |
.css('display', 'none'); | |
$('#header') | |
.css('height', '65px'); | |
$('#header .userbox') | |
.css('float', 'left'); | |
$('#header div.topsearch') |
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
bascht@baschtmobil [12:28:09] [/tmp/test] | |
-> % echo "Alter Text" > test1.txt ? | |
bascht@baschtmobil [12:28:12] [/tmp/test] | |
-> % echo "Alter Text" > test2.txt ? | |
bascht@baschtmobil [12:28:16] [/tmp/test] | |
-> % zip test.txt.zip test*.txt ? | |
adding: test1.txt (stored 0%) | |
adding: test2.txt (stored 0%) | |
bascht@baschtmobil [12:28:18] [/tmp/test] | |
-> % rm test2.txt ? |
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
#!/usr/bin/env ruby | |
git_bundles = [ | |
"git://github.com/shemerey/vim-peepopen.git", | |
"git://github.com/astashov/vim-ruby-debugger.git", | |
"git://github.com/bascht/vim-snipmate.git", | |
"git://github.com/tomtom/tlib_vim.git", | |
"git://github.com/MarcWeber/vim-addon-mw-utils.git", | |
"git://github.com/scrooloose/nerdtree.git", | |
"git://github.com/timcharper/textile.vim.git", |
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
…he does his own show ten hours a day | |
Plays poems and listens let's feelings run free | |
helps people talk their pain away | |
So if your world falls down can't see the light of day | |
Call this guy. Call the station today | |
This is radio @marcshark listen and cry | |
to all the others that suffer and die | |
this is radio @marcshark listen and cry |
OlderNewer