most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| require 'net/ftp' | |
| CONTENT_SERVER_DOMAIN_NAME = "one-of-the-ftp-server.thought-sauce.com.hk" | |
| CONTENT_SERVER_FTP_LOGIN = "saucy-ftp-server-login" | |
| CONTENT_SERVER_FTP_PASSWORD = "saucy-ftp-server-password" | |
| # LOGIN and LIST available files at default home directory | |
| Net::FTP.open(CONTENT_SERVER_DOMAIN_NAME, CONTENT_SERVER_FTP_LOGIN, CONTENT_SERVER_FTP_PASSWORD) do |ftp| | |
| files = ftp.list | 
| // ==UserScript== | |
| // @name Use Markdown, sometimes, in your HTML. | |
| // @author Paul Irish <http://paulirish.com/> | |
| // @link http://git.io/data-markdown | |
| // @match * | |
| // ==/UserScript== | |
| // If you're not using this as a userscript just delete from this line up. It's cool, homey. | 
| Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
| ([一-龯]) | |
| Regex for matching Hirgana or Katakana | |
| ([ぁ-んァ-ン]) | |
| Regex for matching Non-Hirgana or Non-Katakana | |
| ([^ぁ-んァ-ン]) | |
| Regex for matching Hirgana or Katakana or basic punctuation (、。’) | 
| require "rubygems" | |
| require "json" | |
| require "net/http" | |
| require "uri" | |
| uri = URI.parse("http://api.sejmometr.pl/posiedzenia/BZfWZ/projekty") | |
| http = Net::HTTP.new(uri.host, uri.port) | |
| request = Net::HTTP::Get.new(uri.request_uri) | 
| #!/usr/bin/env ruby | |
| # An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's | |
| # HTTP implementation. | |
| # | |
| # Author: Jon Maken | |
| # License: 3-clause BSD | |
| # Revision: 2012-03-25 23:01:19 -0600 | |
| require 'net/http' | |
| require 'net/https' if RUBY_VERSION < '1.9' | 
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| $ brew uninstall postgresql | |
| $ gem uninstall pg # ALL OF THEM | |
| $ rm -fr /usr/local/var/postgres | |
| $ launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
| $ pg_ctl -D /usr/local/var/postgres stop -s -m fast # WE SHOULD HAVE ALL postgres SERVERS & PROCESSES STOPPED BY NOW | |
| $ brew install postgres | |
| $ env ARCHFLAGS="-arch x86_64" gem install pg | |
| $ echo "DONE." >> /dev/null | |