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:
| /* 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 |
| # 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")); |
I hereby claim:
To claim this, I am signing this object:
| #!/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 |
| #!/bin/bash | |
| set -x | |
| cd ~/rpmbuild/SOURCES | |
| function doit() { | |
| local gemname="$1" | |
| gem2rpm --fetch $gemname --output ../SPECS/rubygem-$gemname.spec |
| #include <unistd.h> | |
| void main() { pause(); } |
| #!/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 )" |
| if not ENV['AWS_ACCESS_KEY_ID'] or not ENV['AWS_SECRET_ACCESS_KEY'] | |
| puts "Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in the environment" | |
| exit | |
| end | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "dummy" | |
| config.vm.provider :aws do |aws, override| | |
| #aws.region = "us-west-2" |
| # sitelib for noarch packages, sitearch for others (remove the unneeded one) | |
| %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} | |
| %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} | |
| Name: python-softlayer | |
| Version: 773ab17 | |
| Release: 1%{?dist} | |
| Summary: softlayer python interface | |
| License: Softlayer |
| # this uses iodbc, compile postgresql-odbc with --with-iodbc | |
| $ ldd /usr/lib64/psqlodbcw-iodbc.so | grep odbc | |
| libiodbc.so.2 => /lib64/libiodbc.so.2 (0x00007f686e30a000) | |
| libiodbcinst.so.2 => /lib64/libiodbcinst.so.2 (0x00007f686e0f7000) | |
| # this uses unixODBC, compile postgresql-odbc with --with-unixodbc | |
| $ ldd /usr/lib64/psqlodbcw-unixodbc.so | grep odbc |