Jester
House of octocat

octocat's hand

The top 8 gists by star count
A
.gitignore3501

Some common .gitignore configurations

# Compiled source #
###################
class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">*.com
class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">*.class
class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">*.dll
class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">*.exe
class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">*.o
class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
A
K
git-author-rewrite.sh250
#!/bin/sh

git filter-branch --env-filter '

OLD_EMAIL=class="_tkStr_1klyn_166">"your-old-email@example.com"
CORRECT_NAME=class="_tkStr_1klyn_166">"Your Correct Name"
CORRECT_EMAIL=class="_tkStr_1klyn_166">"your-correct-email@example.com"

if [ class="_tkStr_1klyn_166">"$GIT_COMMITTER_EMAIL" = class="_tkStr_1klyn_166">"$OLD_EMAIL" ]
then
    export GIT_COMMITTER_NAME=class="_tkStr_1klyn_166">"$CORRECT_NAME"
    export GIT_COMMITTER_EMAIL=class="_tkStr_1klyn_166">"$CORRECT_EMAIL"
K
Q
hello_world.rb24

Hello world!

class HelloWorld
   def initialize(name)
      @name = name.capitalize
   end
   def sayHi
      puts class="_tkStr_1klyn_166">"Hello #{@name}!"
   end
end

hello = HelloWorld.new(class="_tkStr_1klyn_166">"World")
hello.sayHi
Q
J
ssh_key_add.sh23
# Note: ~/.ssh/environment should not be used, as it
#       already has a different purpose in SSH.

env=~/.ssh/agent.env

# Note: Donclass="_tkStr_1klyn_166">'t bother checking SSH_AGENT_PID. It's not used
#       by SSH itself, and it might even be incorrect
#       (for example, when using agent-forwarding over SSH).

agent_is_running() {
    if [ class="_tkStr_1klyn_166">"$SSH_AUTH_SOCK" ]; then
        # ssh-add returns:
J
10
test.cs9

{
    #region Adornment Factory
    class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">/// <summary>
    class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">/// Establishes an <see cref=class="_tkStr_1klyn_166">"IAdornmentLayer"/> to place the adornment on and exports the <see cref=class="_tkStr_1klyn_166">"IWpfTextViewCreationListener"/>
    class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">/// that instantiates the adornment on the event of a <see cref=class="_tkStr_1klyn_166">"IWpfTextView"/>'s creation
    class=class="_tkStr_1klyn_166">"_tkCom_1klyn_170">/// </summary>
10
9
test.cs4
require(class="_tkStr_1klyn_166">"./rx");
var child_process = require(class="_tkStr_1klyn_166">"child_process");
for (var k in child_process) {
    exports[k] = child_process[k];
}
exports.exec = function (command, options) {
    var subject = new Rx.AsyncSubject();
    var handler = function (err, stdout, stderr) {
        if (err !== null) {
            subject.OnError(err);
        } else {
            subject.OnNext({ stdout: stdout, stderr: stderr });
9
8
test.cs3
Module Module1

    Sub Main()
        class="_tkStr_1klyn_166">"There it is"
    End Sub

End Module
8
7
test.cs2
require(class="_tkStr_1klyn_166">"./rx");
var fs = require(class="_tkStr_1klyn_166">"fs");
for(var k in fs) {
    exports[k] = fs[k];
}
exports.rename = function(path1, path2) {
    var subject = new Rx.AsyncSubject();
    var handler = function(err) {
        if (err)
        {
            subject.OnError(err);
        } else {
7