Categories
git

Useful git aliases

Here’s some useful git configurations and aliases.  The way you make a git alias is as follows:

$ git config --global alias.co checkout
$ git config --global alias.br branch
$ git config --global alias.ci commit
$ git config --global alias.st status

You can use git config to also set various items such as the diff.tool, which uses gvimdiff whenever you use git difftool.  This makes the diffs much more visually understandable since you can scroll and see more context.

color.ui=auto
diff.tool=gvimdiff
alias.loga=log --oneline -15 --graph --decorate --all
alias.rev=remote -v
alias.lst=ls-tree --abbrev -l HEAD
core.pager=less -r
Categories
debian Uncategorized

PIXMA 100 setup

this is a cheap and apparently old printer.  Important points:

  • It doesn’t connect to my WiFi — it needs a WPS button on the router
  • It doesn’t work with USB3 ports, needs to be connected to an older port
  • It needs to be rebooted prior it each printing session
  • The paper tray needs to be unfolded from the back, and the paper catcher needs to be unfolded from the front.