Skip to content

Instantly share code, notes, and snippets.

test
@catgofire
catgofire / test.rb
Created July 22, 2008 18:26 — forked from gustin/test.rb
test
tset
sfsadfsdafasdas
df
sadfasdfsafasdf

README

dotfiles

Created by Mark Eli Kalderon 2008-07-22

#Introduction

Directory of configuration files.

@khalid-zz
khalid-zz / gist:1197
Created July 22, 2008 18:44
undefined
test
code me!
@khalid-zz
khalid-zz / gist:1199
Created July 22, 2008 18:47
name_this_file?
I wrote some ruby code to spam twitter. Gotta share that tonight.
I also have code to harness emails off Craigslist, anyone interested?
I would love a follow, or email and I'll post it up.
" reference
" http://subtech.g.hatena.ne.jp/cho45/20061010/1160459376
" http://vim.wikia.com/wiki/Mac_OS_X_clipboard_sharing
"
" need 'set enc=utf-8' and
" below shell environment variable for UTF-8 characters
" export __CF_USER_TEXT_ENCODING='0x1F5:0x08000100:14'
"
" Vim(Mac)
if has('mac') && !has('gui')
# Count to 100 in Ruby. Use IRB to execute it. Contact for help.
(1..100).each do |x| p x end
@vangberg
vangberg / gistie.rb
Created July 22, 2008 19:38 — forked from pieter/gistie.rb
gistie
#!/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'
GIST_LOGIN_URL = 'https://gist.github.com/session'
USERNAME = "pieter"
PASSWORD = "xxxx"
lambda {|...| block} # => Proc object checks argument count
Proc.new {|...| block} # => Proc object does not check argument count