Experiments


Those are small programming experiments I create from time to time to test some new concepts I learn or simply for fun. They are not necessarily useful for anything or are meant to solve any specific problem.


StackOverflow Exception Troubleshooting

Created at
Jul 18, 2016
Technology
Python 2.7, Django 1.9

A simple Django Middleware for Exception Troubleshooting. It is meant to be used in debug mode only.

In a nutshell, the Middleware intercepts a exception thrown by a view and look up for the three most relevant questions on StackOverflow and prints the result to the console.


Woid

Website
Created at
Jul 15, 2015
Technology
Python 2.7, Django 1.8, PostgreSQL 9.3

Even though I placed Woid here in my experiments, actually I find it very useful and I use it on daily basis. I have a pinned tab in my Web browser and from time to time I check for updates.

Woid is a very simple news aggregator. It keeps the track of some of my favorite Websites and list the top stories. It updates every 5 minutes. So in a single page I can have an idea of what is going on. There is also an archive so I never miss a big story.


Bloodhound

Created at
Jul 15, 2015
Technology
Python 2.7, Django, PostgreSQL

Bloodhound was my second Web crawler and it is very similar to the Sea Serpent, except it crawls an e-commerce from Finland. It is a little be less interesting because there is no comparison with other e-commerce.

This time the code look better and I used some third party libraries to make my life easier.


LED Icon Set Sprites and CSS

Created at
Jan 21, 2015
Technology
CSS

This small project was inspired by the The LED Icon Set, a collection of 512 16x16 icons developed by led24.de.

I compiled all the icons into a single sprite file and created a CSS file for easily usage on web pages. I used to use those icons alot in the past. Nowadays I prefer font icons because if its responsiveness.


Sea Serpent

Created at
Dec 1, 2014
Technology
Python 2.7, Django, PostgreSQL

This was my first experience developing a Web crawler. The code is very raw and naive. But it works.

The Sea Serpent was designed to crawl three e-commerce websites from Brazil and monitor price changes from all the available products. In the web interface you could see the price changes over the time and compare prices from the other e-commerces.


Bandar

Created at
Oct 4, 2014
Technology
JavaScript, jQuery

Bandar is a very simple JavaScript memory game. The interface is quite cofusing but the whole idea was to create one of this memory games where the colors blinks and you are supposed to reproduce the sequences. Every time you succeed the game adds a new color.


Choosies

Created at
Mar 12, 2014
Technology
Python 2.7, Django, PostgreSQL, jQuery

You know that hand game where one player pick odd and the other pick even, and then they simultaneously reveals their hand, extending any number of fingers. The player who successfully guesses the total sum of fingers being odd or even, scores a point.

Choosies is a Django implementation of this hand game. It mainly uses AJAX requests to control the state of the game. I might do anytime soon a new implementation of this game using the new Django Sockets resource.


Gerundator

Created at
Jul 28, 2013
Technology
JavaScript, jQuery

Gerundator is a small jQuery plugin I created a couple of years ago. It is meant to add loading states to action buttons. It only works for the Portuguese language though.

The name Gerundator is a joke, meaning it will take a verb and turn it into its gerund form. For example, if the action button text is “Salvar” (Save), when the user clicks the button, the plugin turns the text into “Salvando…” (Saving…) while the async request is processing and turns it back to “Salvar” when it completes.

The plugin does it automatically, so you don’t need to write manually what would be the loading state name.


Graph Theory

Created at
Apr 12, 2013
Technology
C

A Graph implementation in C. I created this code back in 2013 while doing my Master’s degree. I had to work a lot with Graph related stuff in C. The repository has a implementation of Adjacency List and Adjacency Matrix.


Sort

Created at
Mar 26, 2013
Technology
C

I created this repository back when I was doing my Master’s degree. It is supposed to be a collection of sorting algorithms implemented in C. By now, it only has the implementation of the QuickSort algorithm.