...you would consider invalid might suddenly make sense for #encode. This very likely works best when your strings are in few languages that share a similar character set, e.g. English...

makandra dev
plugins.jquery.com

SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...

When working with large Sass files you will notice that the first request after a change to a Sass file...

At times, it might be unavoidable to have different CSS rules for Internet Explorer than for sane browsers. Using Sass...

For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...

...like text and images. While this may be useful in most situations, it may become annoying in others. If you e.g. want to allow the user to scroll/move horizontally within...

OAuth requires a set of params to be carried along requests, among which a nonce. Some libraries pass these along...

...initializer provides a default way to deal with this. You'll get the following behaviour: if the incorrect request has a HTTP_REFERER coming from the same application, set a...

tableplus.io

...table names and execute a DROP TABLE statement for each. DO $$ DECLARE r RECORD; BEGIN FOR r IN (SELECT tablename FROM pg_tables WHERE schemaname = current_schema()) LOOP EXECUTE 'DROP...

In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...

If others on a call (Skype, SIP, ...) can not hear you loud enough, your volume levels are probably too low...

During debugging you might pepper your code with lines like these: console.log('foo = ' + foo + ', bar = ' + bar) I recommend to use...

When such a virtual attribute should contain Date values you might get unexpected behavior with forms, because every param is a string and you don't get the magic...

The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...

...specifying the controller as 'user/...' would make Rails expect views in view/user/... (singular) The better approache might be to use a module. See this card on how to namespace with...

When refactoring a sequence of steps to a new, more descriptive step, you can use the steps method and Ruby...

When such a virtual attribute should contain integer values you might get unexpected behavior with forms, because every param is a string and you don't get the magic...

When using git diff, you might encounter weird characters where umlauts (or any other UTF-8) characters should be. It...

You know that you can use jQuery's text() to get an element's contents without any tags.

I ran into a situation in which I received the yarn integrity check warning when starting the rails console even...

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

...on table rows (use case would be clicking the 1st link inside it for better UI). Consider this setup: hello ^ $(document).on('click', 'tr', function () { alert('row clicked') });

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

...error" message: *** [err :: example.com] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/example.com'. *** [err :: example.com] This is just because there were no running passenger process for...