I hereby claim:
- I am briandowns on github.
- I am briandowns (https://keybase.io/briandowns) on keybase.
- I have a public key ASBk9oZ1ksnZVABtbwfUxfmUc6ip-2HiC5z9t12UkYmUfwo
To claim this, I am signing this object:
package main | |
import ( | |
"errors" | |
"log" | |
) | |
func getDistance(s1, s2 string) (int, error) { | |
if len(s1) != len(s2) { | |
return 0, errors.New("ERROR: Strings are of different lengths") |
package main | |
import ( | |
"log" | |
"bytes" | |
"errors" | |
) | |
var compliment = map[string]string{"G": "C", "C": "G", "T": "A", "A": "U"} |
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 ( | |
"fmt" | |
"strings" | |
) | |
func main() { | |
str := "olly olly in come free" | |
data := make(map[string]int) |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"syscall" | |
) |
#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> |
// 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> |