Skip to content

Instantly share code, notes, and snippets.

View hobbyquaker's full-sized avatar
🌚
💬

Sebastian Raff hobbyquaker

🌚
💬
  • Stuttgart, Germany
View GitHub Profile
@hobbyquaker
hobbyquaker / lntty-udev.sh
Last active September 5, 2019 16:12
create udev symlink for usb serial tty
#!/bin/bash
DEV="$1"
LINK="$2"
INFO=$(udevadm info -a -n $DEV)
VENDOR=$(echo "$INFO" | grep '{idVendor}' | head -n1)
PRODUCT=$(echo "$INFO" | grep '{idProduct}' | head -n1)
SERIAL=$(echo "$INFO" | grep '{serial}' | head -n1)
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@hobbyquaker
hobbyquaker / README.md
Last active April 24, 2020 21:06
LG TV Remote
@hobbyquaker
hobbyquaker / germanHolidays
Last active August 29, 2015 13:57
Deutsche Feiertage 2013-2019 im JSON Format - konvertiert aus https://gist.github.com/grmlin/5508185
{"BW":{"20130106":"Heilige Drei Könige","20130329":"Karfreitag","20130331":"Ostersonntag","20130401":"Ostermontag","20130501":"1. Mai","20130509":"Christi Himmelfahrt","20130519":"Pfingstsonntag","20130520":"Pfingstmontag","20130530":"Fronleichnam","20131003":"Tag der deutschen Einheit","20131101":"Allerheiligen","20131225":"Erster Weihnachtsfeiertag","20131226":"Zweiter Weihnachtsfeiertag","20140101":"Neujahr","20140106":"Heilige Drei Könige","20140418":"Karfreitag","20140420":"Ostersonntag","20140421":"Ostermontag","20140501":"1. Mai","20140529":"Christi Himmelfahrt","20140608":"Pfingstsonntag","20140609":"Pfingstmontag","20140619":"Fronleichnam","20141003":"Tag der deutschen Einheit","20141101":"Allerheiligen","20141225":"Erster Weihnachtsfeiertag","20141226":"Zweiter Weihnachtsfeiertag","20150101":"Neujahr","20150106":"Heilige Drei Könige","20150403":"Karfreitag","20150405":"Ostersonntag","20150406":"Ostermontag","20150501":"1. Mai","20150514":"Christi Himmelfahrt","20150524":"Pfingstsonntag","20150525":"