Reverse proxy with Caddy 2 13 Apr 2020 This is the first post about self hosted services. In a attempt to get rid if giving my private data to big companies. All these services will be hosted in a Virtual Private Server (VPS). With a domain that I bought to point to its IP address. Every service will be served from a different port, and instead of knowking these port numbers, the reverse proxy will translate a each subdomain to its specific port: ...
First post with Hugo 5 Apr 2020 After some time without writing the blog I decided to continue adding posts. Also becasue of the confinement due to the Coronavirus, I decided to renew my personal blog. I am using Hugo because is the cool new way. Also because it is easy to install on any system. It only needs one executable or install a .deb package. I was using Pelican and it is time to renew it, I didn’t want to deal with the Python dependencies. ...
ExcellentExport.js update: Javascript export to Excel and CSV 26 Sep 2017 The ExcellentExport.js library is having a lot of visits, from people coming directly to the page orredirected by search engines. So, I decided to update it.
Change on the comment system 21 Apr 2014 I changed the blog comment system. Now powered by IntenseDebate. Disqus was giving a lot of headaches. The comments were appearing on all the pages, mixed comments between articles, and they were supposed to be separated by article.
The smallest and easiest REST server in Python 16 Apr 2014 I am creating a web application for writing. This is just the beginning and I am making some experiments. I decided to use AngularJS for the interface, as it solves most of the problems of any web application interface. Templates, two-way data binding between template and code, easy REST actions, etc… As I understand, I am just learning, AngularJS is mostly designed for using a REST server for the data load and store. ...
Flappy Bird fake score generator in HTML5 15 Feb 2014 We all know how famous and viral went Flappy Bird. It is really hard to get a good score. You can be playing for hours just getting crappy scores. That has ended. Now you can fake your score with this app!!! Send the image to your friends, Twitter, Facebook, etc… Enjoy ! How it’s done The generator is done with the canvas tag of HTML5. Also with a lot of patience cutting the numbers from the game. ...
My first Pelican plugin: readtime - Calculate the reading time of the articles 13 Feb 2014 As I have seen in other blogs, I wanted to have a reading time estimation on my articles. I’m using Pelican as blog engine and it allows to write your own plugins to process articles and pages of your blog. It is developed using Python, check the code on the github repository of readtime. You can see the results on this screenshot: Plugin development The Pelican plugins works with signals, they are like events. ...
Custom Arcade Game Controller 5 Feb 2014 I always liked arcade games. Since I was a child and I did not have enough money to play all that I wanted. Also now that I can play all the games using emulators. So I decided to make my own arcade game controller. I made a controller for 2 player. It has 2 joysticks, 6 buttons per player, 1 and 2 player buttons, 2 pinball buttons on the sides and 2 service buttons. ...
Python bitarray and Sieve of Eratosthenes 27 Jan 2014 Some time ago, I was thinking about prime numbers and I found that it is possible to find prime numbers just with sums instead of divisions or remainders. As it was very simple approach, I thought that for sure, someone else found this solution already. And I was right, this algorithm is called Sieve of Eratosthenes. This method exchanges the CPU intense calculations by storage. Instead of calculating if a number is prime with divisions, it stores which numbers are not primes until a maximum, then the prime numbers are the ones that are not on the list. ...
Fast Discovery programming 4 Jan 2014 I would like to introduce you the Fast Discovery programming. It is based on the discovery on errors or failures as fast as possible to keep going on the good way to achieve the goals. Fast Discovery, comes from the concepts like fail-fast or fail-early, but fail is not what we want to achieve. What we want is to know what we are doing works. So that, Discovery is a better term than Fail. ...