Skip to content

Posts...

Page 40 of 50

Braindump: Use a Decorator to Time your Python Function

July 4, 2014Category: Software
In the programs I write these days I use timing methods to profile the code, mainly because I find it easier to split and sum deltas based on functions. For example, I have a script that loads an XML file, parses it into a relational-ish layout, and uploads the layout into a database. Therefore, I…

Braindump: Save State on Activity Rotation Lifecycle - Android

July 1, 2014Category: Software
Now I'm trying to write a (more complex) Hello World application for Android following a bunch of internet resources . I've read that an Activity has a life cycle (create/start/stop/resume/pause/destroy). This makes sense, because most UI elements (also in other frameworks) can be viewed as…

Smart-Monitor your Site via e.g. Pingdom

June 20, 2014Category: IT
I use pingdom to check if one of my sites is up and running, getting an email if the root index.html page doesn't behave. I just read the single most interesting piece to use pingdom to check your whole site: I recommend creating an internal status page which automatically checks all the…

Fix Crazy/Jumping Cursor on a MacBook (Pro)

June 17, 2014Category: IT
A couple of days ago, my baby managed to take a jab at my laptop (several actually), and hit the both keyboard and the trackpad. I don't know how, but this managed to get the cursor to jump all over the screen, some clicks triggered, some virtual screens swapped... Wonderful! TL;DR : Plug in a…

Change a Domain Renewal Order on Blacknight Solutions

June 11, 2014Category: IT
Recently I've received a renewal order for domain hosting on Blacknight . Last time, the domain was renewed last year and I wanted to renew it for a longer period (3 years). After a brief chat with the billing customer support, I've came up with a list of simple steps, which I'll be enumerating…

Renew a Payment on Blacknight Manually

June 11, 2014Category: IT
As part of making a multi-annual order for a domain (instead of single-year), I needed to create manually a domain renewal order. Here are the steps I used. First, log in onto your control panel (if you're not already logged in). Then, form the list of owned domains, select the domain you want to…

Search exact string in a file on Windows

June 6, 2014Category: IT
The other day I found a file with a peculiar format and I needed to find it again. There are two problems I've encountered: Size: It's one of 20,000,000 XML files Search: I need to find a file containing a string "xocs:doi", which is not interpreted as a single word (due to the colon character, of…

Monument Valley

May 28, 2014Category: Random
Here's a catchy puzzle game. Love the perspective visual tricks and the Escher stuff! :)

Root a LG G2 on OSX

May 19, 2014Category: IT
I've got a LG G2 the other day to replace my old Galaxy Nexus (RIP). I've seen a lot of info about benefits of having different ROMs like Cyanogen, and I've decided to have a go. However, in order to do it, I needed to root the phone... on OSX. Since all tutorials show the windows install, here are…

Multipool.us APIs

May 15, 2014Category: Software
Multipool is a multi-coin mining pool, capable of dynamically switching between currencies, to maximise the profitability. They offer an API which allows nice access to their data. Unfortunately, I've found that it's quite difficult to find what's what, so I've decided to document it. Below you'll…
PreviousNext

All tags