Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dahanbn on github.
  • I am dahan (https://keybase.io/dahan) on keybase.
  • I have a public key whose fingerprint is 45BA 7ACB 5A27 4B1F EC11 3E6F 50B3 6241 7429 A5DF

To claim this, I am signing this object:

@dahanbn
dahanbn / tag_with_pushpin.js
Created March 29, 2014 14:08
Headless bookmarklet to launch Launchcenter Pro to choose various tag sets from a list and launch Pushpin with title, URL and the chosen tags. You can add frequently used tag combinations to that bookmarklet and add later a few single tags with the excellent tag completion feature of Pushpin. It is inspired by Federio Vitticci and his headless i…
javascript:
window.location = 'launchpro://?url=' + encodeURIComponent('launchpro://?url='+ encodeURIComponent('pushpin://add?url={{' + location.href + '}}&title={{' + document.title + '}}&tags=[list:📌'+ location.href +'|without tag= |!to_check_out|ios app url-scheme=ios app url-scheme|ebook=reading ebook]'));
@dahanbn
dahanbn / UpdatePinboardTags.py
Last active August 29, 2015 13:57 — forked from philgruneich/UpdatePinboardTags.py
UpdatePinboardTags
#coding: utf-8
import console
import keychain
import pickle
login = keychain.get_password('pinboard.in','pythonista')
if login is not None:
user, pw = pickle.loads(login)
else:
@dahanbn
dahanbn / bookmark_lcp_menu.js
Created March 26, 2014 15:55
Headless iOS bookmark to launch LaunchCenter Pro and display a menu with various actions with the url. - based on a idea of Federico Vittici
javascript:window.location='launchpro://?url='+encodeURIComponent('launchpro://?url=[list:URL: ' +location.href+'|🔵 Twitterrific=twitterrific://dahan/post?message={{'+location.href+'}}|🔷 Tweetbot=tweetbot://dahan/post?text={{'+location.href+'}}}|🔶 Riposte=riposte://x-callback-url/createNewPost?text={{'+location.href+'}}|📌 Pushpin=pushpin://add?url={{'+location.href+'}}|✅ To Check Out=pushpin://add?url={{'+location.href+'}}&tags=!to_check_out&unread=yes|🔴 Reminder=fantastical2://parse?sentence={{'+location.href+'}}&reminder=1|🔒 Open In 1Password=op'+location.href+'|🔗 Clean Link=clean-links://x-callback-url/clean?url={{'+location.href+'}}]')