Mehigh
  • Home
  • About

Articles posted by mehigh

Home» Articles posted by mehigh

Bias Lightning – dramatically improves screen viewing experience in the dark

Posted on March 16, 2012 by mehigh in Ergonomics No Comments

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 Post

Avoid Initial Slow Loading Times of Rails apps under Apache & Passenger

Posted on February 19, 2011 by mehigh in Rails No Comments

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 Passenger

Windows Mac-alike Rails Development Environment

Posted on January 3, 2011 by mehigh in Rails No Comments

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 Post

WordPress – get_search_link() enhancer

Posted on November 30, 2010 by mehigh in Wordpress No Comments

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 Post

Enhance reCaptcha accessibility with disabled images

Posted on November 26, 2010 by mehigh in Javascript No Comments

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 Accessibility

Internet Explorer & Elements with an ID get a matching global variable in JS

Posted on November 26, 2010 by mehigh in Javascript No Comments

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 Post

Adding wmode transparent to WordPress 3 media embeds

Posted on November 22, 2010 by mehigh in Wordpress 34 Comments

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 Post

jQuery Easy Slideshow Plugin

Posted on July 21, 2010 by mehigh in Javascript No Comments

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 Post

TR Backgrounds & Fixing IE

Posted on July 9, 2010 by mehigh in CSS No Comments

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 Post

Badminton Relaxation

Posted on June 15, 2010 by mehigh in Status No Comments

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

Categories

  • CSS
  • Ergonomics
  • Javascript
  • Rails
  • Status
  • Wordpress

(c) 2012 Mehigh