I hereby claim:
- I am raymanoz on github.
- I am raymanoz (https://keybase.io/raymanoz) on keybase.
- I have a public key ASDc6NG_3oVErUTEO47OQt69AKzddw5CReqgqlR4jf1B7Ao
To claim this, I am signing this object:
#!/bin/bash | |
ts=$(date -j -f "%Y%m%d" "$1" "+%s") | |
from=$2 | |
to=$3 | |
convert=$4 | |
result=$(curl -s "https://min-api.cryptocompare.com/data/pricehistorical?fsym=${from}&tsyms=${to}&ts=${ts}") | |
toValue=$(echo ${result} | jq -r ".${from}.AUD") | |
echo "${to}: ${toValue}" |
I hereby claim:
To claim this, I am signing this object:
yourTask <<= (fullClasspath in Runtime) map {classpath => | |
val loader: ClassLoader = ClasspathUtilities.toLoader(classpath.map(_.data).map(_.getAbsoluteFile)) | |
loader.loadClass("your.class.Here").newInstance() | |
} triggeredBy(compile in Compile) |
import com.googlecode.totallylazy.Function1; | |
import com.googlecode.totallylazy.Function2; | |
public class Lenses { | |
public static void main(String[] args) throws Exception { | |
Person rhys = new Person("rhys", 33, new Address("2 east lane", new Postcode("se16", "4uq"))); | |
Person older_rhys = Person.lenses.age.set(34, rhys); | |
System.out.println(older_rhys); |
<snip> | |
/usr/bin/llvm-gcc -m64 -o /private/tmp/homebrew-erlang-R14B04-HG65/erlang-otp-701bea0/bin/i386-apple-darwin11.2.0/epmd /private/tmp/homebrew-erlang-R14B04-HG65/erlang-otp-701bea0/erts/obj/i386-apple-darwin11.2.0/epmd.o /private/tmp/homebrew-erlang-R14B04-HG65/erlang-otp-701bea0/erts/obj/i386-apple-darwin11.2.0/epmd_cli.o /private/tmp/homebrew-erlang-R14B04-HG65/erlang-otp-701bea0/erts/obj/i386-apple-darwin11.2.0/epmd_srv.o -lutil -ldl -lm -L../../lib/internal/i386-apple-darwin11.2.0 -lerts_internal -lm | |
make -f i386-apple-darwin11.2.0/Makefile TYPE=opt | |
make[3]: Nothing to be done for `all'. | |
cd lib && \ | |
ERL_TOP=/private/tmp/homebrew-erlang-R14B04-HG65/erlang-otp-701bea0 PATH=/private/tmp/homebrew-erlang-R14B04-HG65/erlang-otp-701bea0/bootstrap/bin:${PATH} \ | |
make opt SECONDARY_BOOTSTRAP=true | |
=== Entering application hipe | |
(cd ../main && make hipe.hrl) |
: | |
: | |
: | |
gcc -m32 -g -O2 -I/Users/rbarlow/tmp/otp_src_R14B04/erts/i386-apple-darwin11.2.0 -no-cpp-precomp -D_XOPEN_SOURCE -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -I/Users/rbarlow/tmp/otp_src_R14B04/erts/include -I/Users/rbarlow/tmp/otp_src_R14B04/erts/include/i386-apple-darwin11.2.0 -I/Users/rbarlow/tmp/otp_src_R14B04/erts/include/internal -I/Users/rbarlow/tmp/otp_src_R14B04/erts/include/internal/i386-apple-darwin11.2.0 -DEPMD_PORT_NO=4369 -o /Users/rbarlow/tmp/otp_src_R14B04/erts/obj/i386-apple-darwin11.2.0/epmd_srv.o -c epmd_srv.c | |
gcc -m32 -o /Users/rbarlow/tmp/otp_src_R14B04/bin/i386-apple-darwin11.2.0/epmd /Users/rbarlow/tmp/otp_src_R14B04/erts/obj/i386-apple-darwin11.2.0/epmd.o /Users/rbarlow/tmp/otp_src_R14B04/erts/obj/i386-apple-darwin11.2.0/epmd_cli.o /Users/rbarlow/tmp/otp_src_R14B04/erts/obj/i386-apple-darwin11.2.0/epmd_srv.o -lutil -ldl -lm -L../../lib/internal/i386-apple-darwin11.2.0 -lerts_internal -lm | |
make -f i386-apple-darwin11.2.0/Mak |
2011-08-17 10:11:13 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.1-b02-383 mixed mode): | |
"pool-6-thread-4" prio=5 tid=7fa5d307c000 nid=0x114a39000 waiting on condition [114a38000] | |
java.lang.Thread.State: WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <7f40a0170> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) | |
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) | |
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987) | |
at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317) |