My T410 has a NVIDIA graphics card (NVS 3100M). My BIOS configuration looks like this: NVIDIA Optimus is disabled in...

en.wikipedia.org

Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...

makandra dev
wiki.debian.org

This note is a reminder that there is something called AppArmor that could cause weird errors ("File not found", "Can...

makandra dev

Using OpenSSL it's very easy to seriously encrypt files. Use the script below. Input / Output are self explanatory. Put...

makandra dev

When you delete a file with rm it's still possible to recover the file or parts of it. Use...

makandra dev

This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple...

makandra dev

Sometimes you want to run a command forever, e.g. to compile a haml to html file on the console. Use...

When you need to bulk rename files you can not call "mv *.foo *.bar" to change the extension of all...

cyberciti.biz

To list the name and version of your Linux distribution, type the following: cat /etc/*-release

When you use the send_file method to send a local file to the browser, you can save resources on...

getfirebug.com

You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.

babushka.me

The idea is this: you take a job that you'd rather not do manually, and describe it to babushka...

This might be due to AppArmor denying the MySQL server access to most of the filesystem. You can instead use...

This card describes a Cucumber step that lets you say: When I perform basic authentication as "username/password" and I visit...

In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...

Find-as-you-type boxes are usually built by observing changes in a text field, and querying the server via...

From time to time we're convinced that an error must be very close to the network card, OS IP...

It's that simple to allow one of your Linux users to run a single command as UID 0:

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

Call geordi clean from a project root to remove unused and unnecessary files inside it. This script is part of...

When your site is mapped into the URL-space of another server using mod_proxy, ProxyPass and ProxyPassReverse, all requests...

These steps are now part of Spreewald. The step definitions below allow you to test the filename suggested by the...

linux.die.net

If you need to find out which of your local commits are not on the remote server do this:

In RSpec 2 shared_examples_for can have parameters. You can simply hand over arguments from it_behaves...