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> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript" src="http://documentcloud.github.com/underscore/underscore-min.js"></script> | |
<script> | |
/* | |
Script to transform my blog's ATOM feed to Wordpress Export format to assist in moving to new CMS. |
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
""" | |
opml2markdown.py -- A command line tool to transform OPML files into markdown. | |
Written by Rob Stenzinger | |
License: MIT | |
http://opensource.org/licenses/MIT | |
Usage: | |
python opml2markdown.py PATH-TO-OMPL-FILE OPTIONAL-HEIRARCHY-MAPPED-MARKDOWN |
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
# looks for lines of text in .md files in the current directory containing the text "ACHIEVEMENT:" | |
# > then writes the output/results to a separate file | |
grep -h -w -i "ACHIEVEMENT:" ./*.md > ./achievements/achievements.md |
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
# build-epub.sh (in epub) | |
# prep the output directories | |
mkdir ./_epub/illustrations/ | |
mkdir ./_epub/audio/ | |
# copy assets to the epub structure | |
rsync --verbose --update --recursive --progress --times ./illustrations/ ./_epub/illustrations/ | |
rsync --verbose --update --recursive --progress --times ./audio/ ./_epub/audio/ | |
cp "epub.css" "./_epub/epub.css" |
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
# build-web.sh | |
# prep the output directories | |
mkdir ./_web/illustrations/ | |
mkdir ./_web/audio/ | |
# copy assets to the web structure | |
rsync --verbose --update --recursive --progress --times ./illustrations/ ./_web/illustrations/ | |
rsync --verbose --update --recursive --progress --times ./audio/ ./_web/audio/ |
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
# build and open a revealjs deck via pandoc | |
# pandoc: convert markdown deck to revealjs deck | |
# requires a subfolder named "reveal.js" | |
pandoc -t revealjs -s deck.md -o deck.html | |
# optional post-build step, update the deck | |
# python update-deck.py | |
# open in default web browser |
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
""" | |
Post-build update a revealJS deck | |
- adds a base target, jQuery, and a main.js include script block | |
technique from: | |
http://stackoverflow.com/questions/39086/search-and-replace-a-line-in-a-file-in-python | |
""" | |
import fileinput | |
import sys |
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
""" | |
polytechnicast.py | |
Gets an MP3 file ready to post for the Polytechnicast using eyeD3 to set all the MP3 metadata plus artwork. | |
Accepts a file path as a parameter, | |
assumes that the show notes and podcast MP3 file are named the same, | |
except for their given file extension, | |
and are in the same file directory. |
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
[ | |
{ | |
"header": "Rob Stenzinger @RobStenzinger Oct 30", | |
"body": "In the latest Extra Lean, @jerzy and I announce a 30 day creative challenge called #ArtSoundoff: http://www.patreon.com/creation?hid=1138804&rf=59709&ty=2 …", | |
"interactions": "0 replies 3 retweets 0 favorites" | |
}, | |
{ | |
"header": "Rob Stenzinger @RobStenzinger Oct 31", | |
"body": "Art Soundoff makes a creative challenge out of posting a month of art audio journals: http://artsoundoff.com #artsoundoff", | |
"interactions": "0 replies 2 retweets 0 favorites" |
OlderNewer