Well I got this trying to install gem using Netbeans on Windows:
"ERROR: While executing gem … (IOError) Access is denied"
It cost me ours to figure out what was the problem. Netbeans was trying to write to local ruby gems directory which is likely to on the system disk and is protected by Windows. The solution is simple:
Just run Netbeans “As Administrator”. I suppose you know how to do this since many program would have similar problem. In the case you are not sure, please right click you Netbeans startup icon and choose “Run as administrator” on the dialog.
Sometimes you want to tell if your Linux installation is 32 bit or 64 bit.
Short story:
just type this:
getconf LONG_BIT
Read more…
If you have two or more domains / sites, it is a headache to track all of them using Google Analytics. Yes you can track 10 sites using 10 profiles, but you lost the whole picture. Here is how to track multiple domains using a single profile (so-called cross domains tracking).
Read more…
Update: This post is outdated. All in one installer for 1.9 is out now, you should use it if you need 1.9 on windows. Get it here http://rubyforge.org/frs/?group_id=167
Ruby has “all-in-one” installer for Windows, but it is outdated. As of May 2009, Ruby 1.9.1 is released, the installer is still 1.8.6. If you want the latest version, you need the zip package. But the zip package is missing zlib.dll, libeay32.dll, ssleay32.dll and readline.dll . Here is how to install it on windows. Read more…
WordPress doesn’t provide an “Hello world” plugin tutorial. There are some links to 3rd party tutorials, but those samples are years old and doing stuff in old way.
It doesn’t have to be that complex. I will demonstrate how to create a simple plugin in 20 lines, the plugin can add some HTML to page footer and/or post. Read more…