I hereby claim:
- I am marcusps on github.
- I am marcusps (https://keybase.io/marcusps) on keybase.
- I have a public key ASD1C5PUBPB5P-rPSKmykih9ClXJx7N_QjEAXdv8vqK_ego
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<branches> | |
<script/> | |
<branch> | |
<town>Attleboro</town> | |
<licensing>00:06:38</licensing> | |
<registration>00:08:44</registration> | |
</branch> | |
<branch> | |
<town>Boston</town> | |
<licensing>01:11:50</licensing> |
Svpply is a neat service that, in essence, allowed people to track and share items they wanted. In essence, it is a wishlist service that works across all sites, and captures the price and the image of the item you want.
Svpply is shutting down, but gladly they are allowing users to download their data -- in essence, all the info they stored in the Svpply site. I still wanted the data accessible on the web, and this turned out to be a near trivial project to write in python.
Limits: You can only upload 150 pictures a day to Tumblr. This may mean you need to break you wants.csv
file into chunks of 150 lines.
See PyTumblr and Tumblr's API console for details.
# coding: utf-8 | |
# Based on https://gist.github.com/netmute/7374150 | |
require 'date' | |
# Run some AppleScript to fetch open tabs from Chrome | |
input = %x{osascript -e 'tell application \"Google Chrome\"' -e 'set tabList to every tab of window 1' -e 'set urlList to \"\"' -e 'repeat with aTab in tabList' -e 'set aLink to URL of aTab' -e 'set aTitle to Title of aTab' -e 'set urlList to urlList & aLink & \"$\" & aTitle & ASCII character 10' -e 'end repeat' -e 'return urlList' -e 'end tell' 2> /dev/null }.chomp | |