A new open source WYSIWYG editor that promises superior fidelity and customizability. This might be a future alternative to Redaktor...
Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...
This pretty-prints a JSON object, with two spaces of indentation: JSON.stringify(object, null, 2)
When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...
We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...
PostgreSQL, unlike MySQL, treats strings as case sensitive in all circumstances. This includes comparison with = and LIKE collision detection in...
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...
So you downloaded a theme for Chrome a while ago and don't remember which one it is?
Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...
When testing Ruby code that prints something to the terminal, you can test that output. Since RSpec 3.0 there is...
IE has a "Compatibility Mode" for old browsers. You can keep IE from offering it (and fix some other things...
Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...
As your Rails project grows, you will accumulate a number of small patches. These will usually fix a bug in...
Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...
to create a Gallery that has a name and has_many :images, which in turn have a...
In production, you (or your ops team) should configure a maximum number of bytes that Redis can use to store...
Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...
Connect to your IMAP server. If you have SSL enabled: openssl s_client -connect your-server:993 if your server...
Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line
This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...
To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.
When full text search is overkill and like queries do not deliver this might be an approach you could try...
If you want to inspect the compiled code of your erb (or haml) templates, you can run the following code...
If you are on a Linux shell and want to open a file with whatever default application is configured for...