GNU Terry Pratchett through the Looking Glasses

 

“A man is not dead while his name is still spoken.”

One day I discovered the existence of Looking Glasses. It was so long ago now that I don’t remember exactly what led to it, but I know I found http://www.bgplookingglass.com and became quite intrigued by it.

A Looking Glass is a system that network operators might use to find out Internet routing and BGP-related information. They provide insight into how a particular router connects the Autonomous Systems that make up the internet.

But this post isn’t about Looking Glasses, it’s about something else I found. So back to my story…


read on... »

RandomNote for Joplin

 

TL;DR

I made a RandomNote for Joplin button for macOS. You can find the bash, python and AppleScript concoction here.

Apologies to non-macOS Joplin users, I have not made any other verions of this.

But if you like sticking things together, the bash and python elements could be of use to you…

What’s RandomNote?

I discovered the concept of “RandomNote” via Tiago Forte’s PARA series. To describe it at surface level: he created a button that opens a random note from his Evernote notes.

The purpose of such a button is to aid in serendipitous rediscovery of your old notes. That’s not going much deeper, to be honest. To see what inspired me into action I encourage you to read Tiago’s post about it. He has a way with words which I do not.

The rest of this post is an extension of the “API / Automation Friendly” criteria from my OneNote vs Joplin blog post.


read on... »

python

Author image osgav | |
 created: 27/01/2019 updated: 09/03/2019 python things General https://kite.com/python https://security.openstack.org/#secure-development-guidelines https://www.oreilly.com/learning/20-python-libraries-you-arent-using-but-should (found colorlog here) Specific async https://stackoverflow.com/questions/37278647/fire-and-forget-python-async-await https://medium.com/python-pandemonium/asyncio-coroutine-patterns-beyond-await-a6121486656f https://medium.freecodecamp.org/a-guide-to-asynchronous-programming-in-python-with-asyncio-232e2afa44f6 https://www.aeracode.org/2018/02/19/python-async-simplified/ https://pawelmhm.github.io/asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html cheatsheets https://www.pythonsheets.com/ cli building beautiful command line interfaces with python CmdModule https://wiki.python.org/moin/CmdModule begins https://www.oreilly.com/learning/20-python-libraries-you-arent-using-but-should database sqlalchemy https://docs.sqlalchemy.org/en/latest/ alembic: https://alembic.sqlalchemy.org/en/latest/tutorial.html eval https://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html formatting strings https://pyformat.info/ environment (pyenv) https://medium.com/@henriquebastos/the-definitive-guide-to-setup-my-python-workspace-628d68552e14 jupyter https://medium.den.ai/jupyter-notebook-tutorial-9c0ffa5ae9a1?gi=36c99a41ebe3#.dgecyg5t9 https://medium.com/towards-data-science/jupyter-notebook-hints-1f26b08429ad https://lmcinnes.github.io/subreddit_mapping/ misc https://github.
read on... »

#100DaysOfCode in Python

Author image osgav | |
 created: 20/01/2019 updated: 02/02/2019 lets see how much longer than 100 days this takes… 2019 Jan 20 Sunday started here found the github … 01-03-datetimes 2019 Jan 24-26 Thursday-Saturday … started desk/ccc/start.py (uses datetime!) 2019 Jan 27 Sunday 04-06-collections - playing with the jupyter notebook and movies_csv (add my modified ipynb to github and link here) … try to use collections in 89k.py NLTKcmd ?
read on... »