Linux

If you’ve ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you?

In Automate the Boring Stuff with Python, you’ll learn how to use Python to write programs that do in minutes what would take you hours to do by hand-no prior programming experience required.

https://automatetheboringstuff.com/

 

Recently upgraded to 18.04 and ended up on console?
Worry not…just a „few“ more undocumented steps and you are there…

  1. Start with:
    startx
  2. Now you probably ended up on some useless desktop. No symbols, nothing. Open the terminal by hitting CTRL+SHIFT+T and type:
    sudo apt-get install lightdm
  3. Congratulations. You’re back on your desktop
  4. Now SAMBA is not working because…fuck knows why. So install samba client:
    sudo apt install smbclient 
  5. Edit the samba config:
    sudo nano /etc/samba/smb.conf
  6. Change workgroup = WORKGROUP to whatever it’s called where you are
  7. Add the following lines underneath:
    client max protocol = NT1
    min protocol = SMB2
  8. Congratulations you should be able to access Windows Shares now too.