Angular's location provider stalls links to the current URL, i.e. window.location. As soon as the $location service is activated...

makandra Operations

If you want to perform a failover on another haproxy backend server this is the way you should do it...

Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...

nginx.org

If you want to configure your nginx to drop connections to a specific location, you can do so by responding...

TL;DR There are three dimensions you can control when scoping routes: scope module: 'module', path: 'url_prefix', as: 'path...

getpostman.com

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

A HTTP 302 Found redirect to PATCH and DELETE requests will be followed with PATCH or DELETE. Redirect responses to...

There are a million ways to center s or text in CSS, horizontally or vertically. All the ways are unsatisfying...

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

makandra dev
elastic.co

Dashboard (Marvel Kibana) and query tool (Marvel Sense) for Elasticsearch. Once installed you can access Kibana and Sense at these...

github.com

Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation

makandra dev

To delete a certificate request run sudo puppet ca destroy $your.full.hostname on your puppetmaster.

Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...

E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...

github.com

A collection of 700+ svg vector logos. The logos are optimized (removed duplicated paths / excessive groups / empty defs, linting, etc...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...

I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...

keycdn.com

Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts

Lead by a discussion of this issue, I built in a middleware which answers those requests with [400] bad request...

While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...

While you usually do not need a Content-Type on GET request (which have a blank body), an external API...

speakerdeck.com

Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may...

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...