For a small application I wanted to write, I wanted to make a progressbar that is a circle instead of a normal horizontal bar. I wanted to press a button, which is just a normal image and then have a circle go around it, showing the progress.
Read more →I admit, I have a big passion for writing useful extension methods in C#. I love how easy they make my job and keep me from writing code over and over again. There are some methods I use regularly and most of them apply to the string
Read more →For a project I am doing for a client, I needed to layout text around a circle in objective-C. I spend a couple of hours searching the internet for this, but somehow when people succeed in doing this, they don’t post their solution online. So, I made
Read more →I have been working with Freebase lately and they sometimes encode their strings, so that “special” characters are encoded in HEX. For example, sometimes you receive a string like this: Terminator_2$003A_Judgment_Day. I wanted to convert the weird encoding they use, so I wrote a piece of code
Read more →I have been working on my YourRid.es project a bit lately and one of the things I wanted to put in place, was a good logging system. Most of the time I just use a custom build (read: my own shit) logger, but this time I found
Read more →For WallPaper I download numerous thumbnails from my webserver at the same time. This is causing slowing speeds (to many threads at once), and too much memory usage (too much image data cached at once). So I looked in queueing the downloads and tried (ofcourse) writing my
Read more →I have been playing around with jQuery a bit lately and I wanted to use the nice dialog boxes on my new project. The problem with the dialog boxes is, that they do not create a postback when one of the buttons is clicked. Also the values
Read more →We all know this problem, when publishing your web applications to different servers, you always need to take extra care of your config files. Because database connections and physical paths stored in the web.config are machine specific. Well there is no real solution for this kind of
Read more →As I mentioned earlier, I moved my hosting to MyDomain.com, which has a nice Windows based hosting plan. There is only one problem, they are running .NET Framework 2.0 and don’t have the intention to actually upgrade it for you. I wrote the backend of my iPhone
Read more →I have been looking around the net to find the best way to keep track of the total number of concurrent sessions. There is one piece of code, that is posted on a lot of websites. The code that I find mostly is the following (I editted
Read more →




Recent Comments