Wednesday, November 25, 2015

powershell compress single file via NTFS (pinvoke)

C# Source: http://www.blackwasp.co.uk/FileCompression.aspx

Monday, July 27, 2015

Azure Powershell

1. Azure Powershell installieren https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/ 2. Azure subscription installieren http://blogs.technet.com/b/canitpro/archive/2013/11/06/set-by-step-manage-windows-azure-using-powershell.aspx 3. Powershell Session zur Azure-VM aufbauen https://gallery.technet.microsoft.com/scriptcenter/Configures-Secure-Remote-b137f2fe

ssh - allow password authentication to localhost

Match address 127.0.0.1/32,::1
PasswordAuthentication yes

Sunday, July 19, 2015

xrdp session resumption

X11RDP/ xrdp has no proper session resumption / reconnection
X11RDP-o-Matic fixes this /etc/xrdp/xrdp.ini [globals] address=127.0.0.1

apt install history

/var/log/apt/history.log

Monday, March 30, 2015

Sunday, January 4, 2015

embed gist snippets in blogspot

How to embed gist snippets in blogspot

create QR Code for Google Authenticator without using google charts API

One time pad authentication for apache: mod-authn-otp/
create QR Code for Google Authenticator without using google charts API (source code gpl): qr generator
Google Authenticator

apt-get install php5 php5-gd libapache2-mod-php5