Skip to content

Instantly share code, notes, and snippets.

View allenluce's full-sized avatar

Allen Luce allenluce

  • Seattle, WA
View GitHub Profile
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1399402808000",
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::telemetry-import/partner-hasoffers",
"arn:aws:s3:::telemetry-import/partner-hasoffers/*"
@allenluce
allenluce / -
Created September 19, 2013 22:28
import javax.xml.bind.DatatypeConverter;
import java.security.MessageDigest;
class Odin {
public static void main (String[] args) {
String mac_address = "10:D5:42:E3:D5:34";
System.out.println(odin(mac_address));
}
public static String odin(String mac_address) {
` #++#+` `` ` `
+'++'+++'# :` `@+ `
++++'+++''''' `@@ @@@
#'++++''''''''+ ` @@ @@@
'+++++''''''''++#` `@@` @@` ;@@@,`
`+''''+''+''+''''++'## @@: `@@ ` @@@@@
`+''''+++'+'+'''++''# :@+ @@ @@`@@
function switch_int($which) {
switch($which) {
case 0:
return 2;
case 1:
return 1;
}
}
function switch_string($which) {