Home

Wilder Tweedale - blog

Navigation

Mobile-Friendly jQuery Datepicker: Pickadate.js

Pickadate.js is a great lightweight datepicker jQuery plugin that is optimized / usable on iOS Safari and Android browser. It has a nice set of customization / initialization options, and a solid set of events to listen for. Great browser support too. (IE7+)

How to Emulate Mobile Devices in Chrome

A colleague of mine recently pointed out a cool way to test the mobile version of websites in Chrome: Ctrl + Shift + J to open the Developer Tools Click Gear Icon in bottom right corner Navigate to Overrides tab from the leftnav Check the User Agent checkbox and select your target platform. Eg; “iPhone [...]

LAMP alternative: BitNami

Want to set up a local Apache / PHP / MySQL test environment on your linux machine, but looking for something more out-of-the-box than LAMP?  (in regards to having no real GUI on linux, and having to mess around with htdocs file permissions in a lot of cases to be able to more easily add [...]

Chrome Theme for Firefox

Like Firefox’s functionality but prefer Chrome’s look? Check out FXChrome theme for Firefox: https://addons.mozilla.org/en-US/firefox/addon/fxchrome/

Lightweight Alternative to jQuery UI Slider

http://refreshless.com/nouislider/ is a great lightweight alternative for those looking to incorporate something like the jQuery UI slider (http://jqueryui.com/slider/) but in a more lightweight, more (arguably) customizable way. As of this writing, noUiSlider is free to use on personal and commercial projects.

ADT Eclipse: How to download SQLite DB file from Android Emulator

Check out this SO post if you’re curious how to download a SQLite DB file from a running Android Emulator: http://stackoverflow.com/a/3505763 Note: The above method requires DDMS to be installed in your instance of Eclipse. It basically consists of opening the File Explorer tab of DDMS perspective, going to /data/data/{your app’s package name}/databases and downloading the [...]

How to: Make Eclipse break on specific Exception

I recently came across this great tip on stack overflow: http://stackoverflow.com/a/1780559 for forcing Eclipse to break on a specific Exception (in this case a NullPointerException), which can of course be useful when the stack trace is for whatever reason unhelpful in diagnosing the source of the exception. In case that answer ever gets removed from [...]

Link: How to create a local SVN repo for Subclipse (on linux)

http://see-why.net/2011/07/creating-a-new-local-svn-repository-for-subclipse/

Link: How to install XAMPP + enable GUI on Linux (Ubuntu)

Check out these links if you’re trying to install XAMPP/LAMPP on Ubuntu with a simple GUI to start and stop it: Installing XAMPP: http://www.apachefriends.org/en/xampp-linux.html (download the tar.gz, extract to /opt — XAMPP is now installed) Run the two commands here: http://freshtutorial.com/add-gui-xampp-control-panel-ubuntu/ to create a desktop entry / shortcut launcher for the GUI that comes with [...]

Tool: Online PHP Code Tester

Here’s a cool online tool that lets you run PHP code and see the output in a preview box:  http://writecodeonline.com/php/ Useful in a pinch.