This file contains hidden or 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
| benchmark: false | |
| verbose: true | |
| update_sources: false | |
| sources: | |
| - http://gemcutter.org | |
| - http://gems.rubyforge.org/ | |
| - http://gems.github.com | |
| backtrace: false | |
| bulk_threshold: 1000 | |
| gem: --prerelease --no-rdoc --no-ri --env-shebang |
This file contains hidden or 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
| `traceroute -m 2 134.169.9.150 | sed -n "2p" | grep -o "\(.*\)"`.strip.delete "()" |
This file contains hidden or 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
| -module(uri). | |
| -compile(export_all). | |
| decode(Uri) when is_binary(Uri) -> | |
| decode(binary_to_list(Uri)); | |
| decode(Uri) -> | |
| mochiweb_util:unquote(Uri). | |
| encode(Uri) when is_binary(Uri) -> | |
| encode(binary_to_list(Uri)); |
This file contains hidden or 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/local/bin/ruby | |
| require 'tempfile' | |
| require 'rest_client' | |
| require 'thor' | |
| require 'json' | |
| class CouchIO < Thor | |
| map "-s" => :shorten | |
| map "-l" => :shorts | |
| desc "shorten TARGET", "Shortens the passed URL" |
This file contains hidden or 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
| { | |
| "name" : "gist", | |
| "version" : "3.2", | |
| "author" : "Yasuhiro Matsumoto <[email protected]>", | |
| "maintainer" : "Lennart Melzer <[email protected]>", | |
| "url" : "http://www.vim.org/scripts/download_script.php?src_id=12283", | |
| "vim_version" : "7.0", | |
| "vim_script_nr" : 2423, | |
| "scipt-type" : "utility", | |
| "archive_name" : "gist.vim" |
This file contains hidden or 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
| server { | |
| listen 80; | |
| server_name <%= host_name %>; | |
| #charset koi8-r; | |
| #access_log logs/host.access.log main; | |
| location / { | |
| limit_except GET { |
This file contains hidden or 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
| server { | |
| listen 80; | |
| server_name <%= host_name %>; | |
| #charset koi8-r; | |
| #access_log logs/host.access.log main; | |
| location / { | |
| limit_except GET { |
This file contains hidden or 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
| server { | |
| listen 80; | |
| server_name <%= host_name %>; | |
| #charset koi8-r; | |
| #access_log logs/host.access.log main; | |
| location / { | |
| limit_except GET { |
This file contains hidden or 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 'erb'; | |
| File.open(ARGV[0], "w") do |f| | |
| f.write ERB.new(File.read(ARGV[1] || 'nginx-io.conf.erb')).result(binding) | |
| end | |
| # vim:filetype=ruby |