This file contains hidden or 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
| MAILDIR=/home/vando/spool/mail | |
| DEFAULT=/home/vando/spool/mail/inbox/ | |
| :0 | |
| * ^X-Trac-Version | |
| { | |
| :0B: | |
| * \* status.*(accepted|closed) | |
| /dev/null | |
This file contains hidden or 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
| ssh() | |
| { | |
| if [ -z "$SSH_AUTH_SOCK" ] | |
| then | |
| eval `/usr/bin/ssh-agent` | |
| elif [ "$SSH_AUTH_SOCK" != "`echo /tmp/ssh-*/agent.*`" ] | |
| then | |
| export SSH_AUTH_SOCK=`echo /tmp/ssh-*/agent.*` | |
| fi | |
This file contains hidden or 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
| #!/bin/bash | |
| MAILDIR=/home/vando/.getmail | |
| MAILNAM="account0 account1 account2" | |
| GETMAIL=`whereis getmail` | |
| if [ -z "`pgrep -f ${GETMAIL}`" ] | |
| then | |
| for NAM in ${MAILNAM} | |
| do |
This file contains hidden or 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
| #!/bin/sh | |
| # | |
| # /etc/pm/sleep.d/30_process | |
| # Action script to kill process before suspend. | |
| PROCESS="ssh getmail" | |
| PATH=/usr/bin | |
| case ${1} in | |
| suspend|hibernate) |
This file contains hidden or 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
| > nmap -sV MYIP | sed -n '/PORT/,$p' | |
| PORT STATE SERVICE VERSION | |
| 25/tcp filtered smtp | |
| 135/tcp filtered msrpc | |
| 139/tcp filtered netbios-ssn | |
| 445/tcp filtered microsoft-ds | |
| 1080/tcp filtered socks | |
| 1720/tcp filtered H.323/Q.931 | |
| 3128/tcp filtered squid-http |
This file contains hidden or 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
| echo "install psmouse proto=imps" > /etc/modprobe.d/touchpad | |
| rmmod psmouse | |
| modprobe psmouse proto=imps |
This file contains hidden or 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
| $> wget -qO - http://distfiles.gentoo.org/distfiles/dina-pcf-2.89.tar.gz | tar ztf - | |
| Dina-PCF/ | |
| Dina-PCF/DinaBold10.pcf | |
| Dina-PCF/DinaBold8.pcf | |
| Dina-PCF/DinaBold9.pcf | |
| Dina-PCF/DinaBoldItalic10.pcf | |
| Dina-PCF/DinaBoldItalic8.pcf | |
| Dina-PCF/DinaBoldItalic9.pcf | |
| Dina-PCF/DinaItalic10.pcf | |
| Dina-PCF/DinaItalic8.pcf |
This file contains hidden or 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
| # libesmtp | |
| # with "--enable-debug=yes" you can use "-X /tmp/esmtp" option | |
| ftp -4 http://www.stafford.uklinux.net/libesmtp/libesmtp-1.0.6.tar.gz | |
| tar zxf libesmtp-1.0.6.tar.gz && cd libesmtp-1.0.6 | |
| ./configure --prefix=/usr/local --enable-debug=yes | |
| make && make install | |
| # esmtp | |
| ftp -4 ftp://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/esmtp-1.2.tar.bz2 | |
| tar jxf esmtp-1.2.tar.bz2 && cd esmtp-1.2 |
This file contains hidden or 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
| # I really hate vifm 0.7.x, I still using vifm 0.5 | |
| VI_COMMAND=jed | |
| USE_TRASH=0 | |
| USE_ONE_WINDOW=1 | |
| USE_SCREEN=0 | |
| LEFT_WINDOW_SORT_TYPE=1 | |
| RIGHT_WINDOW_SORT_TYPE=1 | |
| LWIN_FILTER=\.o$ | |
| LWIN_INVERT=1 | |
| RWIN_FILTER=\.o$ |
This file contains hidden or 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
| apt-get install --no-install-recommends -y hdparm lshw | |
| hdparm -I /dev/sda | sed -n '/Number/p;/size.*GB/p' | |
| lshw -class disk -class storage |
OlderNewer