When your site is on HTTPS and you are linking or redirecting to a HTTP site, the browser will not...
Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...
Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...
We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...
Non-SSL contents on SSL pages are blocked by default Bug 834836 – Turn on pref to block mixed active content...
What you copy may not be what you see in the browser. Here is an online tool to determine the...
TL;DR: Variables not declared using var are stored outside the current scope, most likely in the global scope (which...
Find out in this short guide, how to horizontally center a absolute positioned container with CSS. Note: We have a...
yaml4r is a juxtaposition of yaml documents and their Ruby couterpart. Thus, it does a great job as YAML-doc...
The User-Agent HTTP header identifies the client and is sent by "regular" browsers, search engine crawlers, or other web...
The way Rational#to_s works on Ruby has changed from Ruby 1.9 on. Here is how to get the...
Unfortunately, Capybara does not offer a switch to disable cookies in your test browser. However, you can work around that...
To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...
The following code doesn't work like expected: page.find(css_selector).find(other_css_selector) The second .find will search...
Chart.js seems to be a good alternative to Google's Chart API and other commercial chart drawing libraries.
Smashing Magazine lists some handy tricks for print style sheets, all with CSS: Expand External Links For Print
CSSmatic lets you play around with four rather complex CSS stylings and gives you CSS or SASS code to use...
The linked site lists a wealth of CSS hacks that let you apply styles to just that one browser. You...
Since there are more and more touch-capable devices out there, as a web-developer it becomes more and more...
Ruby 1.8 (supplied by Rails' ActiveSupport) >> BigDecimal.new("0.1").floor.class => BigDecimal Ruby 1.9 (supplied by Ruby 1.9 itself) >> BigDecimal.new("0.1").floor.class...
Google Chrome saves your profile data in ~/.config/google-chrome. To transfer the profile to for example a system you have setup...
Sometimes it seems a favicon does not work because your browser displays an old version or (in case of local...
calc() lets you mix CSS units. Ever wanted to give an element "the container's width minus 20px on each...
Safari & Chrome Use $x() in your console: $x('//span') # selects all span elements Firefox There's an add-on.