Wednesday, December 7, 2011
Icons, Icons, Icons
The following is a list of different icon libraries, I often use when developing web - and mobile solutions:
Tuesday, May 24, 2011
Map ls to dir on Windows
Now I'm both a Mac and a Windows user, and when I'm in the command prompt on my Windows machine, I can't stop typing "ls" instead of "dir" to list directories.
Luckily I found this great (and very simple) tip at http://allinthehead.com/retro/131/dir-vs-ls, on how to map the key combination "ls" to "dir".
- Open a new text file, type: dir
- Save as ls.bat in C:\Windows\System32\
The only thing is, that this tip does not map dir options such as the wildcard (*) parameter.
Saturday, May 14, 2011
Got myself a new Man Purse
I am looking forward to try out my new man-purse from Tom Bihn equiped with iPad pocket and everything.
So far, I am able to fit everything inside that I got in my existing Tausche messenger bag, but it is half the size.
Monday, April 18, 2011
Quick and Dirty JSON String Serializer in C#
using System.Web.Script.Serialization; private string SerializeJsonString(string input) { JavaScriptSerializer serializer = new JavaScriptSerializer(); return serializer.Serialize(input); }
Monday, April 18, 2011
AJAX Loader GIF animation
When in need of a fancy AJAX loading GIF animation, I always seem to find what I need here:
Sunday, April 17, 2011
Tips on getting your Python App Engine Dev environment up and running
Install PIL
I had some problems getting the testbed unit testing framework up-and-running (see my StackOverflow entry), but it turned out I was missing Python Imaging Library (or PIL).
Instructions on how to install it can be found here.
Fix the "No ssl package found" warning
In order to remove the warning "No ssl package found. urlfetch will not be able to validate SSL certificates", you must install ssl:
Download the ssl package here: http://pypi.python.org/pypi/ssl
cd ~/Downloads tar zxvf ssl-1.15.tar.gz cd ssl-1.1 python setup.py build python setup.py install
Sunday, April 17, 2011
How to make a Python script executable on Mac OS X
I found this link on how to make a Python script executable on Unix systems (including Mac OS X):
http://effbot.org/pyfaq/how-do-i-make-a-python-script-executable-on-unix.htm
This saves me the time when executing e.g. my run test scripts.
Saturday, April 24, 2010
Visual Studio Tip: Reference files in Project Directory.
Here is a nice little tip to reference files located in Visual Studio project directory, when running the project from within Visual Studio.
Use the following code:
string path = Path.Combine(Environment.CurrentDirectory,
@"..\..\Test.xml");
Wednesday, December 2, 2009
Using doskey macrofile to optimize work within the Command Prompt
The following is helpfull little tip to create shortcuts to commonly used applications when working in the command prompt.
1. Create a new doskey macrofile (e.g. notepad c:\doskey)2. Edit doskey macrofile to include all your shortcuts:
sub="C:\Program Files\Sublime Text\sublimetext.exe" $* ie="C:\Program Files\Internet Explorer\iexplore.exe"
3. Change cmd.exe shortcut to include the following doskey command:
%SystemRoot%\system32\cmd.exe /k doskey /macrofile=c:\doskey
Relevant doskey links:
Loading doskey automatically with CMD
DOSKEY – set shortcuts for DOS commands


My name is Lars Hundebøl and I work for 
propellerhead