Understand how asynchronous JavaScript works: Read Henning's presentation about asynchronous Javascript (there's also a German video presentation...
Exercise 1: Maps In MovieDB, add a new field “Principal filming location”. In a movie’s show view, geocode that...
To change RAM size, VDISK size or VCPU count of an openstack instance you have to use nova resize. You...
Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...
Understand at least the following CSS concepts: Classes Selecting elements for styling Basic styling (color, typography, spacing)
Rails is our web framework. Goals Be able to write a simple Rails application. Understand how Rails talks to the...
Small web application where you can upload an image (PNG, JPEG, GIF) and generate a base64-encoded version of it...
Surprisingly exhaustive new icon set by Google. Available as PNG, SVG and as a icon font. Comment from Henning
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
# Given the following models class Image < ActiveRecord::Base has_many :album_images has_many :albums, through: :album_images
There are some frontends available, but they all suck, are no longer maintained or are hard to install.
Awesome hack by Tim VanFosson:
Instead of this: Image.order('images.created_at DESC') You can write this: Image.order(created_at: :desc) Not only do you not...
Here's a pretty useful steps that hasn't made it into Spreewald yet. It is best used with the...
Write a // and indent every subsequent line by two spaces. This is great for documenting BEM blocks! // An action button...
When a CSS3 animation makes the animated element flicker, it may well be due to pixel fragments being handled differently...
When uploading images, adding more than one process to a version can cause MiniMagick to run multiple commands. In order...
When you are using the #selector_for helper in Cucumber steps, as e.g. Spreewald does, the following snippet will save...
The CSS property z-index is not as global as you might think. Actually, it is scoped to a so...
If you get this error (probably because you want to load some modules): # modprobe xt_comment FATAL: Could not load...
Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...
ImageMagick takes a string with several options when cropping an image. See the command line options for how to provide...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
Responsive Lightbox JavaScript that just works. You can use it for single images or a gallery. Animations are optional.