Choosing a Windows automation scripting language. AutoIt vs Autohotkey

I’ve used both very much. AutoHotKey is very good at managing hotkeys and basic GUI automation. It’s syntax is horrible and it’s not meant for bigger applications. AutoIt has almost every feature AutoHotKey has and much more. COM-automation support, arrays and a pretty nice UDF (User Defined Functions) library. It’s harder to build complex hotkeys … Read more

Npm Please try using this command again as root/administrator

It turns out that you don’t have to run the command again as Administrator, and doing so won’t fix the problem. Try: npm cache clean first. If that doesn’t fix things, take a look in %APPDATA%\npm-cache, or if you’re using PowerShell, $env:APPDATA\npm-cache. After cleaning the cache, you may still be left with remnants. Manually remove everything in that … Read more

Shared folder between MacOSX and Windows on Virtual Box

Edit 4+ years later after the original reply in 2015, virtualbox.org now offers an official user manual in both html and pdf formats, which effectively deprecates the previous version of this answer: Step 3 (Guest Additions) mentioned in this response as well as several others, is discussed in great detail in manual sections 4.1 and 4.2 Step 1 (Shared Folders Setting in … Read more

Docker for Windows error: “Hardware assisted virtualization and data execution protection must be enabled in the BIOS”

If the features described are enabled, the problem is with Hyper-V that is disabled or Hypervisor agent not running. SOLUTION A (If Hyper-V is totally disabled or not installed) Open PowerShell as administrator and Enable Hyper-V withdism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All SOLUTION B (If Hyper-V feature is already enabled but doesn’t work) Enable Hypervisor with Now restart the … Read more

Extracting .jar file with command line

From the docs: To extract the files from a jar file, use x, as in: To extract only certain files from a jar file, supply their filenames: The folder where jar is probably isn’t C:\Java for you, on my Windows partition it’s: Unless the location of jar is in your path environment variable, you’ll have to specify the full path/run the program from … Read more

Create PDF file using PHP

I have used TCPDF with much success to generate PDF files programatically using PHP. And to generate word documents: http://www.phpdocx.com/ (this is a paid solution).

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)