This file contains hidden or 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
#!/bin/bash | |
if [ $# -ne 2 ]; | |
then | |
echo "usage: $0 <old> <new>"; | |
exit 1 | |
fi | |
old=$1 | |
new=$2 |
This file contains hidden or 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
rebar get-deps compile | |
==> cake (get-deps) | |
==> jch-erl (get-deps) | |
==> cake (compile) | |
==> jch-erl (compile) | |
Checking whether the PLT .plt is up-to-date... yes | |
Proceeding with analysis... | |
Unknown functions: | |
done in 0m0.42s | |
done (passed successfully) |
This file contains hidden or 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
CC = gcc | |
LD = | |
AR = ar | |
OBJS = zpub.o zsub.o | |
LIBS = -lzmq -lczmq -lwjelement -lwjreader #-lpthreads | |
CFLAGS = -Ideps/libzmq/include -Ideps/czmq/include -Ideps/wjelement/include -O2 -funroll-loops -g -std=c99 -pedantic -Wall -fPIC | |
LDFLAGS = -Ldeps/libzmq/src/.libs -Ldeps/czmq/src/.libs -Ldeps/wjelement/src/wjelement -Ldeps/wjelement/src/wjreader/ | |
ARFLAGS = | |
zpub.o: zpub.c |
This file contains hidden or 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
#!/usr/bin/env escript | |
-module(lpc). | |
-mode(compile). | |
-define(request_timeout,2500). %% msecs, (> 1000!) | |
-define(request_retries,3). %% before we abandon | |
-define(recv_timeout_enable,true). | |
-define(recv_timeout,2500). %% msecs |
This file contains hidden or 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
#!/usr/bin/env escript | |
-module(lps). | |
-mode(compile). | |
-define(request_timeout,2500). %% msecs, (> 1000!) | |
-define(request_retries,3). %% before we abandon | |
-define(halt_strategy,die). | |
main(_Args) -> |
This file contains hidden or 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
/* | |
* Pair of IV-16 Numitron's daisy chained on a pair of 74HC595 shift registers. | |
* This sketch simply counts from 00 to 99 repeatedly. Numitron's are wired as | |
* follows: | |
* | |
* +-f-+ 0b 00 00 00 00 | |
* e a -> -d cg ef ba | |
* +-g-+ | |
* d b | |
* +-c-+ |
This file contains hidden or 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 © 2013 Darach Ennis. All rights reserved. | |
// | |
// Sample EEP/Beam AR drone integration. | |
// Works with keyboard | |
// Works with a makey makey - http://www.makeymakey.com/ | |
// Coded during NodeConf EU but not demonstrated or tested ... | |
// | |
// Enjoy! | |
// |
NewerOlder