Skip to content

Instantly share code, notes, and snippets.

View strotter's full-sized avatar

Shane Trotter strotter

  • Earth
View GitHub Profile

Keybase proof

I hereby claim:

  • I am strotter on github.
  • I am shanetrotter (https://keybase.io/shanetrotter) on keybase.
  • I have a public key ASAa-Ovs3blJ_ekmVR_YsT-Isu8XJF5kHJuVLVdWUqi7dgo

To claim this, I am signing this object:

public RemoteCall<TransactionReceipt> stop() {
Function function = new Function(
"stop",
Arrays.<Type>asList(),
Collections.<TypeReference<?>>emptyList());
return executeRemoteCallTransaction(function);
}
public RemoteCall<TransactionReceipt> approve(String _spender, BigInteger _value) {
Function function = new Function(

Keybase proof

I hereby claim:

  • I am strotter on github.
  • I am shanetrotter (https://keybase.io/shanetrotter) on keybase.
  • I have a public key whose fingerprint is 5A78 015A 6525 A74F 5C0A 23CB 226D BC43 1B99 DE85

To claim this, I am signing this object:

@strotter
strotter / test.rb
Last active February 28, 2016 03:47
implicit tap
def method
[].tap do |array|
5.times { |x| array << x }
end
end
@strotter
strotter / gist:9917655
Created April 1, 2014 16:25
Update postgresql sequences in Rails for all tables.
ActiveRecord::Base.connection.tables.each do |table|
ActiveRecord::Base.connection.reset_pk_sequence!(table)
end