I hereby claim:
- I am stbuehler on github.
- I am stbuehler (https://keybase.io/stbuehler) on keybase.
- I have a public key whose fingerprint is C7CA 1E9E 29DC 77F5 4808 94B2 E0E7 D017 1E95 BAD7
To claim this, I am signing this object:
| Author: Stefan Bühler <stbuehler@web.de> | |
| add gcc abi_tag support | |
| - parse abi_tag attribute | |
| - emit abi tags in name Itanium Mangling (but not for namespaces) | |
| - for functions the abi tags from the return type need to be added | |
| to the mangling of the function name, as long as they are not part of | |
| the mangled function name otherwise (as tag on any involved namespace | |
| or parameter type). Use nested "null" mangling of the signature to |
| #!/bin/bash | |
| syntax() { | |
| echo "$0 [options] [--] cmd..." | |
| echo "Options:" | |
| echo " --stdout <logfile>: append stdout to logfile" | |
| echo " --stderr <logfile>: append stderr to logfile" | |
| echo "Returns exit code returned by captured command" | |
| exit 1 | |
| } |
| -- take all numbers from the 3rd until the second last line, multiply each | |
| -- number with the associated multiplier from the list [10,5,6,7,8,9,11,13,14,15,16,2,3,17,18,19] | |
| -- and sum everything up (modulo Int32) to get the checksum. | |
| -- (hint: line 11, the 9th number in the list, is the cash amount) | |
| -- in haskell: | |
| import Data.Int | |
| checksum :: [Int32] -> Int32 | |
| checksum nums = sum $ zipWith (*) nums [10,5,6,7,8,9,11,13,14,15,16,2,3,17,18,19] |
| #!/bin/bash | |
| # | |
| # munin plugin | |
| # | |
| # [sensors_*] | |
| # env.sensors - override default sensors program | |
| # env.ignore_[temp|fan|volt|power]<n> - disable some graphs | |
| set -e |
I hereby claim:
To claim this, I am signing this object:
| CFLAGS=-O2 -Wall | |
| all: glob-exec | |
| clean: | |
| rm -f glob-exec | |
| .PHONY: all clean |
| #!/bin/bash | |
| set -e | |
| if [ "${LISTEN_PID}" != $$ ]; then | |
| echo >&2 "file descriptors not for us, pid not matching: '${LISTEN_PID}' != '$$'" | |
| exit 255 | |
| fi | |
| if [ "${LISTEN_FDS}" != "1" ]; then |
| #!/bin/bash | |
| set -e | |
| if [ "${LISTEN_PID}" != $$ ]; then | |
| echo >&2 "file descriptors not for us, pid not matching: '${LISTEN_PID}' != '$$'" | |
| exit 255 | |
| fi | |
| if [ "${LISTEN_FDS}" != "1" ]; then |
| #!/usr/bin/ruby | |
| # REQUIRES: | |
| # * rooted android, as otherwise you can't read the applications private data | |
| # * to display the qr code "qrencode" (http://fukuchi.org/works/qrencode/) | |
| # and "display" from ImageMagick | |
| # This script "decrypts" the token from the internal state of the | |
| # Battle.net Mobile Authenticator on android application, converting | |
| # it into an "otpauth" url (https://code.google.com/p/google-authenticator/wiki/KeyUriFormat) |
| /* | |
| compile with: | |
| gcc -shared -fPIC fix_umask.c -o fix_umask.so | |
| edit /usr/bin/subl to include (fix the path to fix_umask.so if necessary): | |
| #!/bin/sh | |
| export LD_PRELOAD=/opt/sublime_text/fix_umask.so | |
| exec /opt/sublime_text/sublime_text "$@" |