Some pseudo-elements need to be addressed with vendor prefixes. E.g. ::selection is not supported by Firefox, you need to...

Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...

Sometimes you want/have to send specific http(s) requests. You can do that easy with curl or just write the...

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...

stackoverflow.com

iOS Safari tries to be helpful and enlarges some(!) texts when you turn to landscape mode. In precise CSS building...

makandra dev

You can start vim with a read-only option. This prevents making accidentally changes in files you don't want...

github.com

Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...

makandra dev
robots.thoughtbot.com

git command line options for automating common rebasing tasks, like adding a fix to a commit that was already rebased...

The maximum version of Internet Explorer you can have depends on your version of Windows. E.g. Windows 7 users can...

makandra Operations

If a users password for https://monitor.makandra.de/ is unknown one can set it like this: sudo python /opt/graphite/webapp/graphite/manage.py changepassword ${USERNAME...

This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...

Hint This applies only to distributions based on Debian. Requirement You need to setup the PostgreSQL Apt Repository first.

makandra dev

This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...

makandra dev
javascript.info

To move elements around we should be familiar with coordinates. Most JavaScript methods deal with one of two coordinate systems...

makandra dev

Just dumping this in case somebody might need it. When you need a CSS value (a padding, margin, height etc...

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

makandra dev
activestate.com

Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...

makandra dev
labs.detectify.com

The postMessage API is an alternative to JSONP, XHR with CORS headers and other methods enabling sending data between origins...

There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...

makandra dev
badssl.com

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

makandra dev

Using VCR to record communication with remote APIs is a great way to stub requests in tests. However, you may...

Using the dialog command you can launch ASCII-art dialogs from your shell scripts. Check out man dialog for a...

Add the following to /etc/rc.local: (sleep 3 && echo disable > /proc/acpi/ibm/bluetooth)& Bluetooth icon will be active for a few seconds, then...