Skip to content

Latest commit

 

History

History
104 lines (103 loc) · 9.21 KB

File metadata and controls

104 lines (103 loc) · 9.21 KB

Progress Log

Day Date Created Learned
001 Mar 30, 2017 script to check if tip already submitted to @python_tip Urlopen, 2vs3, csv parsing, namedtuples, contextlib
002 Mar 31, 2017 script to print out valid IPs of a specified user specified network ipaddress, simplifying and automating tedious/manual process
003 Apr 01, 2017 script to generate a gif from various png/jpg images useful for blog, awesome: pip install imageio, cli arg interface is more code :)
004 Apr 02, 2017 script that converts a text list to a text string useful for tedious sysadmin tasks. Pyperclip is used to read in a list copied to clipboard and convert it to a single line string separated by spaces.
005 Apr 03, 2017 script to create a 100DaysOfCode tweet takes a date or defaults to today, reads this LOG file in and creates a tweet about our progress (to be automated)
006 Apr 04, 2017 simple reusable code snippet to print a dict reusable code snippet to print the keys and values of a dict. Includes a demo dict. Short and sweet.
007 Apr 05, 2017 script to automatically tweet 100DayOfCode progress tweet twitter API, manage config outside source, logging, date parsing and timezones
008 Apr 06, 2017 reusable python flask html template for printing a dict reusable python flask html template that uses a for loop to print dict contents - flask
009 Apr 07, 2017 interactive script to create a new Pelican blog article lot of known concepts, but nice to bring a lot of functionality together, and above all a really useful script for our blog
010 Apr 08, 2017 script to spot cheap @transavia flights using their #API this was a nice exercise, and a very useful script for a monitoring cron job. TODO: wrap it in a Flask web app. Some modules I explored: calendar, datetime, dateutil.relativedelta, requests_cache
011 Apr 09, 2017 generic script to email the contents of a text file a script that uses your gmail account to email the contents of a text file. Current use case is to email web scraped data. smtplib, email, MIME
012 Apr 10, 2017 using OpenWeatherMap #API to compare weather in Australia vs Spain OpenWeatherMap API, pytz for timezone handling, datetime.utcfromtimestamp to parse unix timestamp to datetime, Google confirms sunset / sunrise times correct :)
013 Apr 11, 2017 simple #Flask app to compare weather of 2 cities (using OpenWeatherMap #API) This was a nice follow-up of 012, making it more generic (support any city), using Jinja templating, Flask form handling, and of course a good chunk of timezone handling (for sunset and sunrise)
014 Apr 12, 2017 script to automatically tweet out new @lynda (#Python) titles feedparser is awesome. Want to run it with filter on Python. Abstracted twitter config away in repo's common dir (re-use).
015 Apr 13, 2017 script to calculate the number of posts on @pybites small script but some interesting things: urllib.request.urlretrieve (stdlib), test and cache option (using os.start for cache file age), re.findall, dict comprehension.
016 Apr 14, 2017 script to #ssh to specified IPs and check their hostnames Generic script to ssh to a list of IPs and run a command using paramiko. This can obviously be altered for many purposes, not just hostname checks. The code is quite flexible.
017 Apr 15, 2017 script to automatically tweet out new @safari Python titles like the Lynda one, parsing an RSS feed, but only stdlib, so no feedparser, using xml.etree.ElementTree, no requests, using urllib. Also nice exercise converting and calculating with datetime / timedelta
018 Apr 16, 2017 using #pytest to write tests for @safari RSS scraper (day 017) testing is a good skill to keep honing. It lets you define your design better and look for edge cases that saves debug headaches later on. pytest is nice, to be further explored ...
019 Apr 17, 2017 paste in a list of numbers from the clipboard, sort to ascending then copy back to clipboard @AlSweigart #pyperclip #script simple yet useful script to read in a list of numbers from the clipboard, sort them into ascending order then copy the sorted list back to clipboard. Numbers need to initally be copied with a new line between them
020 Apr 18, 2017 monitor #Twitter and post to #slack each time our domain gets mentioned useful script and exercise. Twitter + Slack API combined == awesome. Aim was to clone/ replace mediatrigger.io (got bothered free trial will end one day ...)
021 Apr 19, 2017 script to make an index of modules used for this challenge (stdlib >50%) collections (defaultdict, Counter), os.path, regex, glob, os.listdir, is_std_lib function (from SO), f-strings. Nice to see we heavily use stdlib, Python == batteries included
022 Apr 20, 2017 create and paste #Amazon affiliation link to clipboard #pyperclip @AlSweigart nice little utility to copy an take Amazon link from clipboard, convert it into an affiliation link and paste it back to clipboard
023 Apr 21, 2017 use Counter to count the most common words in a file we did some time ago, collections module is awesome
024 Apr 22, 2017 generate color hex codes from random RGBs and color terminal text nice play with generators, RGB to hex with format, and colorizing the terminal with the colored package. This could be useful for future cli apps
025 Apr 23, 2017 TITLE LEARNING
026 Apr 24, 2017 TITLE LEARNING
027 Apr 25, 2017 TITLE LEARNING
028 Apr 26, 2017 TITLE LEARNING
029 Apr 27, 2017 TITLE LEARNING
030 Apr 28, 2017 TITLE LEARNING
031 Apr 29, 2017 TITLE LEARNING
032 Apr 30, 2017 TITLE LEARNING
033 May 01, 2017 TITLE LEARNING
034 May 02, 2017 TITLE LEARNING
035 May 03, 2017 TITLE LEARNING
036 May 04, 2017 TITLE LEARNING
037 May 05, 2017 TITLE LEARNING
038 May 06, 2017 TITLE LEARNING
039 May 07, 2017 TITLE LEARNING
040 May 08, 2017 TITLE LEARNING
041 May 09, 2017 TITLE LEARNING
042 May 10, 2017 TITLE LEARNING
043 May 11, 2017 TITLE LEARNING
044 May 12, 2017 TITLE LEARNING
045 May 13, 2017 TITLE LEARNING
046 May 14, 2017 TITLE LEARNING
047 May 15, 2017 TITLE LEARNING
048 May 16, 2017 TITLE LEARNING
049 May 17, 2017 TITLE LEARNING
050 May 18, 2017 TITLE LEARNING
051 May 19, 2017 TITLE LEARNING
052 May 20, 2017 TITLE LEARNING
053 May 21, 2017 TITLE LEARNING
054 May 22, 2017 TITLE LEARNING
055 May 23, 2017 TITLE LEARNING
056 May 24, 2017 TITLE LEARNING
057 May 25, 2017 TITLE LEARNING
058 May 26, 2017 TITLE LEARNING
059 May 27, 2017 TITLE LEARNING
060 May 28, 2017 TITLE LEARNING
061 May 29, 2017 TITLE LEARNING
062 May 30, 2017 TITLE LEARNING
063 May 31, 2017 TITLE LEARNING
064 Jun 01, 2017 TITLE LEARNING
065 Jun 02, 2017 TITLE LEARNING
066 Jun 03, 2017 TITLE LEARNING
067 Jun 04, 2017 TITLE LEARNING
068 Jun 05, 2017 TITLE LEARNING
069 Jun 06, 2017 TITLE LEARNING
070 Jun 07, 2017 TITLE LEARNING
071 Jun 08, 2017 TITLE LEARNING
072 Jun 09, 2017 TITLE LEARNING
073 Jun 10, 2017 TITLE LEARNING
074 Jun 11, 2017 TITLE LEARNING
075 Jun 12, 2017 TITLE LEARNING
076 Jun 13, 2017 TITLE LEARNING
077 Jun 14, 2017 TITLE LEARNING
078 Jun 15, 2017 TITLE LEARNING
079 Jun 16, 2017 TITLE LEARNING
080 Jun 17, 2017 TITLE LEARNING
081 Jun 18, 2017 TITLE LEARNING
082 Jun 19, 2017 TITLE LEARNING
083 Jun 20, 2017 TITLE LEARNING
084 Jun 21, 2017 TITLE LEARNING
085 Jun 22, 2017 TITLE LEARNING
086 Jun 23, 2017 TITLE LEARNING
087 Jun 24, 2017 TITLE LEARNING
088 Jun 25, 2017 TITLE LEARNING
089 Jun 26, 2017 TITLE LEARNING
090 Jun 27, 2017 TITLE LEARNING
091 Jun 28, 2017 TITLE LEARNING
092 Jun 29, 2017 TITLE LEARNING
093 Jun 30, 2017 TITLE LEARNING
094 Jul 01, 2017 TITLE LEARNING
095 Jul 02, 2017 TITLE LEARNING
096 Jul 03, 2017 TITLE LEARNING
097 Jul 04, 2017 TITLE LEARNING
098 Jul 05, 2017 TITLE LEARNING
099 Jul 06, 2017 TITLE LEARNING
100 Jul 07, 2017 TITLE LEARNING