Created
June 26, 2017 19:51
-
-
Save jgrahamc/4174885c1e443dc2cf89a7fc1200f8b5 to your computer and use it in GitHub Desktop.
Code from Silicon Valley S03E01
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef unsigned long u64; | |
typedef void enc_cfg_t; | |
typedef int enc_cfg2_t; | |
typedef __int128_t dcf_t; | |
enc_cfg_t _ctx_iface(dcf_t s, enc_cfg2_t i) { | |
int c = (((s & ((dcf_t)0x1FULL << i * 5)) >> i * 5) + 65); | |
printf("%c", c); } | |
enc_cfg2_t main() { | |
for (int i=0;i<17; i++) { | |
_ctx_iface(0x79481E6BBCC01223 + ((dcf_t)0x1222DC << 64), i); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I love this show!