Brilliant JavaScript file upload function

I’ve seen various attempts to use JavaScript to customise the file upload button. The browsers historically do not lend themselves to making this easy to achieve due to security considerations – the idea is not to make it simple for anyone to upload a file from the PC to a remote website without the user …

Continue reading ‘Brilliant JavaScript file upload function’ »

Trying to get cordova sample running on iPhone

To run our Cordova sample on iOS, I’m using a Mac OS/X Maverics with Xcode 5.02 installed. To add ios support in our compass application, from within the compass directory, issue: cordova platform add ios This went smoothly. Next, building the project: cordova build ios This also went smoothly. Finally: cordova run ios This yielded: …

Continue reading ‘Trying to get cordova sample running on iPhone’ »

Various Linux tips

Just some notes that have accumulated: when trying to mount a remote windows NTFS system via: sudo mount -t cifs //192.168.0.112/E -o username=Administrator,password=mypass /home/me/mybackup/ and receiving: wrong fs type bad option bad superblock on … this is because the cifs flag requires: $ sudo apt-get install smbfs more info here Adding a program to unity …

Continue reading ‘Various Linux tips’ »

Install PHP-FPM and MySQL on nginx in OS/X Mountain Lion

I found a good walkthrough the easy way at this page I’m replicating the text here in case it’s gets lost but the credit goes to Matthew Holt _______________ What follows is the text taken from Mathew’s blog: Install Homebrew ∞ In case you haven’t already, install Homebrew by following the instructions at the bottom …

Continue reading ‘Install PHP-FPM and MySQL on nginx in OS/X Mountain Lion’ »

My JavaScript Game OpenSourced

The JavaScript Scrabble game that I wrote almost a year ago has been sitting abandoned so I released it as public domain at github for the off chance that someone would like to join the development. The game is here: http://amnond.github.io/jscrab/ It can be cloned from: https://github.com/amnond/jscrab