Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe
Install Pillow from PyCharm
easy_install

Install Pillow from PyCharm

My environment on windows has a lot of restrictions, including one to prohibit execution of files placed anywhere else except C:\Windows, C:\Program Files and C:\Program Files (x86). Therefore, the virtual environments resides in something like C:\Program Files\Python\virtualenvs. I've set up a virtualenv
Dec 10, 2013 1 min read
Simulate INSert key on mac OSX
commander

Simulate INSert key on mac OSX

Every once in a while I use MC (Midnight Commander) on OSX, simply because after all these years the two-pane file manager is still easier and quicker to use than the Finder. TL;DR: use <CTRL>+T to simulate INS key. Origins In my PC days, I used
Dec 4, 2013 1 min read
Simple steps to deploy app to Heroku
app

Simple steps to deploy app to Heroku

The past days I've been trying to find a cloud provider to deploy an app to. So, until docker becomes a bit easier and flynn up and running, I'll stick with one of the known ones, i.e. heroku. I've been trying to get
Aug 9, 2013 1 min read
Get most recent modification date for a folder in python
date

Get most recent modification date for a folder in python

Finding out when a directory was most recently modified should be relatively easy; just perform a dir or a ls -l and you should have it. Sometimes you actually do, but not always (I remember my assembly days when I would write cool programs to manipulate the FAT information on
May 27, 2013 1 min read
Proper python versioning
best

Proper python versioning

The past few days I was performing an initial deployment on a new cloud provider. During my initial runs, I have discovered a couple of snags in my applications (migration issues etc.) I've noticed that performing repetitive builds of my apps would yield the same numbers and there
May 21, 2013 1 min read
Improve S3Boto Django-Storages Performance with Custom Settings
amazon

Improve S3Boto Django-Storages Performance with Custom Settings

Django-storages is a great piece of software. It provides an uniform API for all kind of file storage backends, including Amazon's S3. I use it for storing assets (the /static/ and /media/) for my django app. However, particularly with the /static/ assets, I've noticed firebug/yslow
May 13, 2013 3 min read
Deploy django application with private dependencies on dotcloud
dependency

Deploy django application with private dependencies on dotcloud

Update: This is an outdated entry. DotCloud went to cloudControl, which joined ExoScale These days I'm trying to deploy an application on a something quicker than my shared host (dreamhost.com). Not that there's anything wrong with this provider (this blog is on it), but the
Jan 28, 2013 5 min read
Updatad my android phone
Paid-members only
galaxy

Updatad my android phone

Jan 14, 2013 2 min read
Updatad my Android Phone... 10 Years Ago
galaxy

Updatad my Android Phone... 10 Years Ago

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. After reading a rottmann.net article, I got restless because my Galaxy Nexus phone was only 4.1.1. and wouldn't update. Initially, I thought it was like that because I got it
Jan 14, 2013 2 min read
Samsung galaxy S II, Samsung Note and Galaxy Nexus compared - All in one
comparison

Samsung galaxy S II, Samsung Note and Galaxy Nexus compared - All in one

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. To make things a bit easier than looking at three parts, I'm combining everything in a single (huge) table. Enjoy! Galaxy S II Galaxy Nexus Galaxy Note Generic Band Quad, WCDMA Quad, WCDMA
Nov 10, 2011 2 min read
Dreamhost outage
dreamhost

Dreamhost outage

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. I've been experiencing some outage from my hosting service. Apparently, it's getting better. Update: It's almost fixed now.
Mar 15, 2011
Sonos sound system
logitech

Sonos sound system

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. We were sick and tired of having to switch on the TV (and the amp) to be able to listen to music from the Popcorn Hour. So I started to investigate what sort of streaming
Oct 31, 2010 4 min read
Custom saving path for FileField
custom

Custom saving path for FileField

Saving FileFields is pretty annoying anyway (all the manual stuff, saving chunks by hand...). The top bother is actually the limited way of creating paths: In MEDIA_ROOT, only with strftime arguments. While this does limit the number of files in a directory, it's not as customisable as
Aug 30, 2010 1 min read
MacPorts Berkley-DB 4 problem and work around
berkley

MacPorts Berkley-DB 4 problem and work around

I've upgraded my MacPro's hardware a bit the other day and I've noticed that something went bye-bye when running eclipse. Namely eclipse itself wasn't working anymore. So I thought: What a great opportunity to do an update (eclipse, jdk...). And MacPorts. Because
Aug 15, 2010 2 min read
Web services: Create a client with wsimport
client

Web services: Create a client with wsimport

Following is a quick tutorial on how to create/use a web service (WS) client with wsimport. Recently, I have been playing with creating a client to a WS using wsimport. Why wsimport? Because I've hass the WS server (using AXIS) and a bunch of source code generated
May 14, 2010 6 min read
Huawei E169,Tele2Tango and Snow Leopard
e169

Huawei E169,Tele2Tango and Snow Leopard

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. Last week I've installed Snow leopard on my MacBook and noticed (not really surprised) that the installation program from my "Tele2Tango" Huawei e169 crashed miserably. Here's the first application
Sep 18, 2009 1 min read
iPhone
c

iPhone

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. Last week I've got an iPhone! :) 8G. Cute little toy... I've managed to compile the toolchain for linux last night and installed my first compiled app: the Terminal.app. I'
Nov 16, 2007 1 min read
DBus and Qt programming - part 2
cpp

DBus and Qt programming - part 2

Note: This is a really old post which was originally published in 2007. Stuff may have changed since both with Qt and D-BUS The D-Bus translation First, note the "arg0" annotation, required for the struct type: <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="
Mar 26, 2007 3 min read
DBus and Qt programming
c

DBus and Qt programming

For the past few days I've been trying to get more complex data sent via D-Bus. As one would say here in Ireland: Je'zus H. Christ Playing with python was easy. There are lots of examples on communicating complex data structures. But with Qt... It'
Mar 22, 2007 4 min read
Some updates...
dbus

Some updates...

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. First message! I've got my first D-BUS message sent from the style UI to the server. It's an "add style" message, but there's not much beyond this
Feb 15, 2007 1 min read
Vista Ultimate OEM
licence

Vista Ultimate OEM

I'm installing a copy of vista ultimate on my desktop. I've got the ultimate because it has everything... including the media center and backup. Which is rather useful. The installation is on a non-clean HDD, which has already linux installed on it. First Try Had a
Feb 9, 2007 1 min read
How to update a PSP firmware to 3.03 OE: from A to Z
firmware

How to update a PSP firmware to 3.03 OE: from A to Z

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. I wanted to be able to write my own PSP applications for a while, so I've looked around and update my PSP to a custom firmware... Here's how I did it:
Jan 26, 2007 2 min read
Opteron
amd

Opteron

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. I've updated the "multimedia" desktop to an Opteron 170 (dual core) from newwgg. I don't see any difference yet, but I haven't yet compiled or ran anything
Jan 25, 2007 1 min read
iPhone Dismantled: 1. An analisys of the introduction
iphone

iPhone Dismantled: 1. An analisys of the introduction

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. It's out! Oh, wait, it isn't! When I've almost quit waiting for a phone from Apple, there it pops up... When I've first watched S.J.'
Jan 11, 2007 6 min read
Qt4 IDEs
ide

Qt4 IDEs

Note: This is a post transferred from Laurii for historical and consolidation purposes. Qt4 is quite a nice piece of work. too bad that not too many devel tools actually support it in a decent way... I've tried: * kdevelop * nedit/emacs * Cobras * Monkey Studio * eclipse I've
Dec 4, 2006 3 min read
← Newer Posts Page 24 of 26 Older Posts →
Laur's blog © 2026
  • Sign up
Powered by Ghost