Skip to content

Instantly share code, notes, and snippets.

View psy0rz's full-sized avatar

DatuX psy0rz

View GitHub Profile
@rockfishon
rockfishon / gist:9ff774cac8dc306963d6
Created November 30, 2014 14:26
Arduino Wood Stove Controller
// stove ver 110
#include <Adafruit_MAX31855.h>
#include <LiquidCrystal.h>
#include <Servo.h>
#include <PID_v1.h>
// define integers
int x = 0;
int setBeepBuzzer= 1;
int muteBuzzer = LOW;
[root@cursus ~]# cat raad
#!/bin/bash
(( GETAL= $RANDOM % 10 ))
while true; do
echo -n "Raad het getal onder te 10: "
read RAAD
if [ $GETAL -gt $RAAD ]; then
echo "Mijn getal is groter"
@gdamjan
gdamjan / ipv6-rd.sh
Created August 12, 2011 10:51
Script to configure an ipv6 6rd tunnel
#!/bin/sh
## You must have a real routable IPv4 address for IPv6 rapid deployment (6rd)
## tunnels.
## Also make sure you have at least linux kernel 2.6.33 and you have enabled 6rd
## CONFIG_IPV6_SIT_6RD=y
PREFIX="2a02:2b64" # 6rd ipv6 prefix
GATEWAY=`dig +short 6rd.on.net.mk` # 6rd gateway host