wpblog is a python script that works with a [Wordpress][] installation via XML-RPC.
Files have the following simple format:
Title: your title here
Date: 2015-01-02 23:16:12
| #!/usr/bin/env python | |
| # https://github.com/tgray | |
| import urllib, sys, os | |
| import argparse | |
| def importFile(filename): | |
| filename = os.path.expanduser(filename) | |
| try: | |
| f = open(filename) |
Note - The following could hold true for any Xcode project, but I only really have one, [contacts][], so it is pretty specific to that project.
git tag -am '0.1' 0.1Note - This just a note for myself on how I should update my brew formulas for new versions.
I typically open up the formula and change the URL and the SHA1. Get the SHA1 by downloading the tarball (or archive) and running the following command on the command line:
openssl dgst -sha1 <FILE>
| <?xml version="1.0" encoding="UTF-8"?> | |
| <?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0"> | |
| <title>The Online Photographer</title> | |
| <link rel="alternate" type="text/html" href="http://theonlinephotographer.typepad.com/the_online_photographer/" /> | |
| <id>tag:typepad.com,2003:weblog-1321040</id> | |
| <updated>2014-12-23T10:06:44-06:00</updated> | |
| <generator uri="http://www.typepad.com/">TypePad</generator> | |
| <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/typepad/ZSjz" /><feedburner:info uri="typepad/zsjz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href= |
| # tab completions for the Fish shell <http://fishshell.org> | |
| # | |
| # taskwarrior - a command line task list manager. | |
| # | |
| # Copy this script to ~/.config/fish/completions/task.fish, open a new shell, | |
| # and enjoy. | |
| # | |
| # Objects completed: | |
| # * Commands | |
| # * Projects |
| # ledger v3.0 fish completions | |
| # Tim Gray - 2013-05-22 | |
| # vim: set ft=fish norl ts=2 sw=2 sts=2 : | |
| # check to see if we have an empty 'ledger' command. | |
| function __fish_ledger_bare | |
| set cmd (commandline -opc) | |
| if [ (count $cmd) -eq 1 -a $cmd[1] = 'ledger' ] | |
| return 0 | |
| end |
| #!/bin/sh - | |
| # Adds the first argument (a URL) to yojimbo as a bookmark. Using the -a | |
| # switch, one can add it as a web archive instead. Optional arguments 2 and 3 | |
| # can be used to set the title and the comment of the bookmark. These have no | |
| # effect if making a web archive. | |
| # | |
| # Originally designed to import newsbeuter bookmarked items into yojimbo | |
| print_help() | |
| { |
| # encoding: utf-8 | |
| # got this and modified it from: https://gist.github.com/1103291 | |
| usage 'create_article [options] identifier' | |
| summary 'create an article' | |
| aliases :ca | |
| description <<-EOS | |
| Create a new article in the current site. The first data source in the site | |
| configuration will be used. | |
| EOS |
| module Jekyll | |
| # The purpose of this plugin is to allow non-post pages show up the category | |
| # index pages. Creates a new site attribute, articles. It's a hash of all | |
| # of the pages (not posts) that contain the category 'articles'. This hash | |
| # uses the pages categories as the keys, and all of the pages with that | |
| # category are the values. | |
| # | |
| # Extensions to the Jekyll Site class. For use with Octopress. | |
| # |