View qr.tex
\documentclass[a4paper]{article}
\usepackage{ngerman}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
% QR package: https://www.ctan.org/tex-archive/macros/latex/contrib/qrcode
\usepackage[final]{qrcode}
% Es ist überhaupt nicht schön, article zu vergewaltigen,
% aber es funktioniert...
View uhrundneopixel
/*
RV8523 RTC (Real-Time-Clock) Example
Uno A4 (SDA), A5 (SCL)
Mega 20 (SDA), 21 (SCL)
Leonardo 2 (SDA), 3 (SCL)
Note: To enable the I2C pull-up resistors on the RTC-Breakout, the jumper J1 has to be closed.
*/
View uhrbeispiel
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN 13
#define BLUE strip.Color(0,0,255)
#define BLACK strip.Color(0,0,0)
#define GREEN strip.Color(0,255,0)
#define RED strip.Color(255,0,0)
View uhrseriell
/*
* Neue Uhrzeit von serieller Schnittstelle lesen
*/
int setClock(int oldCounter) {
char in;
in = Serial.read();
Serial.print(in);
if ((in == 10 || in == 13) && (recv_size > 0)) {
parse_cmd(recv, recv_size);
View visitenkarten-qr.tex
\documentclass[a4paper]{article}
\usepackage{ngerman}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
% QR package: https://www.ctan.org/tex-archive/macros/latex/contrib/qrcode
\usepackage[final]{qrcode}
% Es ist überhaupt nicht schön, article zu vergewaltigen,
% aber es funktioniert...
View start_lljabba.sh
qemu-system-x86_64 -enable-kvm -smp cpus=4 \
-vnc :1 -m 3072 \
-cdrom /mnt/archiv/tmp/lesslinux-bigfatfull-jabba-20150711-190742.iso \
-drive file=/dev/sdb,if=virtio -boot d -netdev user,id=network0 \
-device e1000,netdev=network0 \
-redir tcp:22222::22 -redir tcp:5900::5900
View gist:3adc4a803aadbecdb8a1
qemu-system-x86_64 -enable-kvm -smp cpus=4 -vnc :3 -m 3072 \
-cdrom /mnt/archiv/tmp/lesslinux-bigfatfull-jabba-20150710-105028.iso \
-drive file=/dev/sdb,if=virtio -boot d \
-netdev user,id=network0 -device e1000,netdev=network0 -redir tcp:22222::22
View LessLinux Build stuff
qemu-system-x86_64 -enable-kvm -smp cpus=4 -vnc :3 -m 3072 \
-cdrom /mnt/archiv/tmp/lesslinux-bigfatfull-jabba-20150710-105028.iso \
-boot d -netdev user,id=network0 -device e1000,netdev=network0 \
-redir tcp:22222::22 \
-fsdev local,security_model=passthrough,id=fsdev0,path=/mnt/archiv \
-device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=LessLinux_build
View avrdude.confATtiny85
# $Id: avrdude.conf.in 1236 2013-09-16 19:40:15Z joerg_wunsch $ -*- text -*-
#
# AVRDUDE Configuration File
#
# This file contains configuration data used by AVRDUDE which describes
# the programming hardware pinouts and also provides part definitions.
# AVRDUDE's "-C" command line option specifies the location of the
# configuration file. The "-c" option names the programmer configuration
# which must match one of the entry's "id" parameter. The "-p" option
# identifies which part AVRDUDE is going to be programming and must match
View arduino-1.6.1-Bridge-baudrate.patch
diff -ruN arduino-1.6.1.orig/libraries/Bridge/src/Bridge.h arduino-1.6.1/libraries/Bridge/src/Bridge.h
--- arduino-1.6.1.orig/libraries/Bridge/src/Bridge.h 2015-03-10 14:19:56.000000000 +0100
+++ arduino-1.6.1/libraries/Bridge/src/Bridge.h 2015-03-14 14:43:28.461304458 +0100
@@ -19,6 +19,10 @@
#ifndef BRIDGE_H_
#define BRIDGE_H_
+#ifndef BRIDGE_BAUDRATE
+#define BRIDGE_BAUDRATE 250000
+#endif