Skip to content

Instantly share code, notes, and snippets.

View pgebheim's full-sized avatar

Paul Gebheim pgebheim

  • San Francisco, CA
View GitHub Profile
ragma solidity 0.5.15;
pragma experimental ABIEncoderV2;
import "ROOT/trading/wrappedShareToken/WrappedShareToken.sol";
import 'ROOT/para/interfaces/IParaShareToken.sol';
import 'ROOT/libraries/TokenId.sol';
/**
* @dev This is a factory that creates Wrappers around ERC1155 shareTokens generated by Augur
* @author yashnaman
type SubscriptionKey = string;
interface Connector {
trackAccount(account:string);
};
interface EventEmitter {
emit(key, payload);
subscribe():SubscriptionKey
@pgebheim
pgebheim / SafeSet.m
Created September 26, 2012 04:29 — forked from ridiculousfish/SafeSet.m
A thread safe set written in Objective-C
#import <Foundation/Foundation.h>
@interface SafeSet : NSObject {
NSMutableSet *set;
dispatch_queue_t queue;
}
@end
@implementation SafeSet
@pgebheim
pgebheim / vim.rb
Created May 25, 2011 09:12 — forked from lxneng/vim.rb
Vim formula for Homebrew
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d'
version '7.3.189'
def features; %w(tiny small normal big huge) end