This file contains 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
ARDUINO_DIR = /home/eni/progs/arduino-1.6.4 | |
PROJECT_DIR = /home/eni/code/arduino-esp-makefile | |
SRCDIR = $(PROJECT_DIR)/src | |
OBJDIR = $(PROJECT_DIR)/build | |
MAINFILE = main.ino | |
# generic / nodemcu / modwifi | |
BOARD = nodemcu | |
# 80 or 160 (mhz) |
This file contains 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/python | |
# -*- coding: utf8 -*- | |
import os | |
import sys | |
import math | |
import fcntl | |
import struct | |
import termios |
This file contains 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
<?php | |
/** | |
* Quick and Dirty class to Query Colissimo-API | |
* Support for mulitple languages | |
* | |
* @author Cyrill von Wattenwyl < [email protected] > | |
* @deps DOM, Allow http for file_get_contents in php.ini | |
* | |
**/ | |
class colissimo { |
This file contains 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 | |
# | |
# | |
# project: artlu website | |
# author: cvw-2014-04-16 | |
# version: {$id} | |
# | |
# desc: | |
# convert uploaded audio-files to misc formats | |
# and delete orphaned entrys from com_artlu_music |
This file contains 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
rainbow_maker={ | |
num:25, | |
act_num:0, | |
center:128, | |
width:127, | |
phase:0, | |
factor_red: 30, | |
factor_green:6, | |
factor_blue:2, | |
freq:false, |
This file contains 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 | |
# | |
# The cron execution file is in /etc/cron.d | |
# | |
# The variable configuration file for rs-sysmon is in /etc/rs-sysmon | |
# | |
# All the variables defined here and several others can be defined in the variable | |
# configuration file. You can see more on these in /usr/share/doc/rs-sysmon-{version}/README | |
# define the default environment for rs-sysmon | |
# DO NOT change these values here, user-modifiable options can be tweaked through |
This file contains 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/sh | |
# Author: Brice Burgess - [email protected] | |
# multi_backup.sh -- backup to a local drive using rsync. | |
# Uses hard-link rotation to keep multiple backups. | |
# Directories to backup. Seperate with a space. Exclude trailing slash! | |
SOURCES="/home/gig" | |
# Directory to backup to. This is where your backup(s) will be stored. No spaces in names! | |
# :: NOTICE :: -> Make sure this directory is empty or contains ONLY backups created by |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
# | |
# dmx512 library | |
# sending dmx-frames, the class handles buffering of channels | |
# and only packs data frames long as needed. | |
# | |
# example usage: | |
# dmx=dmx512.dmx | |
# dmx.set_channel(1,255) |
This file contains 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 | |
# achtung, admins finden das gar nicht cool | |
MACADDRESS=$1 | |
NETWORK=$2 | |
sudo ip neigh flush all > /dev/null; | |
sudo fping -c 1 -g -q $NETWORK 2> /dev/null; | |
sudo arp -n | grep $MACADDRESS |
NewerOlder