I hereby claim:
- I am speters on github.
- I am soenke (https://keybase.io/soenke) on keybase.
- I have a public key whose fingerprint is D33D 153A A5D3 937E 8D99 907F EFC4 178C F358 FDCA
To claim this, I am signing this object:
/* | |
step.c | |
Program to verify new algorithm for linear acceleration. | |
Author: Pramod Ranade <[email protected]> | |
*/ | |
#include <stdio.h> | |
#if defined(_WIN32) || defined(_WIN64) | |
#include <io.h> | |
#endif |
/* | |
* hd44780 simulator | |
* from | |
* http://www.microchip.com/forums/m227487-print.aspx | |
* 2/2007 by jbroadwell | |
*/ | |
#define FIRST_NIBBLE 0 | |
#define SECOND_NIBBLE 1 | |
#define DDRAM_SIZE 128 | |
typedef struct hd44780_n |
#!/usr/bin/env python | |
# | |
# Intel HEX file CRC recalculator | |
# ihexcrc.py FILEWITHDAMAGEDCRC.HEX > NEWFILE.HEX | |
# | |
# See http://goodfet.sourceforge.net/dist/intelhex.py | |
# for a more elaborate version | |
# | |
from binascii import hexlify, unhexlify | |
import sys |
#include <avr/pgmspace.h> | |
// ***** LCD ***** | |
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); | |
char LCD_Row_1[17]; | |
char LCD_Row_2[17]; | |
ENTRYURL='http://go.stayfriends.de/***/xmasRaffle' | |
COOKIEFILE='cookies.txt' | |
USER_AGENT="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0" | |
wget -U "${USER_AGENT}" --spider -S --keep-session-cookies --save-cookies=$COOKIEFILE $ENTRYURL | |
COOKIEHEADER=`awk -v ORS='' 'BEGIN {print "Cookie: "} /stayfriends/{print $6"="$7"; " } ' < $COOKIEFILE ` | |
# local test against nc -l 8080 |
#!/usr/local/bin/phantomjs | |
var page = require('webpage').create(); | |
var system = require('system'); | |
var t, address; | |
if (system.args.length === 1) { | |
console.log('Usage: screenshot.js <some URL>'); | |
phantom.exit(); | |
} |
#! /usr/bin/env python | |
import urllib2 | |
from xml.dom import minidom, Node | |
from sys import argv | |
import smtplib | |
import ConfigParser, os | |
config = ConfigParser.SafeConfigParser({'smtphost': 'localhost', 'smtpuser':'', 'smtppass':'', 'forwardto':''}) | |
config.read(['/etc/smtpclient.ini', os.path.expanduser('~/.smtpclient.ini')]) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# copy a subdirectory of a repository to another location after commit | |
DESTINATIONDIR=/usr/share/arduino/libraries | |
# subdirectory in repo to copy: | |
CHECKOUTSUBDIR=TMRpcm | |
mkdir /tmp/bla | |
unset GIT_INDEX_FILE | |
GIT_WORK_TREE=${DESTINATIONDIR} git checkout -f -- ${CHECKOUTSUBDIR} |
/* Copyright (c) 2008 Carlos Lamas | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright |