I hereby claim:
- I am pathawks on github.
- I am pathawks (https://keybase.io/pathawks) on keybase.
- I have a public key whose fingerprint is D97C 9D17 D3D7 6B6F 3255 5A6B F174 6FF5 F18B 3D1B
To claim this, I am signing this object:
| #!/bin/sh | |
| if [ "$#" -eq 2 ]; then | |
| curl -i http://git.io -F "url=$1" -F "code=$2" 2>/dev/null | grep 'Location' | sed 's/.*: //' | |
| elif [ "$#" -eq 1 ]; then | |
| curl -i http://git.io -F "url=$1" 2>/dev/null | grep 'Location' | sed 's/.*: //' | |
| else | |
| echo "Syntax error" | |
| fi |
I hereby claim:
To claim this, I am signing this object:
| ; no-ion.inc | |
| ; Renames common Ion calls to the MirageOS equivilant | |
| _cleargbuf = _GrBufClr | |
| graph_mem = gbuf | |
| progstart = 9D95h | |
| ionRandom = irandom | |
| ionPutSprite = isprite | |
| ionLargeSprite = ilsprite |
| /** | |
| * @author: Pat Hawks | |
| * Created on: Aug 28, 2014 | |
| * Source File: allPrimes.c | |
| */ | |
| #include <stdio.h> | |
| #include <math.h> | |
| #include <stdbool.h> |
| require 'rubygems' | |
| require 'net/https' | |
| require 'uri' | |
| require 'json' | |
| require 'yaml/store' | |
| require 'jekyll' | |
| desc "Update CDNjs Libraries" | |
| task :updatecdnjs do | |
| site = Jekyll.configuration({}) |
| jQuery.fn['slideToggle'] = function( speed, easing, callback ) { | |
| if (jQuery(this).height()) { | |
| jQuery(this).css('transition', 'all .3s').css('overflow','hidden').css('height','0'); | |
| } else { | |
| jQuery(this).css('transition', 'all .3s').css('overflow','hidden').css('height',jQuery(this).prop('scrollHeight')+'px'); | |
| } | |
| }; | |
| jQuery.fn['slideUp'] = function( speed, easing, callback ) { | |
| jQuery(this).css('transition', 'all .3s').css('overflow','hidden').css('height','0'); |
| // Colors | |
| $comment: #999988; | |
| $special: #999999; | |
| $generic: #000000; | |
| $keyword: #000000; | |
| $string: #dd1144; | |
| $name: #990000; | |
| $number: #009999; | |
| $variable: #008080; |
| {{ content | replace:'<span>:p</span>','<span class="emoji">😝</span><span class="noemoji">:p</span>' | replace:'<span>;p</span>','<span class="emoji">😜</span><span class="noemoji">:p</span>' | replace:'<span>;)</span>','<span class="emoji">😉</span><span class="noemoji">;)</span>' | replace:'<span>:D</span>','<span class="emoji">😃</span><span class="noemoji">:D</span>' | replace:'<span>:)</span>','<span class="emoji">😀</span><span class="noemoji">:)</span>' | replace:'<span>(:</span>','<span class="emoji">😀</span><span class="noemoji">(:</span>' | replace:'<span>X(</span>','<span class="emoji" title="Persevering Face">😣</span><span class="noemoji">X(</span>' | replace:'<span>:(</span>','<span class="emoji" title="Disappointed Face">😞</span><span class="noemoji">:(</span>' }} |
| <?php /* With apologies to Dr. Drang and John Siracusa. | |
| feed-subscribers.php | |
| By Marco Arment. | |
| Released into the public domain with no warranties and no restrictions. | |
| Usage: Pipe an Apache access log into stdin, e.g.: | |
| php -f feed-subscribers.php < /var/log/httpd/access_log |