Large Rails projects tend to define multiple custom ways to format Dates or DateTimes. This often leads to duplicated format...

atlassian.com

Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...

unpoly.com

Version 3.7.0 broke some things in complex forms. Sorry for that. Concurrent user input is hard. 3.7.1 This change fixes...

Removing features and merging those changes back can be painful. Here is how it worked for me.\

open-ui.org

...To do that, we’ll need to fully specify the component parts, states, and behaviors of the built-in controls, as well as necessary accessibility requirements, and provide test suites...

...reinvent common web UI controls to give designers full control over their appearance and behavior. We hope to make it unnecessary to reinvent built-in UI controls, but for those...

JavaScript objects can have getter and setter functions that are called when a property is read from or written to...

...hosts. With the large number the puppet run on the Nagios server will become quite slow. In the end it took 10 minutes to complete. Make it fast

...Nagios server takes 65 seconds. References Eric Holzbach - Automating Nagios with Puppet and Puppetdb Ben Hartshorne - Puppet Perfomance Investigation Pieter Barrezeele - Puppet and Nagios

OpenAI is currently limiting the Audio generating API endpoint to text bodies with a maximum of 4096 characters.

apidock.com

Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead. ActiveRecord models have with a method becomes(klass) which you can...

If the project team consists of at least 2 members, do a daily standup. It should not take much longer...

Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).

I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was not so easy to get rubymine:// links to work on...

...Does xdg-open "rubymine:///etc/hosts" open the hosts-file in RubyMine? Step 4: Tell better_errors to use your opener The BETTER_ERRORS_EDITOR_URL environment variable can be used...

getpostman.com

Talking with APIs makes more fun using Postman. As an alternative you can also use command line tools like cURL...

adobe.com

Flash movies (.swf files) can talk with Javascript code embedded in the same HTML page. There are two ways to...

It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...

We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...

Using Capistrano, we usually have some array configurations in the config/deploy.rb file, like set :linked_files, %w[config/database.yml], so in...

makandra dev

...for Rails 2 and 3. Recently, caching with timestamp- or content-based keys has become more popular which saves you the pain of invalidating stale caches. How to enable/disable caching...

Webpack is the future. We're using it in our latest Rails applications. For tests, we want to compile assets...

makandra dev

...willy@astor.de" And I follow "Cancel account" Then I should see "Account canceled" By going beyond the single line descriptions we've accustomed to, we can provide all the information that...

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

makandra dev
badssl.com

Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...

jsbin.com

If you try to listen to events on elements that are nested inside a , Firefox will stop event propagation once...

...fills in the query "foo" Also see An auto-mapper for ARIA labels and BEM classes in Cucumber selectors