This file contains 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 characters
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-04 | |
#Rev Note: Added Page Title & URL to clipped txt | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
import sys |
This file contains 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 characters
#!/usr/bin/env python | |
# use selenium to take webpage screen shot based on stackoverflow from Corey Goldberg | |
# http://stackoverflow.com/questions/3422262/take-a-screenshot-with-selenium-webdriver/6282203#6282203 | |
# http://stackoverflow.com/questions/3422262/take-a-screenshot-with-selenium-webdriver | |
from selenium import webdriver | |
from PIL import Image | |
import PIL.ImageOps | |
import time |
This file contains 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 characters
#Convert clipboard to uppercase/lowercase | |
import clipboard | |
text = clipboard.get() | |
if text == '': | |
print 'No text in clipboard' | |
else: | |
uppercase = text.upper() | |
if uppercase != text: | |
new_clip = uppercase | |
else: |
This file contains 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 characters
import markdown | |
import clipboard | |
input_file = clipboard.get() | |
s = input_file | |
md = markdown.Markdown() |
This file contains 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 characters
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-04 | |
#Rev Note: Added Page Title & URL to clipped txt | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
import sys |
This file contains 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 characters
# More information: http://n8henrie.com/2013/03/send-multiple-tasks-to-omnifocus-at-once-with-drafts-and-pythonista | |
# Script name: MultiLineOmniFocus | |
# Drafts "URL Action": pythonista://MultiLineOmniFocus?action=run&argv=[[draft]] | |
# Modified from email script by OMZ: https://gist.github.com/omz/4073599 | |
import smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email import encoders | |
import sys |
This file contains 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 characters
import socket | |
import console | |
console.clear() | |
fqdn = socket.getfqdn() + '.local' | |
ip_addr = socket.gethostbyname(fqdn) | |
print ip_addr |
This file contains 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 characters
import photos | |
import Image | |
choose = photos.pick_image() | |
final = choose.resize((800,600),Image.ANTIALIAS) | |
saveit = photos.save_image(final) | |
if saveit is True: |
This file contains 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 characters
import Image, ImageOps, ImageFilter | |
import photos | |
import console | |
import clipboard | |
import datetime | |
img = photos.pick_image() | |
today = datetime.datetime.now() |
This file contains 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 characters
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-04 | |
#Rev Note: Added Page Title & URL to clipped txt | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
import sys |
OlderNewer