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
#!/bin/bash | |
COLOR_DEFAULT='\033[0m' | |
COLOR_SUCCESS='\033[0;32m' | |
COLOR_WARNING='\033[1;33m' | |
COLOR_ERROR='\033[0;31m' | |
ZERO_VALUES=($(seq 1 1 9)) # Array with values from 1 to 9 | |
# Include "0" value prefix in the first ten values 01, 02, ... | |
getPrefix () { | |
if [[ "${ZERO_VALUES[@]}" =~ "${1}" ]]; then |
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
# Symfony2 | |
app/bootstrap.php.cache | |
app/bootstrap_cache.php.cache | |
app/config/parameters.ini | |
app/config/parameters.yml | |
app/cache/* | |
app/logs/* | |
bin/* | |
build/* | |
vendor/* |
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
<!-- sass highlight comment config --> | |
<dict> | |
<key>match</key> | |
<string>((^\ \*)|(\/\*))(.*)$</string> | |
<key>name</key> | |
<string>comment.block.sass</string> | |
</dict> | |
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
# Linux terminal prompt colors (.bashrc) | |
PS1="\n\[$(tput bold)\]\[$(tput setaf 2)\]\u@\h \[$(tput setaf 3)\]\w\n\[$(tput setaf 7)\]\\$\[$(tput sgr0)\]" | |
# Mac, windows prompt colors | |
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' | |
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
[user] | |
name = user | |
email = [email protected] | |
[color] | |
ui = true | |
[color "status"] | |
added = cyan | |
untracked = yellow |