Categories
Digital Media / IT

Disable all contrib modules in Drupal 8

If you for some odd reason should need to disable all contrib modules in Drupal 8 in a sweeping motion, you could do with Drush:

Start by getting a list of all modules, that…

  • are enabled
  • are not in core
  • get the machine name
  • and put it all in a file
$ drush pml|grep Enabled|grep -v Core|awk -F"[()]" '{print $2}' > modulelist.txt

Then we put a drush command ahead of every module name and put it in a new file

$ sed 's/^/drush pm-uninstall -y /' modulelist.txt > disablecontrib.sh

Make it executable, fire away and Robert’s your mothers brother.

$ chmod +x disablecontrib.sh; ./disablecontrib.sh

Not elegant but fast and effective.

Categories
Digital Media / IT

Integrating blog and site

If you can read this (on kasper.myram.dk, that is) you’ll notice that the posting directs to the blog.

Categories
Digital Media / IT Politics

Paul Krugman er en KÆMPE idiot

As the rate of technological change in computing slows, the number of jobs for IT specialists will decelerate, then actually turn down; ten years from now, the phrase information economy will sound silly.

Paul Krugman er en KÆMPE idiot.

The Red Herring – Economics – June 1998.

Categories
Digital Media / IT

Solving drifting mouse on Ubuntu 10.04 Lucid

After a while of repeated trouble with the combination USB-mouse and Synaptics touchpad on my old Dell Latitude laptop a solution was finally reached.
The problem manifested itself as either mouse cursor drifting towards top right or bottom left corner, or cursor just staying in either corner.

To solve enter…

sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps

…and make it permanent add last line to /etc/modprobe.d/options

HT

Categories
Digital Media / IT Politics

Slut med Klonk.dk

I slutningen af december kom afgørelsen så fra Klagenævnet for Domænenavne, og som forventet var udfaldet ikke til min fordel.