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> | |
#define p printf | |
#define n(X) | |
#define class struct{struct | |
#define HelloWorld | |
#define public int x;}out;}System; | |
#define static | |
#define void int | |
#define String int a,char* | |
#define println(X) x;p(" _ _ _ \ |
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
#!/bin/sh | |
set -ue | |
echo "Resetting /etc/hosts" | |
cat /etc/hosts.def > /etc/hosts | |
echo "Populating /etc/hosts" | |
curl "http://winhelp2002.mvps.org/hosts.txt" >> /etc/hosts | |
curl "https://adaway.org/hosts.txt" >> /etc/hosts |
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> ;; | |
;; | |
void print(char *str); ;; | |
;; | |
int main(void) { ;; | |
print("Hello world!"); ;;;;;;;;;;;;;; | |
return 0; ;; ;; | |
} ;; ;; |
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
#define forever for (;;) | |
#define until(is_true) while (!(is_true)) | |
#define unless(is_true) if (!(is_true)) | |
#define not ! | |
#define and && | |
#define or || |
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
#define a b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b | |
#define b c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c | |
#define c d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d | |
#define d e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e | |
#define e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f | |
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a |
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 <limits.h> | |
#include <stdio.h> | |
int main(void) | |
{ | |
int i, j, c; | |
printf("typedef void (*a)(void);\n"); | |
for (i = 0; i < 25; i++) { | |
c = i + 'a'; |
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> | |
#define LEN(x) (sizeof(x) / sizeof(x[0])) | |
/* | |
* Declare `arr`, an array of four pointers to arrays of two function pointers | |
* to a function that accepts a pointer to a two by two two dimensional array | |
* of ints as a parameter and returns an int. | |
*/ |
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
/* | |
$----------------$ | |
| Example usage: | | |
$----------------$------------------------------------------------------$ | |
| #include <stdbool.h> | | |
| #include <stdio.h> | | |
| | | |
| #include "func.h" | | |
| | | |
| LIST_TYPE(int) | |
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
// Prints a 4GB 'L' | |
#include <limits.h> | |
#include <stdio.h> | |
int main(void) | |
{ | |
int i; | |
putchar('L'); |
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 <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(int argc, const char *argv[]) | |
{ | |
FILE *fp; | |
int c; | |
unsigned int lineno = 1, colno = 1; |
OlderNewer