Wednesday, 16 January 2019

Console Autologin Raspbian Stretch

(or any other distribution that uses systemd and getty to provide the console/tty/terminal service)
  1. Edit /lib/systemd/system/serial-getty@.service
  2. Append -a/--autologin USERNAME to the line: ExecStart=-/sbin/agetty --noclear %I $TERM
  3. Hence: ExecStart=-/sbin/agetty -a USERNAME %I $TERM
  4. Restart. 

Monday, 17 December 2018

Dot-Com Dollar-Cost

It took 14 years for US stocks to recover from the dot-com bubble. What if we started buying in at the high?

Thursday, 22 November 2018

Python Stock Scraper

A basic HTML scraper in Python for stock prices that are only available via website. (i.e. not available via free API).