I hereby claim:
- I am nticompass on github.
- I am nticompass (https://keybase.io/nticompass) on keybase.
- I have a public key whose fingerprint is 18B6 B28A F7E4 CC3D 5D21 0CE5 B8AD DB98 7263 85E8
To claim this, I am signing this object:
| <?php | |
| /** | |
| * QR Code + Logo Generator | |
| * | |
| * http://labs.nticompassinc.com | |
| */ | |
| $data = isset($_GET['data']) ? $_GET['data'] : 'http://labs.nticompassinc.com'; | |
| $size = isset($_GET['size']) ? $_GET['size'] : '200x200'; | |
| $logo = isset($_GET['logo']) ? $_GET['logo'] : FALSE; |
| function parseQuery(str){ | |
| var ret = {}; | |
| str.split("&").forEach(function(value){ | |
| var data = value.split('='), | |
| name = decodeURIComponent(data.shift()), | |
| val = decodeURIComponent(data.join("=")).replace('+', ' '), | |
| nameVal = name.match(/(.*)\[(.*)\]/); | |
| if(nameVal === null){ | |
| ret[name] = val; |
| #!/bin/sh | |
| /opt/AdobeAir/bin/adl -nodebug "/opt/airapps/$1/META-INF/AIR/application.xml" "/opt/airapps/$1/" "${@:2}" |
| #!/bin/bash | |
| # Get the directory this script is in | |
| AMD=`pwd` | |
| # Ask AMD/ATI for the 12.4 drivers | |
| if [ ! -f "amd-driver-installer-12-4-x86.x86_64.run" ]; then | |
| wget --referer='http://support.amd.com' http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run | |
| chmod +x amd-driver-installer-12-4-x86.x86_64.run | |
| fi |
| (function(m){ | |
| /* | |
| * PHP => moment.js | |
| * | |
| * http://www.php.net/manual/en/function.date.php | |
| * http://momentjs.com/docs/#/displaying/format/ | |
| */ | |
| var formatMap = { | |
| d: 'DD', | |
| D: 'ddd', |
| # Initialize Autocompletion and Autocorrection | |
| autoload -U compinit promptinit | |
| compinit | |
| promptinit | |
| #prompt redhat | |
| zstyle ':completion:*:descriptions' format '%U%B%d%b%u' | |
| zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b' | |
| zstyle ':completion::complete:*' use-cache 1 | |
| setopt correctall |
| set -g prefix C-a | |
| unbind % | |
| unbind '"' | |
| bind | split-window -h | |
| bind - split-window -v |
I hereby claim:
To claim this, I am signing this object:
| # wkhtmltopdf from: http://wkhtmltopdf.org/downloads.html | |
| FROM centos:7 | |
| MAINTAINER Eric Siegel <nticompass@gmail.com> | |
| # Upgrade packages & repo | |
| RUN yum -y update | |
| # wkhtmltopdf's dependencies | |
| RUN yum -y install zlib fontconfig freetype libX11 libXext libXrender | |
| # Download x64 static build of wkhtmltox (with patched QT) |
| ifset set3 | |
| # Model M 1394100 | |
| remapblock | |
| # Fix the symbol keys | |
| #LEFT_BRACE UNASSIGNED # cents key | |
| # I want to macro the cents key, so I need an unused keycode | |
| LEFT_BRACE AUX1 | |
| RIGHT_BRACE BACKSLASH # | \ key | |
| EUROPE_1 RIGHT_BRACE # > < key |