Last active
November 20, 2016 19:25
-
-
Save z448/b4618a18c5bd2571cc3c to your computer and use it in GitHub Desktop.
list users public gists
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 characters
perl -e 'print "add user and <Enter> and <Ctrl-D>:"; | |
$url=q|https://gist.github.com|; | |
while(<>){ $g = $url . q|/| . $_ }; open( my $GS,"-|","curl -#ksL $g"); | |
while(<$GS>){ | |
if( m|tr.+ate| ){ | |
s/(.*?)(\=\")(.*?)(\".*?\>)(.*?\>)(.*?)(\<.*)/$3$6/; | |
$gist->{$6} = $3; | |
}}; | |
for(keys %$gist){ print $_ . " -\> " . $url . $gist->{$_} . "\n" }; | |
' |
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 characters
# theos enviroment | |
MYHOST=$(uname -a | cut -d' ' -f2); | |
export THEOS=/var/theos | |
export PATH=$THEOS/bin:$PATH | |
export THEOS_DEVICE_IP=$MYHOST THEOS_DEVICE_PORT=22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment