View sitemap.html
<?xml version="1.0" encoding="UTF-8"?> | |
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
{% for article in articles %} | |
<url> | |
<loc>{{ SITEURL }}/{{ article.url }}</loc> | |
<priority>0.8</priority> | |
</url> | |
{% for translation in article.translations %} |
View universal_image_merge.py
# ** Universal iOS screenshot merge ** | |
# Script will take two images of same orientation and merge them together. | |
# | |
# By: Jason Verly (@mygeekdaddy) | |
# Date: 2014-10-13 | |
# Ver: 1.02 | |
import clipboard | |
import Image | |
import console |
View curipaddr.py
#!/usr/bin/env python | |
import sys, socket | |
def main(): | |
try: | |
# fqdn = socket.getfqdn() | |
ip_addr = socket.gethostbyname(socket.getfqdn()) | |
print ip_addr | |
return 0 |
View curipaddr.py
#!/usr/bin/python | |
import socket | |
fqdn = socket.getfqdn() | |
ip_addr = socket.gethostbyname(fqdn) | |
print ip_addr |
View index.coffee
command: "/Users/mygeekdaddy/Dropbox/bin/Python/curipaddr.py" | |
refreshFrequency: 6000000 | |
style: """ | |
bottom: 212px | |
left: 15px | |
color: #fff | |
font-family: Helvetica Neue |
View index.coffee
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 |
View hdspace.js
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\ |
View startTimer.py
# 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 |
View stopTimer.py
# 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 |