Category Archive For "Random"
How To Merge Your .Po File With New .Pot File From Vendor
I’ve seen a number of people complain on ThemeForest and StackOverflow about losing their translations when vendors (read theme or plugin developers) release new versions of language .pot files for their products. If you have translated a product .pot file into a .po file for your locale, and the product vendor releases a new version …
How To Escape Square Brackets in SQL
I was writing a batch replace query in SqlServer today and ran into an interesting issue. How do I string replace a square bracket [ in a text field using the LIKE operator?
Call to undefined function curl_init()?
If you encounter the following error when calling the php function curl_init the PHP curl extension is most likely not enabled on your server. Call to undefined function curl_init() In order to continue coding, you need to enable the PHP curl extension. To do so you need to edit the server’s php.ini file and uncomment …
How To Export Query Results in PHPMyAdmin
If, like myself, you often use the excellent phpmyadmin opensource software to access your mysql server, here is a quick way you can export the results of a mysql query into common formats like CSV, sql, zip using the phpmyadmin interface. In phpmyadmin run your query. Once you are presented with the query results, scroll …
Malwarebytes has successfully blocked access to a potentially malicious website
I’ve just finished dealing with the worst malware attack I have ever had to deal with, period. I’ve been a software professional for 9 years and not once have I felt as hopeless as during periods of today while fixing the malware issue I will describe below. Over the last day or so my Malwarebytes …
Table Indexes Hidden in PHPMyAdmin
I was doing some mysql work for a WordPress database which required me to use the dbDelta function (more on that in another post) a number of times and after a while I found that the constant recreation of UNIQUE KEY indexes caused my db to run out of index resources, throwing me the following …
Error 1001 : The specified service has been marked for deletion
When you uninstall and then subsequently attempt to re-install a windows service you might run into this annoying error which will prevent you from completing the re-installation process: Error 1001 : The specified service has been marked for deletion In the past, a simple restart of your machine would have solved the problem, however Jóhannes …
How To Rename A File To .htaccess In Windows
If you are looking to rename a file like htaccess.txt to .htaccess and you are stumped because when you attempt to right click and “rename” you get a “You must type a file name” error, below is what you can do. Go to Start -> Run -> cmd. Once inside command prompt navigate to the …
Host Multiple Websites On Localhost For Testing Purposes
I run a LAMP (Linux/Apache/Mysql/Php) setup on my local machine where I do all development and testing before updating production websites. This enables a smooth transition of code changes from test version to production grade with minimum interruption to production websites. In order to achieve this local machine test environment, I have configured local versions …
How To Burn An ISO Image To Disc
The other day I had to burn an ISO image (Visual Studio 2010 Trial version) to a DVD in order to be able to run the installer on my Windows 7. I haven’t purchased Nero or any other burning software, and a licensed version of it didn’t come with my laptop so for a moment …
Recent Comments