I hereby claim:
- I am thwarted on github.
- I am thwarted (https://keybase.io/thwarted) on keybase.
- I have a public key whose fingerprint is 8CC0 42B3 3D0A CE55 5BA8 7623 0317 C210 0A72 3223
To claim this, I am signing this object:
| #!/bin/bash | |
| countfile=/tmp/agentcount.${USER}.$( date +%Y%m%d ) | |
| c=$( cat "$countfile" 2>/dev/null ) | |
| c=$(( c + 1 )) | |
| echo $c > "$countfile" | |
| msg="${*/Allow use of/Using}" | |
| msg="$( echo "${msg/\?/}" | fold -w 34 )" |
| #include <unistd.h> | |
| void main() { pause(); } |
| #!/bin/bash | |
| set -x | |
| cd ~/rpmbuild/SOURCES | |
| function doit() { | |
| local gemname="$1" | |
| gem2rpm --fetch $gemname --output ../SPECS/rubygem-$gemname.spec |
| #!/bin/bash | |
| # find all supermicro Java iKVM Viewer windows and resize | |
| # them to display all the content | |
| # | |
| # for reasons that are beyond sanity, this shitty closed source program | |
| # sets the min and max window sizes to the same values, making it unresizable | |
| # through dragging. | |
| # this wouldn't be so bad if it actually resized the window to display all | |
| # the content. it constantly resizes based on the resolution of the |
I hereby claim:
To claim this, I am signing this object:
| # vim:ft=syslog-ng:ai:si:ts=4:sw=4:et:expandtab | |
| # assumes RFC5424 format and a SD-ELEMENT "x-service" in the SD-ID "origin" | |
| # customize to taste | |
| @define statdprefix "service.${.SDATA.origin.x-service}." | |
| # send your log data to port 8888 | |
| source s_logdata { | |
| udp(port(8888) flags(syslog-protocol) tags("logdata")); |
| /* all this verbosity is required for this to work reliably and predictably | |
| * on both GCC and MSVC | |
| */ | |
| /* because gcc cpp doesn't recursively expand macros, so a single CALLIT | |
| * macro can't be used in all the FE_n macros below | |
| */ | |
| #define FE_CALLITn01(a,b) a b | |
| #define FE_CALLITn02(a,b) a b |
| #!/bin/bash | |
| TRHOME=$( readlink -f $( dirname $0 ) ) | |
| # mkdir -p complete config incomplete logs torrents | |
| PIDFILE=$TRHOME/logs/transmission.pid | |
| dostart() { | |
| cd $TRHOME | |
| transmission-daemon \ | |
| --config-dir $TRHOME/config \ |
| #!/bin/bash | |
| exec 3> >( while /bin/true ; do socat -t0 -T0 -u STDIN UDP:172.28.128.3:8888 ; done ) | |
| while /bin/true; do | |
| while read line; do | |
| echo "$line" | |
| echo "$line" >&3 | |
| sleep 0.1 | |
| done < /vagrant/testlog | |
| done |
| #!/bin/bash | |
| if [[ "$2" ]]; then | |
| msg="serving port $1" | |
| size=$( echo "$msg" | wc -c ) | |
| read request | |
| while /bin/true; do | |
| read x | |
| if [[ "$x" == "" ]]; then | |
| break |