TODO: Write a project description
TODO: Describe the installation process
| #covert an image in the clipboard to a 57x57 rgb icon and store base64 version of it into the clipboard. | |
| #if an image is not in the clipboard the base64 string 'b64str' will be loaded and displayed. | |
| #after running the 1st time replace the contents of b64str with the clipboard. | |
| from PIL import Image | |
| import clipboard | |
| from StringIO import * | |
| import base64 | |
| b64str=""" |
| <!doctype html> | |
| <html> | |
| <head> | |
| <style> | |
| /* ROLL LINKS */ | |
| .roll-link { | |
| display: inline-block; | |
| overflow: hidden; | |
| vertical-align: top; |
| #!/usr/bin/env ruby | |
| # encoding: utf-8 | |
| SILENT = ENV['SL_SILENT'] =~ /false/i ? false : true || true | |
| VERSION = '2.2.23' | |
| # SearchLink by Brett Terpstra 2015 <http://brettterpstra.com/projects/searchlink/> | |
| # MIT License, please maintain attribution | |
| require 'net/https' | |
| require 'uri' |
| set thePath to (path to desktop as Unicode text) & "ThingsToDo.txt" | |
| set thingsToDoFile to (open for access file thePath with write permission) | |
| set eof of thingsToDoFile to 0 | |
| set cr to ASCII character 10 | |
| tell application "Things" | |
| -- Export to-dos from Inbox | |
| write "Inbox:" & return to thingsToDoFile as «class utf8» | |
| repeat with td in to dos of list "Inbox" |