Skip to content

Posts...

Page 30 of 47

Rot Algorithm in Python

April 3, 2015Category: Software
A while ago I wanted to send a bunch of emails to building companies in order to get some quotes and/or information. Unfortunately, the website in question (pagesdor.be) doesn't provide emails in clear text to allow me copy/paste. Instead it uses a Rotating cypher algorithm (I guess it must be…

Old stuff - Homeworld 2 Cheats

April 3, 2015Category: Gaming
A while ago I played Homeworld . While I enjoyed most of the game, some levels were taking too long... Soo, I had this on an old stick lying around... Modify RU's This procedure involves editing a game file; create a backup copy of the file before proceeding. Use a text editor to edit the "persist…

Better Toast in Android

April 2, 2015Category: Software
In my previous post , I've presented a Toast solution via a Handler and a Runnable . While that solution was a nice one and serves pretty well, I still got an exception. Therefore, I've decided to implement a builder-type wrapper to cover all situations: Direct : just display a Toast…

GIS Sites in Belgium

March 26, 2015Categories: House, Project Management
TL;DR: Each province has its own GIS site. In the quest of purchasing the land, I've found out there are several layers of plans. The most generic ones are the Federal plans . They are very good for land delimitation and such, less for planning and zoning. The most specific ones are called " Plan…

Add Primary Key Column to PostgreSQL Table

March 23, 2015Category: Software
The other day I got a question: How to add a numeric PK column to an already existent table? A quick look on the net showed that it is indeed possible to add an auto-incrementing PK to an already existing table ( if you don't have already a PK that is! ). The code is quite simple too! The statement…

Eclipse Today

March 20, 2015Category: Random
Today was a solar eclipse, visible from Belgium. Unfortunately, being Belgium, it was cloudy :) So, here it's a better pic from a live transmission from Norway: Cool stuff!

Punchcard-ish Graph from Google Analytics Data

March 18, 2015Category: IT
The other day I wanted to see when users are actually using my website. The most obvious way (to me) is to have a github-like punchcard graph. My alternatives were to either write a program or use Excel. To cut a long story short, I chose to use Excel. If you have enough users, Google is enabling…

Tweak LEDs and Buttons on a Synology Box

March 17, 2015Category: IT
A while ago I got a Synology and I noticed that my baby is attracted by its blue LED button in particular and the blinking lights, resulting in pushing the power button multiple times etc.... Yes, I know, I should put the box out of his reach, and I thought I did... Then, i looked on the internet if…

Attempted to Finish an Input Event ...

March 16, 2015Category: Software
... but input event receiver has already been disposed. This is the error I got while trying to do something off a menu in Android. Silly really. The message is not too revealing so I ended up scouring the net for an answer and scratching my head afterwards... With a service My problem was trying to…

Android: Provide Local Asset in Testing

March 13, 2015Category: Software
In the past few days I had a little bit of a problem: InstrumentationTestCase gives access to local assets while AndroidTestCase gives access to getAssets() for assets specific to testing. I had a scenario to test where I get a file from my local src/androidTest/assets directory while the code…
PreviousNext

All tags