🎭 Jester gist stars for octocat
A♦
.gitignore3401 stars

Some common .gitignore configurations

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
A♦
K♣
git-author-rewrite.sh248 stars

#!/bin/sh

git filter-branch --env-filter '

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

if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
    export GIT_COMMITTER_NAME="$CORRECT_NAME"
    export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
K♣
Q♥
hello_world.rb23 stars

Hello world!

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

hello = HelloWorld.new("World")
hello.sayHi
Q♥
J♠
ssh_key_add.sh21 stars

# Note: ~/.ssh/environment should not be used, as it
#       already has a different purpose in SSH.

env=~/.ssh/agent.env

# Note: Don'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 [ "$SSH_AUTH_SOCK" ]; then
        # ssh-add returns:
J♠
十♦
test.cs7 stars


{
    #region Adornment Factory
    /// <summary>
    /// Establishes an <see cref="IAdornmentLayer"/> to place the adornment on and exports the <see cref="IWpfTextViewCreationListener"/>
    /// that instantiates the adornment on the event of a <see cref="IWpfTextView"/>'s creation
    /// </summary>
十♦
9♣
test.cs3 stars

Module Module1

    Sub Main()
        "There it is"
    End Sub

End Module
9♣
8♥
test.cs3 stars

require("./rx");
var child_process = require("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 });
8♥
7♠
test.cs2 stars

require("./rx");
var fs = require("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♠