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
[core] | |
editor = nano | |
pager = less | |
whitespace = trailing-space,space-before-tab,indent-with-non-tab | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto |
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
"\e[B": history-search-forward | |
"\e[A": history-search-backward |
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
<?php | |
// Guess the invalid PHP! | |
class Printer { | |
function __construct($num) { | |
$this->num = $num; | |
} | |
function printing($num = $this->num) |
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 'benchmark' | |
require 'rubygems' | |
require 'json' | |
require 'yaml' | |
include Benchmark | |
benchmark_iterations = 1 | |
large_single_dimension_array = [42, 123.123, :foobar] * 5000 | |
large_single_dimension_hash = {} | |
10000.times do |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
module Make (Loc : Sig.Loc) : Sig.Camlp4Token with module Loc = Loc; |
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
%h1 Prospects | |
- unless @prospects.empty? | |
%table | |
%tr | |
%th Organization | |
%th Location | |
%th Url | |
%th Org url | |
- for stage, prospects in @prospects_by_stage |
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
use 'http://github.com/bkudria/yql-tables/raw/dcf34a2d0be5b75b0a0d44bdb5d308f5f3a1f7f5/nyt/nyt.people.followers.xml' as followers; | |
select user_displayname from followers where apikey='your:api:key' and user-id='56039348' |
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
HASHSTRING=`hostname` | |
if [[ $DISTRO = "CentOS" ]]; then | |
HASHSTRING="`hostname -f`" | |
fi | |
HOSTCOLORCODE=$(hosts.rb -d $HASHSTRING) | |
HOSTCOLORESCAPE=$'%{\e[38;5;%}'$HOSTCOLORCODE$'%{m%}' |
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
class JavaClass { | |
int magicNumber; | |
public JavaClass (int inputNumber) { | |
magicNumber = inputNumber + 1; | |
} | |
} |
OlderNewer