Skip to content

Instantly share code, notes, and snippets.

View pedrocifuentes's full-sized avatar

Pedro Cifuentes pedrocifuentes

View GitHub Profile
@mv
mv / aws.sh
Created November 30, 2012 19:04
AWS Command Line Tools: using MacOS and brew
#!/bin/bash
#
# using ec2 tools
#
# Marcus Vinicius Fereira ferreira.mv[ at ].gmail.com
# 2011-11
###
### programs
@nicolas-brousse
nicolas-brousse / convert_svn_to_git.sh
Last active September 28, 2015 03:07
Convert svn repository to Git repository
#! /bin/sh
#
# Convert svn repository to Git repository
# Author: Nicolas Brousse <nicolas@opsone.net>
# Date: 2013-10-02 17:28:01 UTC
#
# Thanks to: http://www.mabishu.com/blog/2011/01/13/migrate-subversion-repository-to-git-without-loosing-data/
#
set -e
@olivierlacan
olivierlacan / launch_sublime_from_terminal.markdown
Created September 5, 2011 15:50
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@gonzalo123
gonzalo123 / gist:868939
Created March 14, 2011 09:31
push existing repository to github
cd existing_git_repo
git remote add origin git@github.com:[user]/[reponame].git
git push -u origin master