If you plan to insert an existing PDF into a new LaTeX document that you will compile to PDF, you...
If you use Tempfile and pass your own filename containing an extension, it will just be consumed by the Tempfile...
Google’s Font Directory and API for web fonts could have a transformative effect on how we read the web...
...Open Source software. It's about assessing your real needs and understanding the cost-benefit balance before making significant financial decisions. Don't try to dust your crops with a...
If your pidgin IM fails to connect to ICQ, you may need to update it. The ubuntu default sources are...
...is something like # WRONG class Page < ActiveRecord::Base %w[main sub].each do |type| belongs_to "#{type}_title" end end # RIGHT class Page < ActiveRecord::Base %w[main sub].each do...
belongs_to :"#{type}_title" end end Always convert to a symbol, otherwise you'll have all kinds of fun. Newer rails / activerecord (at least 5.2) will throw an association...
When running an executable, ALWAYS use bundle exec. In some cases, running executables without bundle exec may work, if the...
A week after Tommy Refenes (Super Meat Boy) declared the Apple App Store to be the Tiger Electronics handheld of...
With this gem your transaction blocks raise an error when they have side effects that cannot be rolled back.
If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:
Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...
PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...
Our awesome collection of rspec helpers (formerly known as "spec_candy.rb") is now available as a gem. It works, it is...
Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine...
Sometimes modern Javascript projects get out of hand. A major culprit in this can be the messy handling of asynchronous...
This post will describe how I stumbled upon a code path in the Linux kernel which allows external programs to...
This error is raised because your old database does not have a configured environment yet, which Rails 5 enforces.
This might be a known issue with Rubygems 2.5.1. This will help: gem update --system
TL;DR: Bundler 2.0 will rename Gemfile to gems.rb and Gemfile.lock to gems.locked (sic). The old filenames will be supported...
Ruby's standard library is in the process of being gemified. It will soon - Ruby 2.5 - consist of RubyGems, which...
Luckily, this is simple. Just install three packages: sudo apt install ipheth-utils libimobiledevice-dev libimobiledevice-utils
...you turn to landscape mode. In precise CSS building, this is annoying. Disable this behavior with: body -webkit-text-size-adjust: 100% // Prevent font scaling in iOS landscape
To move elements around we should be familiar with coordinates. Most JavaScript methods deal with one of two coordinate systems...
The postMessage API is an alternative to JSONP, XHR with CORS headers and other methods enabling sending data between origins...