brew install libmicrohttpd jansson gnutls
Make sure cmake is installed if if it's not, install it.
brew install cmake
// cc -o bim_bum_bam bim_bum_bam.c | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
#include <unistd.h> | |
#define ERR_EVEN_ODD_CHOICE "errore: solo pari o dispari" |
// https://github.com/briandowns/libspinner | |
// cc -o whatever -I/Users/bdowns/go/src/github.com/briandowns/libspinner | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <unistd.h> |
#include <dirent.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/param.h> | |
#include <sys/jail.h> | |
#include <sys/uio.h> | |
#include <sys/types.h> |
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"syscall" | |
) |
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"strings" | |
) | |
func main() { | |
str := "olly olly in come free" | |
data := make(map[string]int) |
package main | |
import ( | |
"log" | |
) | |
func isLeapYear(year int) bool { | |
switch { | |
case year % 4 != 0: return false | |
case year % 100 != 0: return true |
package main | |
import ( | |
"log" | |
"bytes" | |
"errors" | |
) | |
var compliment = map[string]string{"G": "C", "C": "G", "T": "A", "A": "U"} |