Skip to content

Instantly share code, notes, and snippets.

@aji
Created June 1, 2012 05:59
Show Gist options
  • Select an option

  • Save aji/2849352 to your computer and use it in GitHub Desktop.

Select an option

Save aji/2849352 to your computer and use it in GitHub Desktop.
wut
#include <stdio.h>
#include <string.h>
typedef char PUTS;PUTS*putS="48656c6c6f2c20776f"
"726c642100";PUTS puTs[24];PUTS*Puts="---------"
"---------------------------------------0123456"
"789-------:;<=>?--------------------------:;<="
">?-";pUts(PUTS*pUTS,PUTS*PUTs){PUTS PuTS,PUtS;
PUtS=strlen(pUTS);memset(PUTs,0,PUtS>>1);for(
PuTS=0;PuTS<PUtS;PuTS++){PUTs[PuTS>>1]*=0x10;
PUTs[PuTS>>1]+=Puts[pUTS[PuTS]]-0x30;}}main()
{pUts(putS,puTs);puts(puTs);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment