I have released my first Maven artifacts to the Central Repository through Sonatype’s Open Source Nexus Server. You have to jump through some hoops to get everything just right to be able to release to the Sonatype Nexus repository, and I could not find all the information I needed in one place so I will [...]
Here’s the command to install an alternative installation of Java: I installed JDK 6u22 from the executable rpm.bin file from the Oracle site. Then I ran this command to add it to the alternatives program. alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_22/bin/java 99 then you just run alternatives –config java There are 3 programs which provide ‘java’. [...]
Apparently Python 2.7 doesn’t come with setuptools installed, and thus, easy_install doesn’t work. I really miss my OSX, but this new job requires Windows because we have SDKs that we work with that are Windows only. So be sure to download and run ez_setup.py after you install Python 2.7, and then be sure to add [...]
I need to get the PID of a running Java process, in this case Glassfish 3 to see if it is running before I run some asadmin commands. ps -ax | grep "java -cp /opt/bmam/glassfish" | grep -v "grep" | cut -d " " -f 1 26306
If you make changes to your /etc/hosts file and want the changes to take effect immediately without having to reboot issue the following command at in the Terminal dscacheutil -flushcache
I am working on a Desktop Application project that will need scripting support, specifically scripting support for people familiar with web development. Even though I have prior experience successfully embedding both Lua and Python in server side applications, I have picked Javascript for this project. Mainly for the low barrier to entry for web developers, [...]
I just found this site that lets you see what your pages look like in a bunch of different browsers on a bunch of different operating systems.
I just spent a good bit of time searching Google on how to get MacFuse working my 64bit Snow Leopard (10.6.3) machine. Here is what I found. MacFuse for Snow Leopard ( 10.6.3 ) You don’t really need MacFusion 2 but it puts a nice interface on MacFuse. It included the SSHFS and FTPFS files [...]
I was getting Out of Memory Error: can’t create native thread errors on a server, and it was definately not running out of memory, so I hacked this little program together to tell me how many threads I should be able to create. 64K is the minimum stack size that Java will allow on an [...]
The problem with getting CouchDB to install and run correctly in 64 bit mode of OSX 10.6.x is that the ICU dependency has a broken configure script that just won’t compile in 64 bit mode, even with the correct arguments passed in. The solution is to patch up the configure script and force it to [...]