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
# config/locales/en.yml | |
en: | |
i18n: | |
language: | |
name: 'English' |
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
# rbenv | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
source ~/.rbenv/completions/rbenv.bash | |
# prompt with ruby version | |
# rbenv version | sed -e 's/ .*//' | |
__rbenv_ps1 () | |
{ | |
rbenv_ruby_version=`rbenv version | sed -e 's/ .*//'` |
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 | |
require "zlib" | |
fp = File.open(ARGV.shift, "r:binary") | |
Marshal.load(fp.read).each.with_index do |cont, index| | |
id, name, code = cont | |
code = Zlib::Inflate.inflate(code).force_encoding("utf-8") | |
puts "#"*79 if 0 < index | |
printf "[%s] (%d)\n%s", name, id, code |
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
source :rubygems | |
gem 'sinatra' | |
gem 'json' | |
gem 'omniauth' | |
gem 'omniauth-oauth2' | |
gem 'omniauth-github' | |
gem 'omniauth-facebook' | |
gem 'omniauth-twitter' | |
# gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__) |
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
# Apply to Shopify API # | |
Interested in working at Shopify? Don't use that form, you're a | |
developer and can clearly do better than that! | |
Instead you can apply to Shopify via our applicant API. Of course, | |
for the extra effort you will be given a higher priority than those | |
who simply apply via the webform. | |
# How? # |
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
Quick English translation of http://www.youtube.com/watch?v=ElYwUY60UYw | |
Goddamnthecunt! | |
When I was told | |
that Santa Claus does not really exist, | |
something snapped in my head. | |
Man I got so angry. | |
I started smoking heavy tobacco | |
and became a Satanist. |
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
sudo apt-get install subversion | |
sudo apt-get build-dep openmsx | |
mkdir ~/bin | |
echo '#!/bin/bash' > ~/bin/update_openmsx | |
echo '[ ! -d ~/openmsx ] && cd ~/ && svn co https://openmsx.svn.sourceforge.net/svnroot/openmsx/openmsx/trunk openMSX' >> ~/bin/update_openmsx | |
echo "cd ~/openMSX && svn up && ./configure && make && sudo make install" >> ~/bin/update_openmsx && chmod +x ~/bin/update_openmsx | |
~/bin/update_openmsx |
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 | |
#encoding: utf-8 | |
msgs = [ | |
"[1-7] Porto Mojada: Foxtrot Tango [Work your alphabets]", | |
"[SOLVED: TATTOO] [1-9] Topless Beach: Boxstep [Gathering Data. Keyword: Boxing]", | |
"[SOLVED: SYLVESTER] [2-2] Video Store: Harold's Puzzle" | |
] | |
regexp = /(\[SOLVED: (?<solution>.+?)\] )?\[(?<num1>\d+)(-(?<num2>\d+))?\] (?<title>.+?)( \[(?<hint>.+?)\])?\z/ | |
msgs.each{|msg| puts msg.match(regexp).inspect} |
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
/* Put the href of all anchors after each link. Useful for print stylesheets. */ | |
a:after {content: attr(href);} | |
/* Get a scrollbar on the left side */ | |
#nav {max-height:150px; width: 100%; overflow: auto; direction: rtl;} | |
#nav * {direction: ltr} | |
/* Nicer looking blockquotes */ | |
blockquote {margin-left: 1em;margin-bottom: 1em; border: 1px solid #666; max-width: 800px;} | |
/* Including nicer quotation marks */ |
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
app1.chatmosphere.org has address 69.41.179.202 | |
app2.chatmosphere.org has address 69.41.179.203 | |
app3.chatmosphere.org has address 69.41.179.204 | |
app4.chatmosphere.org has address 69.41.179.205 | |
app5.chatmosphere.org has address 69.41.179.206 | |
app6.chatmosphere.org has address 69.41.165.98 | |
app7.chatmosphere.org has address 69.41.165.99 | |
app8.chatmosphere.org has address 69.41.165.100 | |
app9.chatmosphere.org has address 69.41.165.101 | |
app10.chatmosphere.org has address 69.41.165.102 |
OlderNewer