After reading all the positive reviews about bias lightning, I thought to give it a try… so I started off with the theory. The basics that you need are the following: a light source with cold natural light (ideal is to have a temperature of 6500K) the light source to be powerful enough such that [...]
View PostAvoid Initial Slow Loading Times of Rails apps under Apache & Passenger
If you have enough RAM on your server, then you will probably want to avoid the lengthy booting times you experience after an application idles. There are 2 solutions I could find used to solve this problem: 1. Use a cron job to access the application every couple of minutes to keep it in memory. [...]
View Post PassengerWindows Mac-alike Rails Development Environment
As I already been using e-texteditor (for quite a few years), which is a clone of Mac-only Textmate, I thought to give setting up a mac-alike rails development environment a go. Since I had a ton of compatibility problems when developing under vanilla Windows (with Ruby1.9 and rails3, a lost of gems failed to work, [...]
View PostWordPress – get_search_link() enhancer
You already know that when performing the search in WordPress, the URL becomes something with: /?s=lorem+ipsum in the end. An odd fact was that get_search_link() returns something like /search/lorem+ipsum. So if you’re using a theme that creates a link to the search results page you’ll receive a different URL compared to the one that you [...]
View PostEnhance reCaptcha accessibility with disabled images
I’ve encountered an accessibility problem these days… default reCaptcha isn’t properly accessible when the images are disabled. A solution is to detect the availability of images, and if they are disabled to manually adjust the styling of the problematic elements. Basically doing this: Now to share how that was accomplished. 1. Uploaded 2 files: blank.gif [...]
View Post AccessibilityInternet Explorer & Elements with an ID get a matching global variable in JS
Object doesn’t support this property or method If you’re getting an odd behavior on your scripts in Internet Explorer, try adjusting their name (for example by adjusting their names with a unique prefix) just to make sure that there isn’t any element in the page you’re working on with the same ID as your variable [...]
View PostAdding wmode transparent to WordPress 3 media embeds
In case you have a website that uses dropdowns you probably noticed the dropdown panel might get under the flash media (like Youtube video embeds). The fix to this is to setup the wmode attribue to transparent… but how do we do it in WordPress? Since WordPress 2.9 has enabled us to easily embed videos [...]
View PostjQuery Easy Slideshow Plugin
There exists no other JS sideshow plug-in for me…. just Cycler: http://jquery.malsup.com/cycle/ Why bother using complicated alternatives… when you can do it in just one line? $(‘.slider’).cycle({fx: ‘fade’});
View PostTR Backgrounds & Fixing IE
I was struggling to get some cross-browser rounded corners zebra table rows… but since the table required vertical-align:middle… applying the top right AND bottom right corners was impossible… up until I found out that CSS background-image on TR actually works cross-browser It works out of the box for most standards-compliant browsers… and a minor tweak [...]
View PostBadminton Relaxation
Badminton – this is a game I find being really relaxing… but with the right ‘tools’. Some low-quality racquets might blow the fun out of it, but the good news is that decent racquets can be found easily in the 20$ range… the fun you have playing with them: invaluable. Just got a Badminton Basic [...]
View Post- 1
- 2