(require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (add-to-list 'package-archives '("gnu" .
Remember, the fonts should be installed either into the systems fonts repository or into ~/.fonts directory !
This is my ~/.spectrwm.conf
Save your settings, and run commands like this to install a single set to your system:
# tar cvzp etc.tar.gz /etc
# tar zxvpf base.tgz -C / - do the same with other sets except for etc and xetc # etcupdate -av -s etc.tgz -s xetc.tgz
# postinstall fix
Then reboot to be on the safe side.
You have a machine (a master host) with several idividually installed packages. You want those packages to be rebuilt somewhere else (slave host). Do this:
1. On the master host #
pkg_info -Q PKGPATH -a > pkgs_i_want_to_have 2. Copy the generated file to the slave host, and issue as root:#
cat pkgs_i_want_to_have | (while read pp ; do cd /usr/pkgsrc/$pp ; make && make install ; done)
Simple enough, eh?
If you want to see all symbols in a binary file, try this:
$ objdump -t -C <binary file>
Look up in the manpage for details!
openssl s_client -starttls smtp -crlf -connect mail.mysite.com:25
Use this command to list all listening IPV4 ports with ip and port numbers:
$ netstat -anl -f inet
$ tail -f file | grep --line-buffered my_pattern