Service that you can integrate for user feedback. Super-simple integration: Add a tag to your layout, done. It will then add a button to the bottom right of your application. When a user clicks it, they can take a screenshot and leave a message. The screenshot then appears in TrackDuck's interface for you to work off. Current pricing is 9 USD per month for the smallest tier (1 project).
Hashrocket Lunch n' Learn #1 with Avdi Grimm: Making Little Classes out of Big Ones A look at the pros and cons of four different techniques for breaking a too...
...can declare it’s finally here. We’ve brought the work of more than 1,600 contributors together to make everything better, faster, cleaner, and more beautiful...
...form and populate a preview div with the response. $('content_form').request({ parameters: { 'preview': "1" }, // overrides parameters onComplete: function(transport){ $('previewContent').update(transport.responseText...
...to determine if it's possible to generate a string that matches more than 1 of them. Short of writing my own regex engine with this use case in mind...
...you can simply skip asset compilation and re-use the previous release's assets. [1] That is especially easy via Capistrano. Capistrano will automatically symlink your release's public/assets to...
end You can then set the above environment variable when deploying: SKIP_ASSETS=1 cap staging deploy Enjoy. [1] Sprockets will pick any public/assets/.sprocket-manifest-*.json...
...shouldn't do for performance reasons), there are several ways to work around this. 1. Use it_should_receive_callbacks The awesome it_should_run_callbacks macro from spec_candy...
...callback chain and run that. This is what spec_candy wraps for you (method #1). describe Spaceship do describe '#launch' do it 'should run the proper callbacks' do subject.state = 'docked...
...reactivate the new version Shut down RubyMine Extract the downloaded file into your ~/bin/. [1] cd ~/bin && tar xzvf ~/Downloads/RubyMine-X.Y.Z.tar.gz Update your directory symlink [2] to point to the new...
...to update it, too. Go to Tools → Create Command-line Launcher… and confirm twice. [1] We recommend using ~/bin to store binaries for your user. Some of us like to...
...of it. If not, someone could exploit this by creating a user with ID = 1 (e.g. on staging), sign in and then use that cookie to authenticate on another site...
...e.g. on production, where the user with ID = 1 probably is the admin). Here is a one-for-all solution that does not affect current production users, leaving the production...
...browsers will use CSS transforms when available -- which is on basically all but IE. [1] To achieve a rotation on IE8 and IE9, we can use writing-mode. Since other...
However, IEs that do support transform (IE10+) would combine both styles into a 180° rotation which we do not want. So we reset our transform definition for IEs -- and...
...w!#$%&'*+-/=?^`{|}~]+.)*[\w!#$%&'*+-/=?^`{|}~]+@((((([a-z0-9]{1}[a-z0-9-]{0,62}[a-z0-9]{1})|[a-z]).)+[a-z]{2,6})|(\d{1,3}.){3}\d{1,3}(:\d{1...
...find your test results when you come back to the console later Calls RSpec 1 (spec) in a Rails 2 project and RSpec 2 (rspec) in a Rails 3 project...
.../Ubuntu\ One/encrypted Create a random keyfile dd if=/dev/urandom of=~/.sync.key bs=256 count=1 chmod 600 ~/.sync.key Put this script (let's call it mount-ubuntu-one-sync) somewhere...
...to transform every captured string: Transform /^(.*)$/ do |str| str.gsub(/\btranslate:(.+?)\b/) do |match| I18n.t($1) end end Other than with step definitions, Cucumber does not mind multiple transforms matching the...
...Never skip asset compile when servers are running on different code next if revisions.uniq.length > 1 changed_files = `git diff --name-only #{revisions.first}`.split if changed_files.grep(asset_locations).none? puts Airbrussh...
...it is annoying when debugging tests. Here are two ways to disable it: Option 1: prefs You can set profile preferences to disable the password manager like so: prefs = { 'credentials...
...work until you force HTML5 mode. Here are two ways to do that. Option 1: Doctype Make sure your HTML document uses HTML5. It should start like this:
Best results in other decks
...USA), Singapur(Singapur), Dublin(Irland), (bestimme den Preis selbst) Dieter und Judith reisen für 14 Tage nach New York Karl reist für 30 Tage nach Singapur Maria reist für...
...Tage nach Dublin und 7 Tage nach New York Judith reist 14 Tage nach Singapur Lass dir mit einem SELECT alle Urlaube anzeigen. Dabei sollen folgende columns sichtbar sein: Vorname...
...options[$storeId] = $collection->toOptionArray(); $this->_optionsDefault[$storeId] = $collection->toOptionArray('default_value'); Speed improved from 1.3ms to 0.7ms: class Sxxx_Xxgs_Model_Resource_Catalog_Product_Option_Collection extends Mage...
...Mage::app()->getCache(), $idPrefix, $tags) ; return $this->_toOptionHash('title', 'option_id'); } } From 3ms to 1ms: /** * Return hash key in iso3 or default iso2. * Always use cache. To flush, click button...