Archives

All posts for the month Mai, 2018

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.

“Sit back in your chairs and put your feet flat on the deck. Knees apart, your hands limp on the inside of your lap. Now, close your eyes and drop your chin until it rests on your chest.

Let’s breathe slowly, deeply, and regularly. Take all the wrinkles out of your forehead. Relax your scalp. Just let go. Now let your jaw sag-g-g. Let it drop open. Now relax the rest of your face muscles. Get the brook trout look on your face. Even relax your tongue and lips. Just let them go loose. Breathe slowly.

Now, let’s go after the eight muscles that control your eyes. Let them go limp in their sockets. No focus, just let them go limp. Breathe slowly.

Now drop your shoulders as low as they will go. You think that they are low, but let them go more.  Did you feel the muscles in the back of your neck go limp? When you think you are really relaxed, let them go even more.

Now, let’s relax your chest. Take a deep breath. Hold it. Exhale and blow out all your tensions. Just let your chest collapse. Let it sag-g-g. Imagine you are a big, heavy blob on the chair, a jellyfish. Breathe slowly. When you exhale, release more and more of your tensions.

Let’s go after your arms. Talk directly to your arm muscles. First, talk to your right bicep. Tell it to relax, go limp. Do the same to your right forearm. Now to the right hand and fingers. Your arm should feel like a dead weight on your leg. Repeat the relaxation process with your left arm. Breathe slowly.

Your entire upper body has been exposed to relaxation and a warm, pleasant feeling comes over you. You feel good. A sense of well-being invades your body.

Now for your lower body. Talk to your right thigh muscles. Let them go to a dead weight on the chair. Let the meat hang on the bones. Go through the same routine for the right calf muscles. Then all the muscles of your right ankle and foot. Tell yourself that your right leg has no bones in it. It is just a flabby, heavy weight on the deck. Repeat the process with your left thigh, calf, ankle, and foot.

At present you are all relaxed physically, or think you are. For a little insurance, let’s take three deep breaths and when you let them out, blow out all the remaining tensions, one . . . whoosh, two . . . whoosh, three . . . whoosh.”

Bud Winters „Relax & Win“