This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HTTP = { | |
// SUCCESS | |
OK : 200, | |
CREATED : 201, | |
ACCEPTED : 202, | |
NO_CONTENT : 204, | |
// REDIRECTION | |
MOVED_PERMANENTLY : 301, | |
MOVED_TEMPORARY : 302, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
NewerOlder