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 characters
command: "/Users/mygeekdaddy/Dropbox/bin/Python/curipaddr.py" | |
refreshFrequency: 6000000 | |
style: """ | |
bottom: 212px | |
left: 15px | |
color: #fff | |
font-family: Helvetica Neue |
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 characters
command: "df -Hl | grep 'disk1' | awk '{print $4\" used/\"$2 \" free (\"$5\" used )\"}'" | |
refreshFrequency: 60000000 | |
style: """ | |
bottom: 350px | |
left: 15px | |
color: #fff | |
font-family: Helvetica Neue |
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 characters
command: "df -Hl | grep 'disk1' | awk '{print $4\" used/\"$2 \" free (\"$5\" used )\"}'", | |
refreshFrequency: 60000000, | |
render: function (output) { | |
return "<div><h1>" + output + "</h1></div>"; | |
}, | |
style: " \n\ | |
bottom: 300px \n\ |
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 characters
# startTimer.py - writes epoch time to text file for work log | |
# by: Jason Verly | |
# rev date: 2014-07-25 | |
import time | |
import console | |
import os | |
import os.path | |
import clipboard | |
import webbrowser | |
import urllib |
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 characters
# stopTimer.py - generates closure notes for Drafts action | |
# & removes the temporary 'timer.txt' file | |
# by: Jason Verly | |
# rev date: 2014-07-25 | |
import time | |
import console | |
import os | |
import os.path | |
import webbrowser | |
import clipboard |
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 characters
import selenium | |
from selenium import webdriver | |
import time | |
URL = "http://edatai.us/blog/2012/11/20/placing-kpis-different-cron-schedules" | |
b = webdriver.Firefox() | |
b.get(URL) | |
for i in range(2, 806): |
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 characters
import urllib | |
import clipboard | |
import bs4 | |
import console | |
link = clipboard.get() | |
console.show_activity() | |
soup = bs4.BeautifulSoup(urllib.urlopen(link)) |
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 characters
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-02 | |
import webbrowser | |
import clipboard | |
import urllib |
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 characters
# Markdown Conversion | |
# | |
# This script demonstrates how you can convert Markdown documents | |
# to HTML and view the results in the built-in browser. | |
import os, tempfile, codecs | |
import console, clipboard, webbrowser | |
from markdown2 import markdown | |
DEMO = ''' |
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 characters
#Summary: Takes copied text and creates new task in OmniFocus | |
#By: Jason Verly | |
#Rev: 2013-02-02 | |
import webbrowser | |
import clipboard | |
import urllib | |
import console | |
task = console.input_alert('Task', 'Enter task description') |