TECH TIPS
How to configure cron jobs to run python script
Just use crontab -e and follow the tutorial here: http://adminschoice.com/crontab-quick-reference Look at point 3 for a guide on how to specify the frequency. Based on your requirement, it should effectively be: */10 * * * * /usr/bin/python script.py
SUDO resets path and environment variables
Sudo resets PATH, along with many other environment variables, for security reasons. It doesn't matter what is set in /etc/profile, unless you run sudo -i. The sudo manual page, under SECURITY NOTES, gives an insight about the security implications, along with the...
HP 8440p laptop – Setting Time and Date, Clock Losing Time, Time and Date Incorrect
Here is a proposed solution.
CSS3 @media Rule
The @media rule is used to define different style rules for different media types/devices. Example Change the background-color if the viewport is 480 pixels wide or wider: @media screen and (min-width: 480px) { body { background-color: lightgreen; } }
If you don’t want Google to have all of your passwords, you need to turn off Smart Lock
I know it's convenient to have your Chrome browser save all of your passwords so that you don't have to type them in each time. However, this is a big security risk. If I were you, I would go to https://passwords.google.com and turn off "Smart Lock for Passwords." I...
HP8440P laptop login loop on Ubuntu 16.04
If you've been successfully running 16.04 with your video driver before, but the login loop issue happens after the latest software update, try this, it worked for me after trying EVERYTHING else. This is the equivalent of searching for "additional drivers": sudo...