Coding a Twitter bot

I’ve been playing around with the Twitter API this weekend, and put together a small Twitter bot. This is my first attempt at something like this, so there will be errors. It is a bot that reacts to content, and tweets @ replies to those tweeting the correct “triggers”. As of now it reacts to the following commands; #testbot #jokebot #silencerunebot #testbot simply replies with the fact that your account works, and that you are not on its blocklist. #jokebot replies with a one-liner joke. #silencerunebot places your twitter handle…

Keep reading

Weekend coding

Just because I’m a developer by day, does not mean that I stop coding when I come home. It’s in the fingers and blood(?). Most of my of-the-clock coding is just things that I want for my self or for the purpose of teaching myself some new stuff. This weekend I’ve been doing a bit off both. Some time ago  I made a bash script to update my Linode DNS, so I could use it like a dynamic DNS system for my home server and my parents…

Keep reading

Server config

Server config @3 am is a bad thing. Good backup routines are priceless! Lost last post, will repost – soon(ish).…

Keep reading

WordPress and Nginx

This is just a small writeup on setting up WordPress on a Nginx server running Ubuntu 16.04 LTS. The prerequisite is also that is has PHP and MySql. Basically this post is a summary of my other posts on WP and Nginx. So with the basic stuff out of the way let us jump right in to the nitty-gritty of the setup. I’ll assume that you set up the vhost manually and edit the file with a sudo user in the terminal of the server. I’ll have…

Keep reading

SSL / PGP / DKIM

So, done with securing my servers and mail. Private mails are now all securely signed, domains have SSL and mail server has DKIM.…

Keep reading