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 rc | |
. $PLAN9/lib/acme.rc | |
newwindow | |
st=$status | |
terminal=dumb | |
shell=rc | |
if (~ $st 1) { | |
acme -f /mnt/font/Menlo-Regular/13a/font $* & |
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
set gfn=Menlo:h13 | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set linebreak | |
set wrap | |
set noswapfile | |
map ё ` |
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
Pod::Spec.new do |s| | |
s.name = 'MKNetworkKit' | |
s.version = '0.83' | |
s.summary = 'Full ARC based Networking Kit for iOS 4+ devices.' | |
s.homepage = 'https://github.com/MugunthKumar/MKNetworkKit' | |
s.author = { 'MugunthKumar' => 'mknetworkkit@mk.sg' } | |
s.source = { :git => 'https://github.com/semka/MKNetworkKit.git' } | |
files = FileList['MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'] | |
s.ios.source_files = files.dup.exclude(/NSAlert/) |
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
Status Code: 200 OK | |
Content-Length: 15 | |
Content-Type: text/json | |
Date: Tue, 12 Jun 2012 15:45:58 GMT | |
Server: Zinc HTTP Components 1.0 | |
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
testMethod | |
<get> | |
<path: '/list'> | |
<produces: 'text/json'> | |
^'{ok : "OK"}' |
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 | |
unless (/(refs|closes|fixes).+#\d+/ =~ File.open(ARGV[0]).read).nil? | |
exit 0 | |
else | |
puts "Commit message is not issue related, you bastard!" | |
exit 1 | |
end |
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
.jtalkTool .CodeMirror { | |
font-family: 'Verdana', sans-serif !important; | |
font-size: 15px !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
require 'formula' | |
def build_java?; ARGV.include? "--java"; end | |
def build_perl?; ARGV.include? "--perl"; end | |
def build_python?; ARGV.include? "--python"; end | |
def build_ruby?; ARGV.include? "--ruby"; end | |
class Subversion < Formula | |
homepage 'http://subversion.apache.org/' | |
url 'ftp://apache.rinet.ru/pub/mirror/apache.org/dist/subversion/subversion-1.7.3.tar.bz2' |
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 | |
# Very simple and dirty json CLI query tool | |
require 'rubygems' | |
require 'json' | |
def numeric?(s) | |
Float(s) rescue false | |
end |
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
function(newDoc, oldDoc, userCtx) { | |
if (userCtx.name != "admin") { | |
throw({forbidden : 'Нет пути!'}); | |
} | |
} |