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 | |
# Original credits to Geet Duggal | |
# Concatenates an arbitrary number of files together into columns | |
# Columns map to lines in each file. | |
# Requirement: Files be of the same length. | |
# Oh, and cheers! | |
require "pp" | |
filez = ARGV.map do |fname| | |
begin |
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 'rubygems' | |
require 'open-uri' | |
require 'hpricot' | |
require 'rss/maker' | |
version = "2.0" | |
destination = ENV['HOME']+"/public_html/md_super_ads.xml" | |
content = RSS::Maker.make(version) do |m| | |
m.channel.title = "MD Super Ads Classifieds RSS" |
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 'rubygems' | |
require 'open-uri' | |
require 'hpricot' | |
require 'rss/maker' | |
version = "2.0" | |
destination = "mdshooters_classifieds.xml" | |
content = RSS::Maker.make(version) do |m| | |
m.channel.title = "MDShooters Classifieds RSS" |
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
Stranger: hey | |
Stranger: you know what | |
You: WHUT! | |
Stranger: its DARK outside | |
You: no wai | |
Stranger: aint that scary? | |
You: naa im tough | |
Stranger: you are :)? | |
You: like a steak | |
Stranger: wow |
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
.gist-meta { | |
font-family: Tahoma,Verdana,"Lucida Grande" !important; | |
background-color: #FFF !important; | |
} | |
.gist-data pre { | |
color: #222 !important; | |
} |
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
#include <stdio.h> | |
int main() { | |
printf("Look at me, look at me!\n"); | |
return 0; | |
} |
NewerOlder