First Steps on a New Virtual Private Server – an Example on DigitalOcean and Ubuntu 16.04 LTS

These short notes list example first steps when manually configuring a new virtual private server on DigitalOcean and configuring a DNS name on NameCheap. Always use good passwords. Only good passwords. Good passwords every moment.

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Kill Stalled Command After One Second – timeout 1 cat

To automatically kill stalled command after one second, put ‘timeout 1’ before the command. $  timeout 1 cat

Posted in Uncategorized | Tagged , , , , | Leave a comment

Hello Go world – Install and Run Go in Less Than a Minute on Ubuntu 16.04 LTS

Go is a new programming language. It’s similar to C++, but aims to be simpler, safer and tries to support parallel operations better. Installing Go and running “Hello world” takes less than a minute. This short tutorial shows you how … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Vagrant Revisited – Install & Boot New Virtual Machine in 31 seconds

Vagrant installs a new virtual machine automatically. In half a minute, you control the machine with ssh.

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Send Email with HTTP API – curl, ctrl-X E and Sendgrid API

Use interactive console and HTTP requests to access APIs. Here is an example of automatic mail sending with SendGrid and curl.

Posted in Uncategorized | Tagged , , , , | Leave a comment

Convert Vector EPS Images to PNG Bitmap

Mogrify can convert hundreds of images with a single command. To get decent quality bitmap PNG from vector EPS, you must set the density parameter. $ mogrify -format png -density 300 -resize 1024 *.eps

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Automatically Install a List of Software to Windows – Chocolatey Puppet Provider

Install Windows programs just by listing them: package {[“gedit”, “firefox”, “skype”, “vlc”]:} Puppet can manage Windows slaves. Choco is a limited package manager for Windows. This article shows how to use Choco from Puppet.

Posted in Uncategorized | Tagged , , , , | 4 Comments

Git trick: Colored Web Page with Changes Highlighted

With git, you can create a web page with changed words highlighted. Red==removed, green==added. When you have found a colleague, friend or a supervisor who can provide useful feedback, great! When you make the changes and ask for more feedback, … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Bug bypass: vagrant ssh timeout for bento/ubuntu-16.04

‘vagrant ssh’ times out with bento box on old Ubuntu 14.04 Trusty. There is a simple fix. This short article details bypass for this bug step by step.

Posted in Uncategorized | Tagged , | Leave a comment

Firefox System Wide Settings – /etc/firefox/syspref.js

Firefox preferences for all users are in /etc/firefox/syspref.js. You can copy settings from your current user preferences.

Posted in Uncategorized | Tagged , , , , , | Leave a comment