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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: pink; icon-glyph: user; | |
// lookup gravatar for contacts without images. | |
var MD5 = function (string) { | |
function RotateLeft(lValue, iShiftBits) { | |
return (lValue<<iShiftBits) | (lValue>>>(32-iShiftBits)); | |
} |
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 | |
"""Convert a word (doc/docx) file to markdown""" | |
import sys | |
import os | |
import subprocess | |
SOFFICE = r'/Applications/LibreOffice.app/Contents/MacOS/soffice' | |
PANDOC = r'pandoc' |
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 and update your Pinboard bookmarks to DEVONthink | |
Based on work done by Christian Grunenberg on Mon Jan 23 2006, | |
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and | |
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished. | |
By Sascha A. Carlin <https://about.me/sascha.a.carlin> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items | |
Copyright (c) 2018. All rights reserved. *) | |
use framework "Foundation" |
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 re | |
table = '''First Header,Second Header,Third Header | |
1st Item,2nd\,Item,3rd Item | |
,One cell,Two cells | |
Two cells,One cell, | |
Awesome''' | |
ttable = [[re.sub('\\\,',',',cell) for cell in re.split('(?<!\\\),', row)] for row in table.split('\n')] |
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/ruby | |
=begin | |
This script turns downloadable tweets from twitter into a markdown | |
based text file timeline. | |
To run, change the 'Username' and 'TwitterFilename' below. | |
I THINK that this is all working. Check the previous gist version | |
for a more stable script with far fewer features. Let me know in the |
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 sys | |
import re | |
import datetime as dt | |
from collections import Counter | |
import pandas as pd | |
import seaborn as sns | |
''' | |
This script takes the following arguments and returns a graph showing the number of tasks due per day. |
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 sys | |
import re | |
import operator | |
import datetime | |
''' | |
This script generates a text/markdown file with the tasks from a taskpaper file sorted by due date in three groups: | |
Overdue, Today and Tomorrow. Also, all tasks with the @today tag are placed in the Today group. | |
The following parameters should be passed when running the script: |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> | |
<meta charset="UTF-8"> | |
<title>Chart</title> | |
<style> | |
body { | |
-webkit-text-size-adjust: 100%; | |
margin: 0; |
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
<html> | |
<title>Sitemap | Packal: Alfred Workflows and Themes</title> | |
<meta name="description" content="Browse lists of the webpages/URLs on packal.org. Power users can also use this page to view Aldred WorkFlows and themes in compact list format for faster browsing." /> | |
<meta name="keywords" content="app, productivity, applications, efficiency, alfred, shortcut" /> | |
<body role="document"> | |
<main role="navigation"> | |
<b><a href="http://packal.org/"> packal.org (HOME) </a></b> | |
<a href="http://packal.org/beta"> BETA </a> | |
<a href="http://packal.org/faq"> FAQ </a> | |
<a href="#documentation"> DOCUMENTATION </a> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0"> | |
<title>Word Cards</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
<style> | |
html { | |
height: 100%; |
NewerOlder