Discover gists
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
print "Hello" |
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
just a test |
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 | |
# Made by Pieter de Bie <frimmirf@gmail.com> | |
# Based on a "Pastie" task by someone | |
require "tempfile" | |
GIST_URL = 'http://gist.github.com/gists' | |
if ARGV.include? "-p" | |
text = `pbpaste` |
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
BARARO O QUE BARBARIDAD.. | |
ENGLISH.espanol.. | |
dodo.data,git,wtf.. | |
notwextnotwextnotwextnotwextn | |
a ber que pex | |
con esta madre | |
ya |
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
aouoae |
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
test |
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
.floatleft{:style=>"width:200px;"} | |
-@contacts[0...(@contacts.per_page/2)].each_with_index do |contact, index| | |
=render :partial => "contact", :locals => {:contact => contact} | |
.floatright{:style=>"width:200px;"} | |
-@contacts[(@contacts.per_page/2)...@contacts.per_page].each_with_index do |contact, index| | |
=render :partial => "contact", :locals => {:contact => contact} | |
#pagination{:style=>"clear:both;"} | |
=will_paginate |
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
.floatleft{:style=>"width:200px;"} | |
-@contacts[0...(@contacts.per_page/2)].each_with_index do |contact, index| | |
=render :partial => "contact", :locals => {:contact => contact} | |
.floatright{:style=>"width:200px;"} | |
-@contacts[(@contacts.per_page/2)...@contacts.per_page].each_with_index do |contact, index| | |
=render :partial => "contact", :locals => {:contact => contact} | |
#pagination{:style=>"clear:both;"} | |
=will_paginate |