Here’s a code sample showing a quick and easy way to loop through the results of a SQL query and display them on a web page in a list.
Got this error today while tinkering with some code in Visual Studio 2013: “Changes are not allowed while code is running”. I did click run earlier to check on something, but I had closed out the browser. So, to me, the code wasn’t running. But really it was. I scratched my chin for a second […]Visual Studio
I sent most of this past weekend trying to get a nice looking responsive table to work. At first I tried to mess with it from scratch. Then someone recommended I look into Twitter Bootstrap. Wow, am I glad I looked into Bootstrap because that has saved a ton of frustration. Okay, so I have […]css, Hosting, Learning, tip, Troubleshooting
I’ve had issues getting Git running on my development instance. The first installation appeared to go through but Git wasn’t working – it threw random errors trying to get a clone. So I uninstalled then tried re-installing but each time I got an error message of “Couldn’t update submodule git!” Thankfully, after scouring the web […]
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 […]Linux, Ubuntu
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, Wordpress
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, tip
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, Wordpress