Replacing Union Platform Default Derby Datasource with MySQL Server
Union Platform is powerful and easy-to-use multiplayer server written in Java. By default it uses an embedded Derby database. In this article I'll show you how you can replace this datasource with a...
View ArticleSmart generation of Gzip files for nginx
As the complexity of today's sites increases, so are the challenges to keep the site loading fast and bandwidth usage low. Minified scripts, concatenated CSS, image sprites and even hand-crafted static...
View ArticleBatch minfy & gzip new files only with some date tricks
With everybody using grunt.js for linting, css compilation and minification nowadays, I wanted to make a simple experiment and see if I could do the same using a plain batch file - in Windows no less....
View ArticleUsing Python to batch rename email files
This little tutorial is intended for those learning Python and demonstrates a number of features, including OS-independent file manipulation, email parsing, string formatting and error handling. The...
View ArticleMaking a Fixed-Width Text File to CSV Converter in C, Java, PHP, Javascript...
Unlike CSV, fixed-width text files don't use a separator to differentiate between fields. I'll show how you can convert such a file in all major programming languages.
View ArticleHow to create chess diagrams with PHP
In this post, I'll show you how to generate chess diagrams on the server using PHP. The diagrams are cached automatically and served directly next time they're requested.
View ArticleImproving nginx integration with CloudFlare
Using CloudFlare for its firewall capabilities has undeniable benefits, but it’s not as foolproof and transparent as one may think. In this post I’ll explain how to configure nginx on your server for...
View ArticleEasy human-readable date difference
This article presents a very simple method to show messages like “20 seconds ago” or “3 weeks ago” or any other arbitrary date difference expressed in human-readable form in Javascript without relying...
View ArticleA Comprehensive Guide to Backup for Home and Small Office
I’ve been pondering over writing this article for a very long time, unsure about public interest since cloud backup solutions are ubiquitous now and simple to set up. However, in the light of recent...
View ArticleChess Diagram Generator in NodeJS
A while ago a wrote an article about generating simple chess diagrams in PHP. Today, we’ll achieve the same in node. With some small changes, the code can also work client-side, since it uses canvas....
View Article