Skip to content

Instantly share code, notes, and snippets.

@jackbaty
jackbaty / gist:10010596
Created April 6, 2014 19:39
Day One Export OPML Template
<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
<head>
<title>Day One Export</title>
</head>
<body>
{% for entry in journal %}
<outline text="{{ entry['Text'] }}" StartDate="{{ entry['Date'] }}" Weather="{{ entry['Fahrenheit'] }} and {{ entry['Description'] }}" Address="{{ entry.place() }}" />
{% endfor %}
</body>
@jackbaty
jackbaty / gist:1973678
Created March 4, 2012 16:07 — forked from mlopes/gist:1852550
Convert wordpress style caption tags to octopress image tags
#!/usr/bin/perl
use strict;
my $script_name = $ARGV[0];
my $file_contents = "";
while(<>) {
if($_ =~ /\[caption.*/) {
my %imageData;
// ==UserScript==
// @name dumpbox
// @namespace http://fluidapp.com
// @description dumps JIRA issue content into a div for easy copy/paste action
// @include *
// @author Karl Swedberg
// ==/UserScript==
(function($) {
// ==UserScript==
// @name dumpbox
// @namespace http://fluidapp.com
// @description dumps JIRA issue content into a div for easy copy/paste action
// @include *
// @author Karl Swedberg
// ==/UserScript==
(function($) {
# Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option.
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
# slackware version of dircolors) are recognized but ignored.
# Below, there should be one TERM entry for each termtype that is colorizable
TERM linux
TERM linux-c
TERM mach-color