$ sudo install -o redis -g redis -d /var/lib/redis2
$ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf
| #!/bin/bash | |
| # To run this script you need to give execute permission. | |
| # $chmod +x restart_bluetooth.sh; | |
| # If you want only to restart: | |
| # $ ./restart_bluetooth.sh; | |
| # If you want to turn bluetooth on; | |
| # $ ./restart_bluetooth.sh 1; | |
| # If you want to turn bluetooth off; | |
| # $ ./restart_bluetooth.sh 0; |
| #!/bin/bash | |
| # Author Francisc Balint - fib.im | |
| numArg=$# | |
| clear | |
| if [ $numArg -ne 2 ]; then | |
| echo "You entered too many or too little arguments when expected 2" | |
| echo "you supplied only $numArg" | |
| echo "Usage: compile.sh <input.asm> <program_name>" | |
| exit | |
| else |
| # Packages # | |
| ############ | |
| # it's better to unpack these files and commit the raw source | |
| # git has its own built in compression methods | |
| *.7z | |
| *.dmg | |
| *.gz | |
| *.iso | |
| *.jar | |
| *.rar |
| *.class | |
| # Mobile Tools for Java (J2ME) | |
| .mtj.tmp/ | |
| # Package Files # | |
| *.jar | |
| *.war | |
| *.ear |
| { | |
| "cmd": [ | |
| "clang", | |
| "-ggdb3", | |
| "-O0", | |
| "-std=c99", | |
| "-Wall", | |
| "-Werror", | |
| "$file", | |
| "-lcs50", |
| alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' | |
| alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
| alias subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl' | |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration |
| { | |
| "user": { | |
| "debug": true, | |
| "delay": 1, | |
| "error_color": "D02000", | |
| "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", | |
| "gutter_theme_excludes": [], | |
| "lint_mode": "background", | |
| "linters": { | |
| "php": { |