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
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
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
# 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 |
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
screencapture -ow ~/Documents/<subdirectory>/<name-of-the-file>.jpg | |
# -o in window capture mode, do not capture the shadow of the window | |
# -w only allow window selection mode |
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
# read the current settings | |
defaults read com.apple.iCal 'RecentlyUsedTimeZones' | |
#set new defaults | |
defaults write com.apple.iCal 'RecentlyUsedTimeZones' '("America/New_York", "Europe/Budapest", "Europe/London")' |
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) |
OlderNewer