Posts about linux
Clean installation of mysql-server on Ubuntu (also happened to me on Debian), i can't connect with root and no password (even though on installation i set a blank password). This is not MariaDB, it's the proper 5.7 version installed via package repository after using the Mysql APT tool to set it up.
Here's the shit i had to do to make this work:
sudo emacs /lib/systemd/system/mysql.service
In this file, add --skip-grant-tables to the Exec command. After that run:
sudo systemctl daemon-reload s...
Here's a neat trick: Setting the current tmux window/pane title to the current running command. In case there is no command running, show the current working directory. But trim it a little, so we don't end up with huge window titles :)
In your config.fish file add the following functions:
# Set the tmux window title, depending on whether we are running something, or just prompting function fish_title if [ "fish" != $_ ] tmux rename-window "$_ $argv" else ...