Command line WordPress updates

To update WordPress instances via command line, check out https://wp-cli.org/. Useful when you can’t find an admin user but need to patch a WordPress instance immediately. Other useful resources: https://www.rosehosting.com/blog/how-to-install-and-use-wp-cli-on-a-linux-vps/

Save a list of all my music to a file

SSH to slave27.local and then issue one of the following commands: cd Music tree -l > /home/andy/Dropbox/music-2017-01-28.txt Which gives output that looks something like this: ├── !!! │   └── Thr!!!er │   ├── 01 Even When The Water’s Cold.m4a │   ├── 02 Get That Rhythm Right.m4a │   ├── 03 One Girl _ One Boy.m4a │   ├── … Read more

Ubuntu and Targus docks

http://support.displaylink.com/knowledgebase/articles/684649-how-to-install-displaylink-software-on-ubuntu Those instructions work, and sound/network/USB works fine. Graphics over USB2 is painfully slow though, so on older machines it’s worth plugging the monitor straight into the computer rather than trying to use the dock to toggle displays.

Cinnamon

It looks like Cinnamon will give me the best approximation of how my new Windows 10 computer will work. I thought it would be KDE. I figured that trying to get everything to look/behave the same should help, and I’ve got my computer behaving a lot better than it did under Unity already. I’m using … Read more

Windows software

Things to install on new Windows 10 computers: Pandoc Dropbox Atom (in fact, these three should go on any new computer I’m using for personal work).

New update script using apt rather than apt-get

My plan is to migrate everything to this syntax. This is the first one. #!/bin/bash echo “updateall v.1.3 for Raspian” #Run this as a normal user. Your admin password will be asked for if required. sudo apt update sudo apt upgrade -y sudo apt full-upgrade -y sudo rpi-update echo “The script has now finished running.”

Updating Raspberry Pi to PIXEL

PIXEL is the new UI for the Pi, which will be on all new installations. To upgrade an existing Pi issue the following commands: sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install -y rpi-chromium-mods sudo apt-get install -y python-sense-emu python3-sense-emu sudo apt-get install -y python-sense-emu-doc realvnc-vnc-viewer

Installing Homebrew

Homebrew is a package manager for command line tools on macOS. It can be installed by issuing the following command: /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Packages can be installed with brew install <packagename> and updated with brew update.