Swiss Army knife, a red and silver multi tool

Windows Server

Last updated:

Target multiple ASP.NET versions with AppCmd.exe

Address both x86 and x64 versions of .NET with AppCmd. When administering an IIS web server you frequently have to use AppCmd.exe to make configuration changes. Whether it is for a specific web site or server wide. Some think AppCmd is very limited, but here is how you can target multiple ASP.NET versions with AppCmd!

Web applications

Last updated:

Optimize images for the web in bulk

Lossless compress and optimize hundreds of PNG images for the web in bulk, using OptiPNG on the Windows command line.

Open-Xchange logo

GNU/Linux

Last updated:

Mount an Open-Xchange InfoStore on Linux

How to access and mount your Open-Xchange WebDAV InfoStore (OX Drive) on Linux with mount.davfs, or in a file manager like Dolphin.

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Codebase

Last updated:

Optimize all MySQL tables with MySQLi multi_query

PHP MySQLi extension supports multiple queries which are concatenated by a semicolon. We can use this to optimize all MySQL tables in one single multi_query statement.

Windows Server logo

Windows Server

Last updated:

Delete files recursively with ForFiles in Windows Server

The Forfiles command on Windows selects and executes a command on a file or set of files. Forfiles is ideal for batch processing through scripts, for instance on Windows Server systems. With Forfiles, you can run a command on or pass arguments to multiple files. For example, you could run the type or del command on all files in a tree with the .txt extension.

WordPress

Last updated:

Block WordPress comment spammers manually

The less spammers hit your WordPress blog, the better your blog performs, is one of my opinions. A second is, the less unnecessary plugins you use on your WordPress blog, the better. So, a little while ago I decided to remove plugins like Stop Spammer Registration Plugin and do its work myself.

Windows Server

Last updated:

Create your own CDN using IIS Outbound Rules

Use IIS Outbound Rules and URL Rewrite Module to create a custom created Content Delivery Network (CDN) for static content ofloading and speed-up your website.

WordPress

Last updated:

WordPress CMS admin password reset

Lost or forgotten your WordPress admin password? Reset it with a MySQL query, through functions.php over FTP, or with the lost password feature.

MySql.Data.MySqlClient ASP.NET test script

Windows Server

Last updated:

ASP.NET performance: what to keep in mind

Valuable articles about ASP.NET performance I frequently pass on to customers, so they can improve their ASP.NET web applications.

GNU/Linux

Last updated:

Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w

I was FedUp with Fedora Core 17/18 after a day, so I decided to return to my old love: Debian GNU/Linux. It's been a couple of years, but I'm happy to be back! Just run the netinst installer which will take care of the most.

Web applications

Last updated:

Connect to SqlCe (SQL Server Compact) database from ASP

Here is how to install the Microsoft.SQLSERVER.CE.OLEDB.4.0 Provider and use classic ASP to connect to an SqlCe (SQL Server Compact) database sdf file, as a Microsoft Access database replacement.