Skip to content

Instantly share code, notes, and snippets.

@gabrielbauman
gabrielbauman / litecoin_balance
Created December 12, 2013 21:22
Quick, dumb script that outputs the balance of a Litecoin address.
#!/bin/sh
#
# Check the balance of a Litecoin address by querying explorer.litecoin.net.
# Drop this into /usr/local/bin and make it executable.
# Needs curl.
#
# Helpful? LWSHbKEHT18WX93zrSjBhc1AnxC4UCmbCt
if [ "$#" -ne 1 ]; then echo "Usage: litecoin_balance LTC_ADDRESS"; exit 1; fi;
@gabrielbauman
gabrielbauman / gist:5689446
Created June 1, 2013 06:07
A Maven profile that detects when the build is running on Heroku.
<profile>
<id>heroku</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>env.HOME</name>
<value>/app</value>
</property>
</activation>
<!-- Do Heroku-specific stuff here -->