To find and replace (CTRL + H) empty cells in Libre Office Calc you can use a regular expressions (also called...

makandra dev
curl.haxx.se

When making requests using curl, no cookies are sent or stored by default. However, you can tell curl to re...

You should avoid using application models in your migrations. But how else could you create records in a migration?

web.archive.org

wrap the text with a span use line-height for the spacing between lines ("margin")

To check if a method has been called in Jasmine, you first need to spy on it: let spy = spyOn...

When you print (or print preview) and elements are cut off (e.g. after 1st page, or "randomly") you should check...

Situation: You want to write a spec for a function inside an Angular service. This function at some point makes...

jsbin.com

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

httpie.org

HTTPie consists of a single http command designed for painless debugging and interaction with HTTP servers, RESTful APIs, and web...

github.com

When writing XLSX files, there are gems like rubyXL or axlsx. While they do offer features like formatting or graphs...

postgresql.org

PostgreSQL's Common Table Expressions (CTEs) can be used to extract sub-queries from bulky SQL statements into a temporary...

...You can use it to test if two date ranges overlap: => SELECT ('2001-02-16'::date, '2001-12-21'::date) OVERLAPS ('2001-12-20'::date, '2002-10-30'::date);

...As such the later date is not included in the range: => SELECT ('2001-02-16'::date, '2001-12-21'::date) OVERLAPS ('2001-12-21'::date, '2002-10-30'::date);

Summary: Don't add chromedriver-helper to the Gemfile the executables might break your tests in projects where chromedriver-helper...

makandra dev

Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...

relishapp.com

In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...

Sometimes when working with VCR you still want to use webmock. Since VCR hooks into webmock and fails when an...

github.com

When you're using Sidekiq::Web to monitor the Sidekiq status AND have your session cookie configured to a wildcard...

georgemauer.net

If your application exports CSV, be advised that Excel and other spreadsheet applications treat certain cells (those starting with =, +, - or...

requestb.in

Requestb.in is a webservice that gives you a temporary URL you can use to test request. The page will automatically...

When attempting to update RubyGems, depending on updates your previously performed, you might run into an error ERROR: While executing...

...Installed: 2:7.4.1689-3ubuntu1.2 Candidate: 2:7.4.1689-3ubuntu1.2 Version table: 2:7.4.1829-1ubuntu2.1 10 10 http://de.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages 10 http://security.ubuntu.com/ubuntu...

...yakkety-security/main amd64 Packages 2:7.4.1829-1ubuntu2 10 10 http://de.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages *** 2:7.4.1689-3ubuntu1.2 500 500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64...

A common pattern in Ruby is to to require all files in a specific diretory, using something like Dir.glob(Rails.root.join...

RSpec allows you to mark a single Example/ExampleGroup so that only this will be run. This is very useful when...