Skip to content

Instantly share code, notes, and snippets.

View jdevoo's full-sized avatar

JP de Vooght jdevoo

View GitHub Profile
@jdevoo
jdevoo / cascalog.txt
Created March 17, 2015 16:21
Cascalog on cygwin
Leiningen 2.5.0
javac 1.7.0_15 (for hadoop)
javac 1.6.0_45 (for cascalog)
OpenSSH_6.7p1, OpenSSL 1.0.1k 8 Jan 2015
---my mapred-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
@jdevoo
jdevoo / scan.sh
Created October 1, 2012 06:02
scan processes for AS
#!/bin/bash
if [ "$1" = "" ]; then
process="firefox"
else
process="$1"
fi
echo "Scanning for connections established by '$process'. Press CTRL-C to exit."
@jdevoo
jdevoo / gist:3775189
Created September 24, 2012 09:48
SMS_Gateway
#include <Ethernet.h>
#include <EthernetDHCP.h>
#include <GSM.h>
#include <ctype.h>
long last_poll = 0;
long poll_interval = 0;
byte server[] = { 192, 168, 1, 100 };
GSM telit;
@jdevoo
jdevoo / Pachube.R
Created April 27, 2012 10:32
Pachube R Functions
library(rjson)
library(RCurl)
Pachube.query <- function(feed='504')
{
json<-getURL(
paste('http://api.pachube.com/v2/feeds/',feed,sep=''),
netrc='optional')
data<-fromJSON(json)
if (data$private == "true" || !is.null(data$error)) stop(data)