Skip to content

Instantly share code, notes, and snippets.

View yllieth's full-sized avatar
🇨🇦

Sylvain RAGOT yllieth

🇨🇦
View GitHub Profile
# declare new submodule
~/projets/dashboard$ git submodule add git@github.com:PredicSis/ui.git app/styles/ui
# Install a project with a submodule already defined
~/projets$ git clone git@github.com:yllieth/dashboard.git
~/projets/dashboard$ git submodule init
~/projets/dashboard$ git submodule update
@yllieth
yllieth / http-status-codes.js
Last active August 29, 2015 14:01
List most used HTTP status codes
var HTTP = {
// SUCCESS
OK : 200,
CREATED : 201,
ACCEPTED : 202,
NO_CONTENT : 204,
// REDIRECTION
MOVED_PERMANENTLY : 301,
MOVED_TEMPORARY : 302,
@yllieth
yllieth / ps1.sh
Created April 17, 2014 15:36
Unix prompt (with git support)
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Customized from http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt
# Reset