By default, Devise redirects to a sign-in form when accessing a route that requires authentication. If for some reason...
If you need to test some HTML, e.g. an embed code, you can use RubyMine's "scratch files":
You can use the CSS property mask-image to define an "alpha channel" for an element. E.g. to let an...
To set a default Node version for new shells, use nvm alias default : nvm alias default 1.2.3
Browsers come with a set of built-in elements like or . When we need a new component not covered by...
So I had the issue that User input (coming from many different sources and users) often contains the...
A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...
The french Tilt Studio built a caniuse clone for email clients. Note that while checking styling support helps using (or...
jQuery is still a useful and pragmatic library, but chances are increasingly that you’re not dependent on using it...
Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...
WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
You can use constraints in your routes.rb to avoid getting ActionView::MissingTemplate errors when wrong routes are called. Instead, the...
The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...
The ruby sass gem also installs a command line tool to convert to and from SCSS. Use it for a...
CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...
This favicon generator will guide you to a perfect set of favicon files, suitable for all devices and situations (browser...
Within a Flexbox layout, there are multiple CSS attributes that may affect a child's basis (the initial width before...
When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...
General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...