Home » Open Source
Dan Gibas
HYGEN Web Design
A British expat web monkey living in Malaysia. Hire me!
Popular Blog Posts
- Global Express Services Ltd Online Scam
323 comments - Common House Gecko - Hemidactylus Frenatus Photos
74 comments - Road Trip From Kuala Lumpur To Betong, Yala, Pattani And Hat Yai - Thailand
44 comments - New Fake Courier Service Scam Site: gnetcex.com GNet Express
36 comments - Soft Shell Turtle (Pelodiscus sinensis) Photos
31 comments
Total Comments: 1,077
HYGEN Blog Posts In The ‘Open Source’ Category
Drupal webform_viewreference Module Tweek
Sunday, August 28th, 2011
The Drupal module webform view reference according to the modules page adds a webform component where you could use a View as a datasource for your normal webform select component. Instead of hardcoding all the selectable values in the component values field you just select a reference to a View similar to the CCK nodereference. The selectlist/radiobuttons/checkbox then automatically gets filled with all the nodes from the View.
Android Emulator: invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe
Friday, August 5th, 2011
If you have just installed the Android SDK and want to run the Android emulator on Windows you may get this error. Spoiler: Yes it is due to being on Windows!
PHP: Alternative Function To gzdecode($string)
Saturday, April 16th, 2011
If you are deploying code to a Linux box that doesn’t have ZLib installed / configured then here is an alternative way of decoding GZipped data.
Drupal Latest Members Module Updated
Tuesday, February 8th, 2011
I’ve just closed a few open issues and added bug fixes for Drupal’s latest members module. Now version 6 is stable I’m going to start planning a build for Drupal 7! Latest Members provides a block that shows all of the new members photos (aka user pictures). The block settings can be changed so the admin can choose how many user pictures get displayed.
Free Bet Returns Calculator
Friday, January 28th, 2011
This free bet returns calculator helps you calculate exactly what returns you can expect based on fractional odds and the bet stake placed… It’s written in simple JavaScript
Feel free to use the code freely and share it however you must add a link to this blog on the page!
Microsoft TFS VS Subversion (SVN)
Monday, January 17th, 2011
The purpose of this document is aid choosing a source control management system (SCM). Two source control / version control systems will be compared and evaluated – Microsoft TFS and Subversion (SVN). A decision matrix is a widely used method for making unbiased decisions especially when choosing software products or systems.
Ubuntu: Change default Shell to Bash
Thursday, January 13th, 2011
Bash is a POSIX shell with a number of extensions and was initially released on 7th June 1989!
I just had a strange experience with a 3rd party server running Ubuntu Linux 10.04.1 LTS using some weird featureless Shell. Normally you would expect to see Bash running by default in Ubuntu. I put up with it for a few sessions then realized it’s just too plain annoying…
mysqldump: command to backup a database on another remote server
Thursday, August 12th, 2010
The mysqldump program is often used to getting a data dump of a local database for backup reasons or just for moving a database from one server to another. To make this even easier, mysqldump can accept a remote host as an arguement. This means that if you are logged into server A you can get a backup of server B immediatly without having to login to server B and then transfer the file manually vis FTP or SCP etc. Just use this command:
Setcookie() Path Problems / Gotchas In PHP
Thursday, April 22nd, 2010
From php.net:“The path on the server in which the cookie will be available on. If set to ‘/’, the cookie will be available within the entire domain. If set to ‘/foo/’, the cookie will only be available within the /foo/ directory and all sub-directories such as /foo/bar/ of domain. The default value is the current directory that the cookie is being set in.”
Read the rest of this entry »
Use JQuery To Automatically Set IFrame Height
Wednesday, April 21st, 2010
It’s a fairly common problem when developing web applications and using IFrames (inline frames) – the height of an IFrame can’t easily be determined and it’s essentially dynamic as it depends on content and CSS inside the framed page.
- RSS: Entries (RSS), Comments (RSS), Atom









