I was doing some simple CSS transitions like transition: left 0.5s ease-in-out 1 and they were working just fine in Chrome but Firefox and Internet Explorer either wouldn’t use the transitions or they wouldn’t work the first time but subsequent times they would. So if I had an arrow that moved something…
DO NOT SEND ME MY PASSWORD. EVER!!!
I can’t believe anyone would actually transmit a password in the clear in this day and age. Especially a tech(-ish) company. Just signed up for an API key at a screen shot place (won’t name but people can guess) and they sent me my password via email. Thank you for…
*** failed to import extension kilnauth from ~/KilnExtensions/kilnauth.py: invalid syntax
You might run into this error message if you’ve got an older version of python installed. The problem is the newer with syntax: with open(self.__temporary_path, ‘r’) as f: before = md5(f.read()).digest() The solution is to just convert it to try/finally f = open(self.__temporary_path, ‘rb’) try: before = md5(f.read()).digest() finally: f.close()
MySqlDump to individual files and restoring again
Make sure that your mysql user has permission to access the file system (the FILE privilege). GRANT ALL does not do this. You can check your user by doing: select user, host, file_priv from mysql.user; To enable: grant FILE on *.* to ‘root’@’localhost’;flush privileges; Also make sure that mysqld can…
iTextSharp slightly smarter text extraction strategy
iTextSharp’s SimpleTextExtractionStrategy is great but it is simple as the name implies. It can detect new lines pretty well but it has no care for the order of the lines themselves. If your PDF isn’t written top to bottom (as many PDFs aren’t) you’ll get everything out of order. The code…
Error when resizing VirtualBox disk on Windows
I recently needed to resize my CentOS VDI using the following command: “c:\Program Files\Oracle\VirtualBox\VBoxManage.exe” modifyhd “c:\CentOS\CentOS.vdi” –resize 20480 Unfortunately it kept failing with this error message: VBoxManage.exe: error: Failed to create the VirtualBox object! VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) – Server execution failed (extended info not available) VBoxManage.exe: error: Most…
Webalizer on Windows
This post is really only some notes for me on how to use Webalizer on Windows to parse IIS log files (w3c format). If you have any questions about this please DO NOT ASK ME. Download and extract the Windows binaries Download and unzip/untar the latest GeoDB to the same directory…
Crashplan GUI Crashing
We had a machine with a very large backup set (~3TB) with some large DV files (~4GB). For a while our backups were running fine but recently whenever we tried launching the Crashplan GUI it would run for a little bit, hang and then finally crash. Nothing showed up in…
Allow WordPress to update itself without using FTP
Quick and simple, if you want to avoid putting FTP credentials into WordPress every time that you perform an update add this to your wp-config.php file somewhere before the magic stop line (“That’s all, stop editing!”) define(‘FS_METHOD’, ‘direct’); More from the codex here You might also need to mess with…