- htp://gibas.org/
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 | |
| DOMAIN="domain.example.com" | |
| openssl genrsa -des3 -out $DOMAIN-pass.key 2048 | |
| openssl rsa -in $DOMAIN-pass.key -out $DOMAIN.key | |
| openssl req -new -key $DOMAIN.key -x509 -out $DOMAIN.crt -days 3650 |
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 | |
| TABLE="DYNAMIC"; | |
| HOSTS="your-dynamic-domain.dyndns.org your-second-domain.dyndns.org"; | |
| for HOST in $HOSTS; do | |
| IP=`/usr/bin/host $HOST | cut -d " " -f 4` | |
| IPOLD=`/sbin/pfctl -t $TABLE -T show | grep -v "ALTQ" | tr -d " "` | |
| if [ "$IP" != "$IPOLD" ]; then |
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 | |
| for directory in `ls -d *`; do | |
| if [ -d $directory ]; then | |
| echo $directory | |
| svn upgrade $directory | |
| fi | |
| done |
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
| LANG="pl_PL.UTF-8"; export LANG | |
| LC_CTYPE="pl_PL.UTF-8"; export LC_CTYPE | |
| LC_COLLATE="POSIX"; export LC_COLLATE | |
| LC_ALL="pl_PL.UTF-8"; export LC_ALL |
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
| set autolist | |
| set prompt = "[%P] %m:%c02%# " | |
| set ellipsis | |
| set correct = cmd | |
| setenv LANG pl_PL.UTF-8 | |
| setenv LC_CTYPE pl_PL.UTF-8 | |
| setenv LC_COLLATE POSIX | |
| setenv LC_ALL pl_PL.UTF-8 |
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 | |
| # installation of compat libriaries | |
| cd /usr/ports/misc/compat6x && make WITHOUT_X11=YES install clean | |
| # mounting vmware-tools cdrom | |
| mount -t cd9660 /dev/cd0 /mnt/ | |
| cp /mnt/vmware-freebsd-tools.tar.gz /root/ | |
| cd /root/ |