sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl
Autoincrement build numbers in Xcode 7
Seit langem benutze ich TestFlight zum koordinierten Verteilen meine aktuellen builds an Kunden / Tester. Da sich die Versionsnummer hierbei in der Regel nicht ändert, habe ich nach einer Möglichkeit gesucht die build number in Xcode / der Info.plist automatisch bei jedem erfolgreichen Kompiliervorgang um eins herauf zu setzen.
Sicherheit von Wahlmaschinen in den USA
Bereits seit langer Zeit wird in den USA maschinell gewählt. Bereits seit dem Jahre 1869 [3] werden eine Vielzahl der Stimmen nicht mehr per Hand ausgezählt. Gründe dafür waren, die Geschwindigkeit der Auszählung zu erhöhen, die beabsichtigte Falschzählung des Wahlhelfer zu verringern, und Kosten durch die Einsparung von Wahlhelfern und Material zu sparen. Im Jahre 2000 wurden statt der mechanischen Wahlmaschinen eine neue Generation Wahlmaschinen eingeführt, welche auf Basis handelsüblicher Hardware funktionierten. Ebenfalls das Betriebssystem ist ein angepasstes, handelsübliches Windows CE 3.0.
Allein anhand dieser Daten ist das Ergebnis der Schwachstellenanalyse von Prof. Aviel Rubin nicht erstaunlich.
Eine besondere Brisanz der Schwachstellenanalyse ergibt sich aus der Tatsache, dass Maschinen, des in den USA genutzten Herstellers auch in der EU angeschafft wurden.
Im Jahre 2004, dem Jahr der Wiederwahl von George Bush, begannen die Verdäch- tigungen um die Maschinen der Firma Diebold. Die Wahl ergab einen der Prognosen entgegenstehende Trend.
Gesamtes Paper: Ergebnisse der Dibold-Schwachstellenanalyse – Eine Zusammenfassung von Andreas Prang
Oracle Java 7 on Raspberry Pi – Docker base image
Preconditions:
- Raspberry Pi with Docker Image (Actual Raspbian with custom Docker-Linux-Kernel)
Installation / Start:
- docker pull andreasprang/java_arm
- sudo docker run -it andreasprang/java_arm
HostEurope dynDNS mit Raspberry Pi – Docker
Voraussetzungen:
- dynamische IP-Adresse
- Domain bei HostEurope
- Raspberry Pi mit Docker Image (Aktuelles Raspbian mit angepasstem Docker-Linux-Kernel)
Installation / Config / Start:
- docker pull andreasprang/hosteurope_dyndns_arm
- sudo docker run -d –restart=always -e KUNDENNR=123456 -e PASSWORD=mySecurePass -e DOMAIN=domain.ltd -e HOSTID=12345678 andreasprang/hosteurope_dyndns_arm
Für details: Dockerfile und Script bei gitHub für AMD64/x86
Raspberry Pi in Browser Kiosk Mode with HDMI Monitor
// remove the cursor
sudo apt-get install unclutter
// install Google Chrome on Raspberry Pi
sudo apt-get install chromium
// Open Chromium in Fullscreen mode after booting the Raspberry Pi
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
It should look like this:
@lxpanel –profile LXDE
@pcmanfm –desktop –profile LXDE
@xscreensaver -no-splash
@xset s off
@xset s noblank
@xset -dpms
@chromium –kiosk http://andreasprang.de
@unclutter
// Disable Screen to become black
nano /etc/kbd/config
set BLANK_TIME=0
How To: Install Script TelescopeJS for Debian / Ubuntu
Installing TelescopeJS on Linux really isn’t done within 5 minutes. So I decided to create a setup script. After installing Telescope with this Script, Telescope ist set up as a service and running on port 80 of your server.
Install: $ curl https://raw.githubusercontent.com/AndreasPrang/TelescopeJS-Install/master/install.sh | sh
To change the port on which Telescope should be running edit /etc/init.d/Telescope
Install Script Git Repository: https://github.com/AndreasPrang/TelescopeJS-Install
Telescope – Project URL: http://Telesc.pe
Example Project – Objective-C / Swift Mix and Match
I created a small example project for accessing Objective-C from Swift and Swift from Objective-C. It’s compatible starting with iOS 7.
It’s located on github: https://github.com/AndreasPrang/ObjectiveC-Swift-Mix-and-Match
Google Drive – Crash
„Actually“ () Google Drive is crashing all the time if you try to sync more than ~3000 files. This is because of a memory leak in the app and an other interesting point! Google Drive is an 32 Bit application.
There actually is just one way to sync Google Drive. Restart Google Drive every ~20 Minutes when you got an error message like:
NSMallocException – Attempt to allocate xxxx bytes for NS/CFData filed.
With this script you automatically can restart Google Drive every 20 Minuted for the initial synchronization:
#!/bin/bash while true; do killall Google\ Drive open /Applications/Google\ Drive.app sleep 1200 done DriveRestart.sh
Setup Linux ThinClients with RDC Kiosk Mode (Video)
If you want to set up ThinClients for connecting to a Windows Terminal Server on boot, the easiest way is to use a Tiny Core Linux and customise it. The whole setup takes 5 Minutes 🙂