Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| --- | |
| # resources | |
| project-sandbox: | |
| kind: gcloudproject | |
| cluster-sa: | |
| kind: serviceaccount | |
| spec: | |
| project: project-sandbox | |
| cluster-1: | |
| kind: gke |
| global | |
| log 127.0.0.1 local0 notice | |
| maxconn 50000 | |
| daemon | |
| stats socket /tmp/proxystats level admin | |
| defaults | |
| log global | |
| mode http | |
| option httplog | |
| option dontlognull |
| #!/bin/bash | |
| color=16; | |
| while [ $color -lt 245 ]; do | |
| echo -e "$color: \\033[38;5;${color}mhello\\033[48;5;${color}mworld\\033[0m" | |
| ((color++)); | |
| done |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| #!/bin/bash | |
| if [ $1 ] | |
| then | |
| echo Processing file $1; | |
| else | |
| for var in `find *.png`; | |
| do | |
| echo Processing file $var; | |
| sips -Z $(($(sips -g pixelWidth "$var" | cut -s -d ':' -f 2 | cut -c 2-) / 2)) "$var" --out "resized_$var" &> /dev/null |
| #!/bin/bash | |
| # ---------------------------------------------------------------------- | |
| # mikes handy rotating-filesystem-snapshot utility | |
| # ---------------------------------------------------------------------- | |
| # this needs to be a lot more general, but the basic idea is it makes | |
| # rotating backup-snapshots of /home whenever called | |
| # ---------------------------------------------------------------------- | |
| # Reference: | |
| # - http://www.mikerubel.org/computers/rsync_snapshots/#Extensions | |
| # ---------------------------------------------------------------------- |
I hereby claim:
To claim this, I am signing this object:
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
| #!/usr/bin/env python | |
| # | |
| # Requirements: | |
| # - python | |
| # - python-dev | |
| # - pyparted | |
| import parted | |
| # Create a disk image then attach it to a loopback device (e.g. /dev/loop0) |
| [user] | |
| name = Your Name | |
| email = youemail@foo.bar | |
| [init] | |
| defaultBranch = main | |
| [pull] | |
| rebase = false |