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
package com.mypackage.benchmark | |
import com.mypackage.util.Logging | |
import net.lag.configgy.Configgy | |
import scala.collection.mutable | |
import scala.collection.JavaConversions._ | |
import java.net.InetSocketAddress | |
import java.nio.charset.Charset | |
import java.util.concurrent._ |
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
// Undo-able CSS transformations on DOM objects | |
// Requires jQuery | |
// MIT Licensed | |
// Author: Aaron Zinman <[email protected]> | |
// Part of Defuse: http://defuse.media.mit.edu | |
// Tested in Safari, soon testing in: Chrome and Firefox | |
if (window.defuse == null) defuse = {animation:{}}; | |
/** | |
* Applies a series of CSS transformation (contained in the cssObj dictionary) |
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
// | |
// main.m | |
// quicky | |
// | |
// Created by Aaron Zinman on 2/21/12. | |
// Copyright (c) 2012 Empirical Design LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
$ date -d @1378585039 | |
Sat Sep 7 20:17:19 UTC 2013 |
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
### Keybase proof | |
I hereby claim: | |
* I am azinman on github. | |
* I am azinman (https://keybase.io/azinman) on keybase. | |
* I have a public key whose fingerprint is 648F C16E 7315 35E6 48FE C55A FA5C 5707 A23C 3CC7 | |
To claim this, I am signing this object: |
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
// | |
// AppDelegate.m | |
// LockTest | |
// | |
// Created by zinman on 1/29/16. | |
// | |
#import "AppDelegate.h" | |
#import <pthread.h> |
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
(version 1) | |
(deny default) | |
(allow network*) | |
(allow file-write* file-read-data file-read-metadata | |
(regex "^/Users/zinman/vanadium") | |
(regex "^(/private)?/tmp")) | |
(allow file-read-data file-read-metadata | |
(regex "^/dev/autofs.*") |
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
enum X : Int { | |
case Foo = 2 | |
case Bar = 8 | |
case Baz = 4 | |
} | |
// Can also do this with no difference | |
// enum X { | |
// case Foo | |
// case Bar |
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
// Copyright 2015 The Vanadium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
// This file was auto-generated by the vanadium vdl tool. | |
// Source: v.io/v23/naming | |
public enum Naming { | |
/* The following constants originate in file: types.vdl */ |
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
var outputTarget = 8 | |
// AnyObject forces the Swift Int to become an NSNumber. NSNumbers can cast | |
// to various primitive types even if the original value is not of the same | |
// type. For example, ints can be cast to bool (objective-c bools are | |
// actually 8-bit chars), and the bool is true if the value is non-zero (can | |
// be 8, -100, etc). | |
func get(key: String) -> AnyObject? { | |
return outputTarget | |
} |
OlderNewer