How-to: Send HTML Mails with OAuth2 and Gmail in Python

If you’ve been trying to send e-mails from a program using your Gmail account, you’ll probably have encountered the following error message:

SMTP Error: Could not authenticate. Error: SMTP Error: Could not authenticate.
535 5.7.1 Username and Password not accepted. Learn more at
535 5.7 …

Read more

Fun with Audiosurf 2 and Mitmproxy

I enjoy firing up Audiosurf 2 from time to time to have some rythmic musical fun. One of the things that has been bothering me, however, is the fact that Audiosurf 2 only integrates with Soundcloud for its music streaming. You can use local files, but since I stream all …

Read more

Converting Plain Text References To BibTeX, Updated

This blog post is an update for this one. I was recently contacted regarding the original post no longer working. Indeed, the version used there is being blocked by Google Scholar.

Looking at the GitHub page, we do find an updated version from about 8 months …

Read more

Programming Languages to Try

I routinely use Python, R and Java during my day-to-day tasks, but have been itching recently to get up to speed or try out some of the following languages.

This list basically serves as a note to myself to start experimenting with some of them:

  • Haxe — basically in combination with …

Read more

Fixing Flask url_for when Behind mod_proxy

Imagine you have an Apache server set up with a virtualhost configuration listening to some domain, e.g.


You have a Flask app running at:


You want to add a mod_proxy directive so that:

http://my.domain:8080/app_location/  --->  http://localhost:5000

Most resources will …

Read more

List of Apps (Updated)

Again that time of the year where Windows’s being reinstalled, so once again I’m jotting down a list of apps I normally install right away, slightly updated versus last year.

(This list last updated in May 2016.)


  • Skype is back. The web version was not robust enough …

Read more

A Quick Look at Java Decompilers

I’ve been looking at various Java decompilers recently for a project I’ve been working on in spare time.

Java code obfuscation is something I have an interest in for no particular reason, mostly because you see a variety of cool approaches popping up in the wild to prevent …

Read more

Removing Background Color from a PDF Presentation

Ever ran across a PDF export of a Powerpoint which looks like this?

Get ready to buy a new toner

Turns out it is not so easy to convert this to printable design (at least not without having access to the original presentation file, that is). Adobe Reader already allows to do the following:

  1. Press Ctrl+K …

Read more

Rebuilding our Jython Console Plugin for Minecraft
A Python interpreter for a CanaryMod Minecraft server

Summary and Changes

This post describes how you can create a Python interpreter for a CanaryMod Minecraft server, providing access to the full internal Canary API (CanaryLib). Commands are issued on a separate console window and do not require players or server administrators to be running the game itself.

Following …

Read more

« Prev Page 2 of 11 Next »