Skip to content

Instantly share code, notes, and snippets.

Carlos León mongrelion

Block or report user

Report or block mongrelion

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jbenet
jbenet / simple-git-branching-model.md
Last active Mar 31, 2020
a simple git branching model
View simple-git-branching-model.md

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@dcu
dcu / tunnel
Created Jul 28, 2012
ssh reverse tunneling for rails/padrino
View tunnel
#!/usr/bin/env ruby
require 'net/ssh'
require 'yaml'
=begin
To make this work just add "GatewayPorts yes" to /etc/sshd_config in your server
Also, make sure that config['remote_port'] is open in your server.
the config file (config/tunnel.yml) looks like this:
@piksel
piksel / raspi-motd.sh
Created Jun 30, 2012
Script for setting a nice raspberry pi logo as MOTD on debian.
View raspi-motd.sh
#!/bin/bash
logo="$(tput setaf 2)
.~~. .~~.
'. \ ' ' / .'$(tput setaf 1)
.~ .~~~..~. $(tput sgr0) _ _ $(tput setaf 1)
: .~.'~'.~. : $(tput sgr0) ___ ___ ___ ___| |_ ___ ___ ___ _ _ ___|_|$(tput setaf 1)
~ ( ) ( ) ~ $(tput sgr0) | _| .'|_ -| . | . | -_| _| _| | | | . | |$(tput setaf 1)
( : '~'.~.'~' : ) $(tput sgr0) |_| |__,|___| _|___|___|_| |_| |_ | | _|_|$(tput setaf 1)
~ .~ ( ) ~. ~ $(tput sgr0) |_| |___| |_| $(tput setaf 1)
You can’t perform that action at this time.