stackoverflow.com

TL;DR You shouldn't call $scope.$apply() or $scope.$digest() inside a function that can be invoked by Angular...

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

.desktop files define launchers for applications installed on your machine. They specify the command that will be executed when launched...

json is part of the standard library of Ruby and deals with JSON, obviously. As you know, JSON is the...

This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...

skorks.com

Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...

apidock.com

This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...

This is for those who already own an SSL certificate (e.g. using it in the Apache HTTP Server) and need...

You can install rubygems 3.0.8 (released on February 18, 2020) to keep all the Gem::Specification#rubyforge_project deprecation warnings...

makandra dev

There are ongoing arguments on how useful this still is, as modern browsers become more comfortable to load images in parallel. However, many major websites still use them, for...

} } // opens a confirmation dialog if unsaved changes are present function bindAlertMethod() { $(window).on('beforeunload', function() { if (isUnsavedChangePresent() && !unloadTriggeredBySubmit) { return warningMessage; } }); } function isUnsavedChangePresent() { var unsavedChanges = false; // objects providing an isDirty...

...Using a css class as marker may make developers awere of the // special form behavior when inspecting the form classes function skipFormsWithOverwrittenSubmit() { _.each($('form input[type=submit]'), function(submitInput) {

...take many times longer to render. So measure before blaming the database. FULLTEXT performs better when your text has low redundancy FULLTEXT performance differs by a factor of 78 between...

WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...

The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...

makandra dev
smashingmagazine.com

Debugging in CSS means figuring out what might be the problem when you have unexpected layout results. We’ll look...

When your cucumber features grow massively over time, the test execution can take a lot of time.

support.google.com

The old Chrome downloads bar had several advantages over the new subtle downloads dropdown: see all (many, at least) downloads...

codepen.io

...One might argue that could also omit position: relative on .section, and place the before/after helpers using left: 0 or right: 0. However, you'd then need to know the...

...disappear again when moving the mouse pointer to the left or right. Hovering the before/after elements actually means hovering the element itself...

Don't you just hate to write Cucumber path helpers to be able to say this?

The non-breaking space is prepended to the second element because that one becomes floating. Since that would discard any whitespace between the two elements, we are adding the...

Many box shadows will make your app unusable on smartphones and tablets Designing Beautiful Shadows in CSS

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

github.com

age is a simple, modern and secure file encryption tool, format, and Go library. It features small explicit keys, no...

This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...