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
mystring base64tobinary(mystring source) | |
{ | |
int i; | |
int index; | |
char base64[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | |
char *tmp; | |
char chunk[7] = ""; | |
mystring result; | |
result.text[0] = '\0'; | |
for (i = 0; i < source.length; i++) |
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
mystring binarytohex(mystring source) | |
{ | |
int i; | |
char chunk[4]; | |
char hexchar[1] = ""; | |
mystring result; | |
result.text[0] = '\0'; | |
for(i = 0; i < source.length; i++) | |
{ |
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
mystring binarytohex(mystring source) | |
{ | |
int i; | |
char chunk[4]; | |
char hexchar; | |
mystring result; | |
result.text[0] = '\0'; | |
for(i = 0; i < source.length; i++) | |
{ |
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
mystring binarytohex(mystring source) | |
{ | |
int i; | |
char chunk[4]; | |
char hexchar; | |
mystring result; | |
result.text[0] = '\0'; | |
for(i = 0; i < source.length; i++) | |
{ |
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
mystring binarytohex(mystring source) | |
{ | |
int i; | |
char chunk[4]; | |
char hexchar; | |
mystring result; | |
result.text[0] = '\0'; | |
for(i = 0; i < source.length; i++) | |
{ |
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
mystring binarytohex(mystring source) | |
{ | |
int i; | |
char chunk[4]; | |
char hexchar; | |
mystring result; | |
result.text[0] = '\0'; | |
result.length = 0; | |
for(i = 0; i < source.length; i++) |
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
$ gcc challenge1.c -o challenge1 && ./challenge1 | |
Original string: 49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d | |
Result: SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t | |
Back in hex: 49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d |
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
cwage@portaplotz:~/LocalPictures$ ls | xargs -n1 -i countpics {} | |
2000-01-01 18 | |
2012-04-22 4 | |
2012-12-14 3 | |
2013-02-18 1 | |
2013-03-02 4 | |
2013-03-04 2 | |
2013-03-05 7 | |
2013-03-07 6 | |
2013-03-10 19 |
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
Sep 30, 2013 21:05:57 [0xad0f6b40] WARN - MyPlex: Invalid response when mapping state (code=422):<?xml version="1.0" encoding="UTF-8"?> | |
<MediaContainer size="5"> | |
<Server name="portaplotz.quietlife.net" host="" localAddresses="10.10.15.18" port="32400" machineIdentifier="927792210be73a5ea3635f3bc1bb6643e80d1821" version="0.9.7.22.511-4b5280f" /> | |
<Directory art="/:/resources/show-fanart.jpg" thumb="/:/resources/show.png" key="8" type="show" title="ARGH" agent="com.plexapp.agents.thetvdb" scanner="Plex Series Scanner" language="en" uuid="53775253-0ad3-4eb6-bb5b-47d830376c02" updatedAt="1380593151" createdAt="1380593151"> | |
<Location path="/mnt/Video/Television/It's Always Sunny In Philadelphia/Season 8" /> | |
</Directory> | |
<Directory art="/:/resources/movie-fanart.jpg" thumb="/:/resources/movie.png" key="2" type="movie" title="Movies" agent="com.plexapp.agents.imdb" scanner="Plex Movie Scanner" language="en" uuid="fa0d0702-88ec-4d9c-b4bf-6aefcaab808c" updatedAt="1380590365" createdAt="1367651110"> | |
<Location path= |
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
. | |
./Season 6 | |
./Season 6/its.always.sunny.in.philadelphia.s06e11.dvdrip.xvid-reward.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e05.dvdrip.xvid-reward.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e09.dvdrip.xvid-reward.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e01.dvdrip.xvid-reward.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e03.dvdrip.xvid-reward.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e10.dvdrip.xvid-reward.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e02.hdtv.xvid-fqm.avi | |
./Season 6/its.always.sunny.in.philadelphia.s06e08.dvdrip.xvid-reward.avi |