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] | |
character_set_server=utf8 | |
collation_server=utf8_unicode_ci | |
skip_character_set_client_handshake | |
default_table_type=innodb | |
transaction-isolation=READ-COMMITTED | |
innodb_file_per_table | |
local_infile=0 |
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 | |
## configure these | |
gh_pass = '*github_api_token*' | |
gh_user = '*github_username*' | |
ssh_key = ARGV.shift | |
require "rubygems" | |
require "yaml" |
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
File.open( php_session_file_name, File::WRONLY|File::CREAT ) do |io| | |
io.flock File::LOCK_EX | |
io.truncate(0) | |
io.print prepared_session.to_wddx | |
end |
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
huntMen : function(buffy) { | |
var soulmates = []; | |
while (soulmates.length < 10) { | |
// Get 10 candidates for Buffy | |
getMatches( buffy, 10, function(userids) { | |
for (var i = 0; i < userids.length; i++) { |
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
get '/': -> | |
render 'index.jade', layout: 'layout.coffee' | |
view layout: -> | |
html -> | |
head -> | |
...etc... | |
view 'index.jade': """ | |
p Blah |
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
green = #80B280 | |
matrixgreen = #C6DABF | |
matrixyellow = #E6E680 | |
borderdiff = 30 | |
@import "mixins/border-radius" | |
body |
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
####################################################################################################################################################################################### st (183) | |
######################################################################################################### l (105) | |
#################################################################### ci (68) | |
####################################################### add (55) | |
###################################################### co (54) | |
################################################## push (50) | |
######################################## down (40) | |
##################################### la (37) | |
################################### show (35) | |
################################# d (33) |
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
--- Portfile.orig 2011-05-04 12:40:45.000000000 -0700 | |
+++ Portfile 2011-05-04 12:40:53.000000000 -0700 | |
@@ -84,6 +84,7 @@ | |
--with-mhash=${prefix} \ | |
--with-pcre-regex=${prefix} \ | |
--with-readline=${prefix} \ | |
+ --with-libexpat-dir=${prefix} \ | |
--with-libxml-dir=${prefix} \ | |
--with-zlib=${prefix} \ | |
--without-pear \ |
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
function! Make_vimsession() | |
execute("mksession! " . g:vimsession) | |
endfunction | |
command! SS call Make_vimsession() | |
function! Set_vimsession() | |
let cwd = getcwd() | |
while ! ( isdirectory( cwd . "/.git" ) || cwd == "/" ) | |
let cwd = simplify( cwd . "/.." ) |
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
require('zappa') -> | |
@enable 'serve jquery' | |
@get '/:foo/:bar?': -> | |
"Foobar" |