My T410 has a NVIDIA graphics card (NVS 3100M). My BIOS configuration looks like this: NVIDIA Optimus is disabled in...
Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...
Note: For PostgreSQL you should use advisory locks. For MySQL we still recommend the solution in this card.
When you have a Cucumber step like Then I should see "Did you see those \"quotation marks\" over there...
There is no good equivalent for the Unix sudo command in Windows. Below are a few workarounds that are all...
This note is a reminder that there is something called AppArmor that could cause weird errors ("File not found", "Can...
To open a terminal quickly navigate to System → Preferences → Keyboard Shortcuts. There, click the "Run a terminal" row (It should...
Have a backup. Stop MySQL: sudo service mysql stop Move (or copy) your mysql directory. If you want /mnt/mysql to...
Using OpenSSL it's very easy to seriously encrypt files. Use the script below. Input / Output are self explanatory. Put...
When you delete a file with rm it's still possible to recover the file or parts of it. Use...
This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple...
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...
Note that this sounds good but is not good at all when hooking tasks on cap deploy (see this article...
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...
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.
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...
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...