TinyURL Alfred Workflow
For a long time I was using this useful Shorten URL workflow for Alfred, mostly via goo.gl. But then it stopped working (classic Google), so I created my own workflow with TinyURL.
![Alfred](/blog/2019/04/02/tinyurl-alfred-workflow/images/alfred.png)
I started with writing this Python script, which is just an HTTP request to TinyURL API.
Then I discovered that Alfred doesn’t support Python 3 as it only supports what’s available out of the box (which is Python 2), so I had to call Python 3 via /bin/bash
:
![Alfred workflow](/blog/2019/04/02/tinyurl-alfred-workflow/images/alfred-workflow.png)
…And then I discovered that there is already a workflow for TinyURL, which simply uses cURL. Awkward.
Social networks
Zuck: Just ask
Zuck: I have over 4,000 emails, pictures, addresses, SNS
smb: What? How'd you manage that one?
Zuck: People just submitted it.
Zuck: I don't know why.
Zuck: They "trust me"
Zuck: Dumb fucks