I've been wanting to play with BeautifulSoup for quite a while now but haven't really had a reason to parse any web pages. But while taking a look at my highly unscientific and probably heavily biased( most of my traffic seems to be coming from language specific sub-reddits ) "What's your favorite Scripting Language" Poll, I thought "Wouldn't it be cool to try to pull this data and plot it in python?" A perfect excuse to play with BeautifulSoup and pandas.
Write enough shell scripts and eventually you will have to write one that sends a email report, in fact now a day's I find that most shell scripts I write (the scheduled ones anyway) require some kind of notification after they have run. Likewise, if you set up enough mail servers -- usually one is enough -- you will need a quick easy way to test SMTP.
Below is a python 3 script with smtplib and argparse, which sends a test email using smtp authentication. It's short, to the point, and I hope pretty self explanatory for anyone needing to send authenticated email via python.
InnoDB: Fatal error: cannot allocate memory for the buffer pool
As I mentioned in my post "Reboot" I've had several websites and blogs over the years, and with that has come almost every flavor of comment module you can think of. From the platform "stock" comment modules, such as Blogger, Wordpress, and Drupal, and social media plugins like Facebook and Google+.
If you are able to connect to the devices web console (default user/password is Admin/Admin) you can reset from the web page. You may need to do some detective work to find out what IP it is pulling from DHCP if it wasn't statically assigned. If not follow the steps below for a manual reset.
When I first sat down to learn Python, I was instantly disappointed with all the the available resources, and the fact that almost none of the tutorials I found seemed to work. In fact I got so frustrated with the language that I shelved the language and went to Ruby for several months. It wasn't until I paid a visit to the Windsor Hackforge and met 3 Python fanatics that I decided to take another look.
Migrated from old site