Where does Windows Live Writer store themes

Windows Live Writer makes a local copy of your website images and style sheets everytime you click on the Update Theme button located in the Blog Account ribbon. You can find your local CSS file(s) in the following folder on Windows 7: C:UsersYour NameAppDataRoamingWindows Live Writerblogtemplates If you only have one blog, you are lucky….

How to install Wt (Witty) on Windows

Installing Wt can be a challenging task if you don’t have the right tools. I spent many days trying to make it work with MinGW and Visual Studio 2005. No luck. Here are some of my results: MinGW I was never able to make a full compile. It was interrupted by this or that reason….

Child memories…

We were so nerds… C:>debug a mov ah,9 mov dx,108 int 21 ret db ‘hello world$’ r cx 14 n hello.com w q

How to install the C++ Boost Libraries on Windows

Boost is a set of high-quality libraries that speed up C++ development. They are included in most linux distributions and some of them are already part of the C++ Standard Library. In the Windows environment, you have to install them in order to take advantage of them. If you are using Microsoft Visual Studio, you…

One-liner to minimize your CSS files

The following one-liner will help you remove comments, spaces, and more from your CSS files. Suggestions are always welcomed. Important: Before running this command, create a copy of your original file. Try the resulting CSS in a test environment before releasing it. cat style.css | sed -e ‘ s/^[ t]*//g; # leading spaces s/[ t]*$//g;…

Installing gcc/g++ using MinGW and NetBeans in Windows

C and C++ languages are everywhere. All operating systems use them. People usually choose them because of their limitless power, velocity of execution, great portability and much more. In this tutorial I will show you how to install a C/C++ development environment under Windows. By the way, MinGW includes other compilers for languages like c,…

Switch from Debug to Release build options in Delphi

Unlike Microsoft’s Visual Studio, the option to switch from Debug to Release in Delphi is kind of hidden. However, it is very easy to use. Go to the Project menu and select Configuration Manager Now select your project, Choose a new configuration and Press the “play” button.   The following picture shows you how the…

Working with dynamic arrays in Delphi

One advantage of Delphi’s dynamic arrays is that they are automatically freed once they go out of scope. That simplifies memory management and gives you more flexibility on your applications. You can declare a dynamic array like this: Customers: array of string;   Before adding an element, you have to call the SetLength function to…

Tips to help you deal with Delphi Threads

Multithreading is one of those operating systems feaures that make your programs work in a more efficient way and give your users a better interactive interface. However they are not used by all developers. In this article I will focus on some important points you must have in mind when using threads on Delphi.  …

Minor changes

I have applied some minor changes to this website: caching – to improve performance – and micro-blogging entries. Later I will add some style to the micro-entries.

Exchange: The database files in this storage are inconsistent

This morning I got a new surprise from my Exchange server. Outlook clients could not connect to the servers, however the server seemed to be working pretty normal. After some research I found out the Exchange databases were corrupted. But, how did this happen? Well, they can get corrupted when Windows is not shutdown in…

Creating Shortcodes in WordPress

Shortcodes enable developers to create special kinds of content, following the idea of macros. One very famous short code is “gallery” needed to insert a gallery of images into a post. The good thing about shortcode’s is that final users are free to decide where to insert them. WordPress’s Shortcode API handles all the tricky…

Add a Thumbnail to Admin Post Columns in WordPress

Here is a snippet to add 64×64 images to the Admin Post Columns in WordPress. Having thumbnails may result extremely helpful, specially if you have hundreds of posts. You have to copy and paste the following code into the functions.php file of your theme. function posts_columns($defaults){ $defaults[‘the_post_thumbs’] = __(‘Thumbs’); return $defaults; } function posts_custom_columns($column_name, $id){…

How I made my HP LaserJet P1102w work with my iPad

I got an HP LaserJet P1102w about a year ago, so long before I thought I was going to get an Apple’s iOS device. I purchased it just because I thought it would be useful to have a printer that could work wirelessly. At that time I made it work using wireless, but for some…

Download YouTube videos using Java

From time to time we all have needed to show a YouTube video where no Internet connection is available. This program will allow you to download a video from YouTube for later playback. It is important to say that YouTube constantly changes its video URL, so someday it may need some rework. The following code…

Free Image Resizer for Windows

This time I want to share with you a Windows application for image resizing. It’s a fact, size matters. That is why Image Resizer can be very useful for sharing pictures through email, uploading images to websites or posting them to social networks. If your images are smaller, then it will take you less time…

How to avoid spam on Android's message bar

Recently, I started to get some really anoying spam messages from an unknown application on my phone’s message bar. Different icons were showing like stars, plus signs, check marks and so on. When you select any of this messages your browser opens and takes you to the leadbolt website. These ads started to become something…