Common

Letsencrypt Wildcard Certificate HowTo

After the delay of the ACMEv2 including the wildcard-endpoint [2] it finally is live today [3]. In addition to the ACME v2 requirement, requests for wildcard certificates require an DNS “TXT” record to verify control over the domain.   Just “upgraded” my certificate to an root certificate follwing these steps: 1. Upgraded my certbot cd /opt/letsencrypt git reset –hard git pull… Read more →

Convert timestring to number Google Spreadsheet

function toMS(input) { const sRegex = /\d+s/g; const msRegex = /\d+ms/g; const usRegex = /\d+us/g; Logger.log(“Running toMS with parameter: ” + input); var sToMs = 0; var msToMs = 0; var usToMs = 0; while((seg = sRegex.exec(input)) !== null) { sToMs += parseInt(seg) * 1000; } while((seg = msRegex.exec(input)) !== null) { msToMs += parseInt(seg); } while((seg = usRegex.exec(input)) !==… Read more →

VNC Server / VNC Viewer

Als Alternative zu RDP unter Windows bietet sich das VNC Protokoll an, das unter Linux weit verbreitet ist. Dieses bietet erheblich mehr Konfigurationsmöglichkeiten gegenüber RDP, die jedoch nicht zwangsläufig anfasst werden müssen. Gute Erfahrung habe ich mit der Software Real VNC gemacht – diese hat VNC Server für Windows, Mac, Linux und zusätzlich VNC Viewer für die genannten und weiterhin Android, iOS… Read more →

Don’t Stick to hta Applications

If you have the burden to work on hta applications you might get into conflict with incompatibilities. So am I. I wanted to migrate a hta application from 2012 with bootsrap 2 to bootstrap 3. Bootstrap 3 doesn’t support IE 7 any more and also the fix with Respond.js doesn’t work in local files. So what now? I found node… Read more →

Revoke PGP key

Follow this tutorial if you want to revoke a pgp key. All you need for this is your private key and eventually the pass phrase to open it. At first you need to install pgp on your machine. I have installed GnuPG. Change to the install dir or add to PATH. cd C:\Program Files (x86)\GNU\GnuPG Next import your private key:… Read more →

How to install Scrapy

This line installs all requirements for pip first. After that you can install pip. With pip you can install Scrapy. sudo apt-get install build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev python-dev python-libxml && sudo apt-get install python-pip && sudo pip install Scrapy This should avoid errors like: Downloading/unpacking lxml Running setup.py egg_info for package lxml /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘bugtrack_url’ warnings.warn(msg)… Read more →

wget Seite rippen

Man kann perfekt alle Dateien eines Web-Verzeichnisses mit dem tool wget laden. Hier ein Beispiel: cd /home sudo mkdir mirror/ cd mirror/ sudo wget -v -r -A iso -c –http-user user –http-passwd password http://url   -v Ist verbose Mode -r rekursives Laden, folgen von Links (max 5 Ebenen) -A <list> Filter um nur iso zu laden -c Schaut ob die… Read more →

phpbb3 User in piwik tracken

Piwik kennt sogenannte custom variables (oder benutzerdefinierte variablen) und kann mit bis zu 5 von ihnen umgehen. Um User eines phpbb3 Forums in Piwik zu tracken sind Änderungen am Sourcecode des Forums nötig. Diese beschränken sich auf root/styles/prosilver/template/overall_header.html Voraussetzung: eine laufende Piwik Integration Ziel: Der Track möglichst viele Informationen aus dem phpbb Forum mitgeben. Was du tracken kannst: http://wiki.phpbb.com/Global_Template_Variables Du… Read more →

COM zu CAN – Kabel

Wer CAN Kabel braucht aber nur COM – Kabel, oder allgemein D-Sub 9 Kabel, zur Hand hat kann diese einfach zu einem CAN Kabel verdrahten. Grundlegend gibt es CAN_H, CAN_L und GND als Leitungen in einem CAN-Kabel. Um ein Kabel zu fertigen muss man lediglich diesen Schritten folgen: an 2 CAN_Low an 7 CAN_High Masse an 5 und der Nasen… Read more →