How to connect to CloudFoundry’s Loggregator directly via WebSockets

Firstly make sure you can run the standard CloudFoundry cli:…

View more

Yesterday’s code…

Absolutely love this

View more

Intel Graphics Installer on Ubuntu 14.10

So if you just downloaded the latest Intel Graphics Installer…

View more

Updated power savings settings for Samsung Series 9 (NP900X3C-A05UK) and Ubuntu 14.10

Here is my updated /etc/rc.local for Ubuntu 14.10 #!/bin/sh -e…

View more

Getting the generic signature of a Java 8 lambda

Posted to StackOverflow This is currently possible to solve but…

View more

Where did I download that file from?

Assuming you used Chrome and a modern Linux file system……

View more

Compiling RunIt on Fedora 20

I had dowloaded RunIt. Then ran package/compile It errored with:…

View more

Bash function to switch Java versions

setjava() { if [ "$1" = "-q" ]; then local…

View more

How to “login to windows for first time” or change password from Linux

smbpasswd -r YOUR.DOMAIN.COM -U YOUR_USERNAME This will mean you don’t…

View more

How to list Active Directory controllers from Linux command line

nslookup -type=srv _ldap._tcp.dc._msdcs.YOUR.DOMAIN.COM

View more