These commands will install the spider software Scrapy in Linux, this example works for Ubuntu 14.04:

sudo apt-get install python-pip python3-lxml python2.7-dev python-twisted
sudo pip install Scrapy --upgrade

Link to Scrapy

MaxCoin mining

MaxCoin was launched as the latest alt coin, in the beginning of February 2014. The name of the cryptocurrency comes from Max Keiser, from the Keiser Report on RT - an economical journalist, who dissects the modern, neo-liberal capitalism which is ruling the planet these days.

When you update Drupal core, the .htaccess file is overwritten with the latest version. This also means that any www redirects in that file are lost, and you have to re-apply them, which is annoying, and a problem if you forget to do it after updating. The reason why it is important to only show URLs with OR without www. in front of them, is to avoid what Google considers duplicate content.

Tool for removing a broken off cable head from inside a Shimano gear shifter

The rear gear cable on my bike snapped while I was biking on it today. Luckily I had a replacement cable with me, so I thought I could replace it right away. But it turned out that the cable head inside the gear shifter was jammed, and impossible to get access to and remove.

Change Firefox default search engine behaviour in the location bar

If you type some keywords in the address bar (also known as location bar) in Firefox and press enter, it will perform a search for these words.

To change search engine, or configure the behaviour, type about:config in the location bar, and search for keyword.URL, update to match your needs.

To use the DuckDuckGo search engine:

Use Google, with "I feel lucky" effect, going directly to the best matching result:

Just go to the Google result page:

Installing Gnome 3 on Ubuntu 12.04

From your terminal, run this command:

sudo apt-get install gnome-shell

Reboot your computer, click on the little Ubuntu icon next to your login name and select select 'Gnome Classic (No effects)'.

Spell-check in LibreOffice in Ubuntu

To install the Danish dictionary, run this command, from your terminal: sudo apt-get install hunspell-da

Restart LibreOffice, and from Writer, choose Tools -> Options... click Language Settings -> Languages in left menu. Under 'Default languages' - 'Western' select 'Danish'.

Hard boil an egg the right way, use salt.

To boil an egg without the egg sticking to the shell when you peel it, all you need is one extra ingredient in the water and plenty of it: salt. Sometimes when I made hard boiled eggs in the past, the shell would stick to the white part of the egg when I peeled them. But after I began adding 2-3 tablespoons of salt, this is a problem of the past, and the egg shells just slide right off.

Speed up Drupal with the Boost module

The Boost module works by caching static versions of pages, and serving them to anonymous users. Because Boost caches pages in flat HTML files and the server doesn't hit your database, pages are sent to the users much faster, sometimes in as little as 200-300 milliseconds, which will seem almost instantly. From the Boost module page: "If you are on shared hosting this is your best option in terms of improving performance."

Install LAMP web server and Drupal 7 in Ubuntu

Installing a web server is very easy in Ubuntu, just enter a few lines in the terminal: There is no need to install and configure each part of a LAMP (Linux-Apache-MySQL-PHP) installation individually. You can also install other programs this way. The downside is that all components are installed automatically, and not reviewed by you. But as long as you only use the web server locally (localhost or, and don't open up for access from the Internet, it should be safe.