See also:
Keep in mind to explore:
.pub
file into pem
format – ssh-keygen -f rsa.pub -e -m pem
pidof <appname>
returns the pid of the application. useful for killing the app etc../opt/local/var/run/mysql5/mysqld.sock
. You will need this when using thirdy party SQL clients such as Seqel Propython_select
to select the default python that is used on your mac.sudo port clean --all <the offending package>
sudo port selfupdate
and sudo port upgrade outdated
.Edit ~/.bashrc
and add these lines:
JAVA_HOME=~/java export JAVA_HOME export PATH=~/java/bin:$PATH
activate changes with $source ~/.bashrc
DVD:
$ growisofs -dvd-compat -Z /dev/hdc=dvd.iso
CD: Find out the cd recording device using cdrecord -scanbus
$ $ cdrecord -scanbus
scsibus2:
2,0,0 200) 'HL-DT-ST' 'DVDRAM GH22NS50 ' 'TN01' Removable CD-ROM
Use cdrecord
to burn.
$ cdrecord -v -dao dev=2,0,0 speed=8 file.iso
Comment out domain-name-servers,
in /etc/dhcp/dhclient.conf
.
$ curl -s http://someurl/key.pgp | sudo apt-key add -
$ sudo apt-key list
$ sudo e2label /dev/sdg1 emdebian
Add these flags to ./configure
.
CFLAGS="-O -arch i386" CXXFLAGS="-O -arch i386" LDFLAGS="-arch i386"
man
docs$ man -t `man -w tmux` | ps2pdf - tmux.pdf
$ setxkbmap us
2014/11/25: swapped caps and left-ctrl. Put line below in /etc/default/keyboard
XKBOPTIONS="lv3:ralt_alt,compose:menu,ctrl:nocaps"
and run sudo dpkg-reconfigure keyboard-configuration
and confirm
changes to keep the changes you have made.
$ ps -Ao pid,rsz,args | grep <name>
Edit $IDEA/bin/idea.vmoptions
file and add these options:
-Dswing.aatext=true
-Dawt.useSystemAAFontSettings=lcd
The above options managed to get smooth font rendering on Ubuntu 12.10 using OpenJDK7.