RawGit serves raw files directly from GitHub with proper Content-Type headers, for CDN-like purposes. Note that they don...
Since Rails 5, domain models inherit from ApplicationRecord by default. This is the place to put code that should be...
Rails supports time zones, but there are several pitfalls. Most importantly because Time.now and Time.current are completely different things and...
By default Middleman generates files with a .html extension. Because of this all your URLs end in /foo.html instead of...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Imagine the following HTML structure, where the scrolling container has overflow-y: scroll: +--scrolling container+-+ | | | +-child element+----+ | | | ++iframe++ | | | | | | | | | | | | | | +-----------------------+ | | | | <-- actually cut...
Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...
Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...
run-one is a wrapper script that won't run the given command while another instance of it is running...
First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...
Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...
You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...
TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...
Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...
If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...
There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...
This might be relevant for us since we're often managing customer documents in our apps. I played around with...
Icomoon.io offers a free app to build custom icon webfonts. It offers downloads as webfont set (.eot, .ttf, .woff, .woff2...
AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...
Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...
Piwik is the leading open-source analytics platform. As such, it is an alternative to Google Analytics. Since it is...
By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...
You can define methods using def or define_method. In the real world, there is no performance difference.
Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...