Protect SSH with Fail2ban on CentOS 7

Posted on Sun, 02 April 2017 in development • Tagged with linux, security, worknotes

At the very moment, you expose your new Linux server to the internet, it starts to get automated SSH login attempts. There can easily be thousands of them in a short time period. Is there something we can do about this?


Continue reading

Run Node.js CLI tools in Docker container

Posted on Sun, 26 March 2017 in development • Tagged with development, docker, node.js, worknotes

So you want to test a fancy Node.js CLI tool, but do not have Node.js installed, or do not want to install it locally? Docker to the rescue!


Continue reading

Three steps to lint Python 3.6 in Sublime Text

Posted on Sun, 22 January 2017 in development • Tagged with development, sublime text, linting, python, worknotes

Writing consistent, well-formed code is important. With these three easy steps you are linting your Python 3.6 code within Sublime Text in no time!


Continue reading

Website and API monitoring with AdminLabs

Posted on Mon, 17 October 2016 in development • Tagged with devops, monitoring, slack, development

Website and REST API monitoring with AdminLabs, my review.


Continue reading

Hackathons for October 2016

Posted on Tue, 06 September 2016 in development • Tagged with development, business, hackathon

There are some cool Hackathons here in Finland for October 2016. Here’s few of my favourites…


Continue reading

Removing PM2 enabled Node.js App

Posted on Sun, 17 July 2016 in development • Tagged with javascript, nodejs, development, linux, systemd, centos

Short how-to article, on how to disable your PM2 enabled Node.js apps from restarting on CentOS server reboot.


Continue reading

Connecting to SQL Server from Python app on CentOS 7

Posted on Mon, 02 May 2016 in development • Tagged with development, python, linux, centos, sql server

In some projects I need to connect to SQL Server (2008 and 2012) from Python app running on CentOS 7 server. There are some steps needed to install necessary ODBC driver. Here’s how I did it.


Continue reading

How-to install Python 3.5.1 on CentOS 7

Posted on Tue, 26 April 2016 in development • Tagged with development, python, linux, centos

CentOS 7 has Python 2.7 installed out of the box and is used by the system itself to enable quite a few handy commands, such as yum.

As a Python coder I too have been struggling to decide between Python 2 and Python 3 for new projects. I made the transition to Python 3 during last year, for the benefits it gives me out of the box, e.g. default Unicode support. Read more here and here. It’s worth to note, that not all projects are supporting Python 3, yet.

So, how can I run my apps on …


Continue reading

Linting JavaScript in Sublime Text

Posted on Fri, 26 February 2016 in development • Tagged with development, sublime text, linting, javascript

I had to jump through a few hoops to get ESLint to work in Sublime Text. Let this be a note to self for future reference and hopefully for some help someone struggling the same thing.


Continue reading

Hackathons for March 2016

Posted on Tue, 09 February 2016 in development • Tagged with development, business, hackathon

There are some cool Hackathons here in Finland for March 2016. Here’s few of my favourites…


Continue reading