What you need to know when you want to support versions older than L and want to use vector (svg) drawables is that you cannot use the @color thing to pick your color. You need to take the oldfashion way with #HEXCODE. If you don’t this will lead to black vector graphics on all devices […]
How to’s
How to build an Electric Skateboard – Part 1 Research
I think, 2 years ago I heard the first time about electric skateboards and I immediately wanted one. But at this time there where no good parts for mounting the motor(s). All electric stakeboards that you can buy are at least 900 Euro. I want that cheaper. This week I even stumbled upon a Longboard at […]
Magic Mirror bauen – Teil 3 Anbringung der Hardware
Teil 1: Magic Mirror bauen EinkaufslisteTeil 2: Magic Mirror bauen Rahmen (Mangels Dokumentation beim Bau ist dieser Artikel – Hardware – nicht vollständig.) V1: Zunächst habe ich ein Leiste zwischen die beiden Seitenteile verbaut an den der Spiegel anliegt. Das Display soll auf dieser Leiste aufliegen und darf nicht zwischen Leiste und Spiegel durchrutschen. Zur […]
Magic Mirror – Turn off screen –> save energy
My Smart Mirror is running 24h a day. I unplug the screen at night but well that really impractical. From our server-dashboard at work (3 HD TV displaying server load, memory, cpu usage etc.) i knew that it is possible to turn off the screen programmically on the raspberry pi. I wrote a short python script […]
Magic Mirror bauen – Teil 2 Rahmen Bauen
Nachdem wir nun alle Teile parat haben können wir beginnen. Der Bau eines Rahmes für den Magic Mirror wird für die Meisten die größte Herausforderung an dem ganzen Projekt werden. Es bedarf viel Werkzeug, Zeit und Geschickt. Ich denke ich habe eine gute und verhältnismäßig einfache Methode gefunden. Doch zunächst noch 2 Sätze zu meinem […]
Part 1: Installing OpenCV 3.1.0 on Raspberry Pi Debian Jessy with Java Library
The Raspberry Pi has become a Icon. I have nearly 10 Raspberry Pis and i love every single one of them. 😉 In December 2015 I started my Smart Mirror (Magic Mirror) Project and now its finally ready. Or better said the Hardware or the Smart Mirror is finally ready. What is now missing is a […]
Python: MapReduce Word Count
text = “’…“‘ list = text.replace(‚\n‘,‘ ‚).split(‚ ‚) clist = map(lambda word: (word.lower(), 1), list) result = {} for word in clist: if(word[0] in result): result[word[0]] += 1 else: result[word[0]] = 1 clist = [(k,v) for k,v in result.iteritems()] clist.sort(key=lambda x: -x[1]) […]
Capture WiFi / WLAN / 802.11 Probe Request with tcpdump
A Probe Request is a special type of WLAN frame sent from a terminal-device (for example your smartphone) to ask all AP nearby for their presence. This allows you to find out if smartphone or other wifi enable devices are close to you. Since many users want to use the Probe Request to identify devices: […]
Magic Mirror bauen – Teil 1 Einkaufsliste
Magic Mirrors (auch Smart Mirror) sind unglaublich cool. Deswegen werde auch ich mir einen bauen. Die meisten Teile bekommt man auf eBay, Amazon und im Baumarkt. Einkaufsliste: 1x Spionspiegel [70 Euro] 1x Notebook Display (Ich verwende das LP173WD1) [70 Euro eBay] 1x Display Controller (In meinem Fall: M.NT68676) [30 Euro eBay] 1x Raspberry Pi 2 oder Pi […]
Facebook süchtig ? Seiten wie Facebook blockieren (Mac, Windows, Linux)
Internetseiten wie Facebook haben sich zu den beliebtesten Beschäftigung der meisten Usern entwickelt. Doch leider lenken sie uns oft ab, sodass Studium und Arbeit darunter leiden. Doch was kann man tun um von dem zwanghaften Verhalten Facebook zu besuchen wegzukommen ? Die Lösung ist einfach: Wir blocken die Seite einfach für unseren Rechner. Diese Methode […]