It seems that some lame light version of VIM gets installed with Ubuntu by default. A specific situation I was running into was that whenever I pressed a cursor key while in edit mode it wouldn’t move the cursor but instead write a character (A,B,C,D) to the file. After fighting with it for a while I […]
Code to A/B Test CTAs (Images + Links)
I’m looking for some copy/paste code that I can use to do some A/B testing on different calls-to-action – images and associated alt tags and links. What I envision would have some javascript building an array with all the needed details, then randomizing a number to select which item to display <-this part is easy […]
javascriptUpdate Your WordPress Database Connection String
I recently decided to create a test/development instance of a WordPress site that I run. In part of doing this I had to deal with how to backup one MySQL database and restore it to another database. After that was done, and I copied over the content files, I had to tell WordPress where to […]
cytanium, Hosting, MySQL, System Administration, WordpressRestore MySQL Dump File to a Different Database Name
Today I had to take a MySQL database backup from one database and then restore it to a different database name (for development/testing purposes). I tried a number of different tricks that I found online through Google without any success. The issue was that the user I was using to restore the data was NOT […]
cytanium, Hosting, MySQL, tipWordPress: Redirect One Domain to Another
I have multiple domains pointed to certain WordPress installations that I run. Some people have setups like this and run multiple sites in their WP install. I, on the other hand though, wanted to redirect all requests for certain domains to a single domain. Basically consolidating the domains so the users all wind up on […]
cytanium, Hosting, WordpressOrchard Memory Usage and Performance
A guest post by Rick Barber – a senior technical lead over at managed Windows host OrcsWeb: At OrcsWeb we recently came across an issue where a user was having performance issues with a bare-bones Orchard installation on a shared server. We tried to reproduce the issue and sure enough, any time the site was […]
ASP.NET, Hosting, IIS, OrcsWebUsing Log Parser to Query Event Log Data
Did you know Log Parser could not only query IIS logs but also Event Viewer logs and more? If not, check out this post… Hi Everyone! While I primarily enjoy deep-diving into SQL Server techniques and troubleshooting, I also troubleshoot issues on Windows servers in general. One place I always look as a starting point […]
Creating Multiple 301 Redirects with a URL Rewrite Map
Here’s a good post about using a URL ReWrite Map to manage redirects for your site. Anyone who has set up 301 redirects for their site (which should be anyone who has ever renamed a page or moved content) knows how much of a hassle it can sometimes be managing multiple rules. This article shows […]
How To Set Up Custom Error Pages In IIS 7
Here’s a great post by Jamie at OrcsWeb about setting up custom error pages in IIS7: This blog post will explain how to configure custom error pages in IIS (Internet Information Server). For this example we will be using IIS 7.5 which shipped with Windows Server 2008 R2. If we configure .NET Error Pages at the […]