Forked from nileshashra/gist:104feea8ecbd92350f3d
Last active
August 29, 2015 14:08
-
-
Save ryankee/e9a57eaff7ad13115d99 to your computer and use it in GitHub Desktop.
Revisions
-
ryankee revised this gist
Oct 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ _grabkey() { curl -s -S "https://api.github.com/users/$1/keys" | grep 'key' | awk '{c=$3; gsub(/\"/,"",c); print c}' } alias grabkey=_grabkey -
Nilesh Ashra created this gist
Oct 27, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ _grabkey() { curl -s -S https://api.github.com/users/$1/keys | jsonpipe | grep '/0/key' | awk '{ print $3 }' } alias grabkey=_grabkey