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
# previous one line version | |
# PS1='\[\e[44;36m\][\u@\h \w] $\[\e[0m\] ' | |
color_blue="\[\e[44;36m\]" | |
path_short="\w" | |
color_reset="\[\e[0m\]" | |
new_line="\n" | |
PS1="$color_blue$path_short$color_reset$new_line[\u@\h] $ " |
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
cat /Library/Preferences/Parallels/parallels_dhcp_leases |
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
net.ipv6.conf.all.disable_ipv6 = 1 | |
net.ipv6.conf.default.disable_ipv6 = 1 | |
net.ipv6.conf.lo.disable_ipv6 = 1 | |
net.ipv6.conf.eth0.disable_ipv6 = 1 |
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
auto lo | |
iface lo inet loopback | |
# IPv4 address | |
iface eth0 inet static | |
address 192.168.xxx.xxx | |
netmask 255.255.255.0 | |
network 192.168.xxx.0 | |
broadcast 192.168.1.255 | |
gateway 192.168.xxx.1 |
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
defaults write com.apple.iPhoto PKFaceDetectionEnabled 0 | |
# then right click your PhotoLibrary in Finder (in your Pictures folder) and remove the following files: | |
# Faces.db (in Pictures/iPhoto Library/Database/apdb) | |
# Faces folder (in Pictures/iPhoto Library/Database) |
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
sudo echo "deb http://ftp.dk.debian.org/debian wheezy-backports main contrib" >> /etc/apt/sources.list | |
sudo apt-get update | |
sudo aptitude -t wheezy-backports install pepperflashplugin-nonfree |
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
curl -O -L https://dl.bintray.com/mitchellh/packer/packer_0.7.5_darwin_amd64.zip | |
unzip packer_0.7.5_darwin_amd64.zip | |
sudo mv packer_0.7 /usr/local/packer | |
sudo chown $USER /usr/local/packer/ | |
# then update your .bash_profile with the new path e.g.: | |
# export PATH="/usr/local/git/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/local/packer:$PATH" |
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
# settings for the main prompt | |
BLUE="\[\e[44;36m\]" | |
PATH_SHORT="\w" | |
COLOR_RESET="\[\e[0m\]" | |
NEW_LINE="\n" | |
# RAG colors indicating git status | |
RED="\[\033[0;31m\]" | |
AMBER="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" |
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
Open 'System Preferences' | |
Select 'Keyboard' | |
Select tab 'Shortcuts' | |
Select 'App Shortcuts' from the left listbox | |
Click '+' below right listbox | |
Select 'All Applications' for 'Application' input box | |
Type 'Paste and Match Style' into the 'Menu Title' input box |
OlderNewer