Last active
August 29, 2015 14:18
Revisions
-
jkishner renamed this gist
Mar 31, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jkishner revised this gist
Mar 31, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # I am more than likely importing more libraries than are necessary import urllib2 import urllib import re @@ -13,6 +14,7 @@ import base64 # Grab url (or whatever) from the clipboard u = clipboard.get() # replace everything up to the ? with the URL of your wallabag installation link = "YOURDOMAIN/wallabag/?action=add&autoclose=true&url=" link += base64.b64encode(u) webbrowser.open(link) -
jkishner revised this gist
Mar 31, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import clipboard import urlparse import notification import webbrowser import base64 # Grab url (or whatever) from the clipboard u = clipboard.get() -
jkishner created this gist
Mar 31, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import urllib import re import clipboard import urlparse import notification import webbrowser # Grab url (or whatever) from the clipboard u = clipboard.get() link = "http://jeffreykishner.com/wallabag/?action=add&autoclose=true&url=" link += base64.b64encode(u) webbrowser.open(link)