Modern cameras often produce JPEGs that have a "I should be rotated 90° to the left" flag. If you process...
...searched for executables, CDPATH contains the list of directories that are available for cd. Besides the current directory (.), you can add others to that. The trick is to add a...
...directory, always use a prefix for your bookmarks. @ works well. This has also has benefits for the usage with autocompletion. Example usage: >cd Projects/makandra-cards/ ./Projects/makandra-cards/ >mark @cards >cd ~ >pwd
If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...
...on a string that was previously marked as #html_safe will lead to unexpected behavior. E. g. backreferences to captured groups ($1, $2) will be nil even if the group...
...be safe after using gsub on them. You can, however, fix the $1 gsub behavior on html_safe strings...
...For this reason it is recommended to use a dev server during development. This behavior can be disabled by the compile: true setting in config/webpacker.yml. Note that this can also...
...In Rails 3.1+ the asset pipeline will take care of this. Thus you're best off using an uncompressed version of your Javascript in development. Also load the non-minified...
Running Cucumber tests while your cucumber.yml is 100% valid may still produce the following error. cucumber.yml was found, but could...
The linked article states that CSS breakpoints should group "similar" screen sizes and thus be at: 600px "narrow"
x = "Universe" <<-'MESSAGE' Hello #{x} MESSAGE # => "Hello #{x}" That will make the string behave like a single-quoted string, so sequences like \n will be used as they are...
Instead of showing you two lines for each change, Git allows you to highlight changes in a line explicitly:
...thing to do with any new U2410 should be to disable the incredibly annoying beep when pressing any monitor button. Here is the fastest way to achieve that:
...Sound”; the “Power Save Audio” entry is usually grayed out, so this is 1 beep less than from above.) Right Down Tick Do it this way or your colleagues will...
There is a bug in ActiveRecord 2.3.x that leads to changes in nested forms getting lost. class Project < ActiveRecord...
As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.
You can group contacts using a mailing list in Thunderbird for easier access and less trouble when trying to find...
...the tree structure, but just replicate all the needed data into the database, the best option is to use SAX parser. When you read very large XML files Nokogiri may...
This step tests whether a given select option comes preselected in the HTML. There is another step to test that...
...browser. You don't need CoffeeScript or an ES6 transpiler like Babel. A cosmetic benefit is that the module pattern works without the use of this or prototypes. Example
RSpec supports a one-liner syntax for setting an expectation on the subject: describe Array do describe "when first created...
Sometimes it might be helpful to have a version history for a gem, e.g. when you want to see if...
Puma allows you to specify the max and min threads. In development this could be useful if you use a...
A while ago we were working on an application that had an entire version specially created for mobiles, such as...
Basic box shadow support is available in all browsers today, but you need to check to which extend they are...
When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...
When running an older version of docker-compose you might see the following error: ERROR: Version in "./docker-compose.yml" is unsupported...