Lately I’ve been trying to run some load scripts that basically take data from mySQL and convert them to a Redis Luke Protocol. Part of the reason why I wrote it in Java was because the cached object needed to be Java serialized.

I ran into some issues while running some tests. It seems that my Eclipse memory heap was not big enough. Here are steps to increasing it.

1. Open Eclipse
2. Eclipse > Preferences > Java > Installed JREs


3. Select the current JRE
4. Select “Edit”
5. Modify the default JVM properties to something like:
-Xms512M -Xmx1024M


creating a USB install disk is super easy now.

1. Download the Mavericks installer
2. it should be located /Applications/Install\ OS\ X\
3. Open up terminal and navigate into the Resources section of the app
/Applications/Install\ OS\ X\
4. Run the following command:
sudo ./createinstallmedia --volume /Volumes/ToFormat --applicationpath /Applications/Install\ OS\ X\

* notice that we named our volume “ToFormat”, you must insert the name of the volume you want to reformat.
** there are some other instructions on the internet, which require you to search for the base system.dmg, but the issue with that method is that it does not automatically create a recovery hd partition, so that features like file vault are not available.

When attempting to use php micro frameworks on 1and1, the key is having the correct .htaccess file

if should look like this:
Options +FollowSymLinks -MultiViews

AddType x-mapp-php6 .php
AddHandler x-mapp-php6 .php

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]