"Never memorize something you can look up", Albert Einstein

Blog overview

XCode C MySQL Connector

Categories: C++ Mac

I found out adding the MySQL library to XCode was more work than I excepted. So here’s a short overview of everything you need to configure for XCode to build against MySQL. Download MySQL Connector for C https://dev.mysql.com/downloads/connector/c/ Start a new project in XCode (DUH!) Add ‘lib/libmysqlclient.dylib’ to ‘Link Binary…

 

Most used UNIX commands

Categories: Unix

I love my Unix shell for quickly adjusting files or moving them to and from. The only problem with the shell on Unix-based systems is that you can forget these commands if you don’t use them on a regular base, I’ve got a big collection of these commands on Evernote,…

 

Apache htpasswd if not certain IP

Categories: Other

This is a reoccuring problem I frequently come across when developing website’s: You have one or more files that are accessible from the web but you only want them to be available when the user enters the right user/password combination. No problem you say here with an htaccess/htpasswd protection this…

 

Windows cd-player error 39 in device manager

Categories: Windows

When windows doesn’t show your cd-player on this computer and device manager reports an error 39. Uninstall driver in device manager and search for hardware Check if you can start a bootable cd from the BIOS, like the WindowsXP install CD If not bootable Check BIOS settings Pull out the…

 

AOP JADE configure in Eclipse and NetBeans

Categories: Java

This week we started again with school and one of the new lessons we follow talks about Agent Oriented Programming. With Java Agent Development Framework (JADE) we had to show a ‘Hello World’, well getting this to work was less easy than we imagined, so here a small guide with…

 

VI add prefix to CSS entries

Categories: Unix

I needed to add the prefix div#wiki to all declarations in a CSS-file, my trick: Format the CSS-file in Eclipse Run this simple search and replace in VI(M) :%s/^.*{/div#wiki &/g Edit: Updated

 

SWFObject 1 and 2 compatible code

Categories: Other

At our work we frequently have to work with deprecated code and frameworks, today I was confronted with the problem that I got code that has to run on a website with the latest SWFObject (2) and an older version (1), you probably know that both versions have another syntax…

 

Aspect Oriented Programming AOP short review

Categories: Java Other

Recently we had to do a presentation about crosscutting concerns and possible solutions during a class on my school. During our research we found one possible solution for crosscutting solutions that is at the moment still a discussion point whether it’s a good Object Oriented Programming (OOP) followup. In this…

 


Page 1 of 4 pages  1 2 3 >  Last »