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 | |
from bs4 import BeautifulSoup | |
import urllib.request | |
home_link = "whoishostingthis" | |
file_name = sys.argv[1] | |
f = open(file_name) |
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
#! /bin/sh | |
month=$(date +"%b") | |
mo=$( tr '[A-Z]' '[a-z]' <<< $month) | |
yr=$(date +"%y") | |
mdfile="$1.md" | |
hfile="../html/$1-adamwood-$mo-$yr.html" | |
pandoc -f markdown -S -o $hfile $mdfile |
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
#! /bin/sh | |
myname=adamwood | |
#change that to your name | |
month=$(date +"%b") | |
mo=$( tr '[A-Z]' '[a-z]' <<< $month) | |
yr=$(date +"%y") | |
mdfile="$1.md" | |
hfile="../html/$1-$myname-$mo-$yr.html" |
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/local/bin/bash | |
## You may have to change that line to specify the path to the bash interpreter you want to use. | |
## BTW, this script requires bash v4.0 or better, as it uses Associative Array | |
## Someone set us up the bomb. | |
declare -A lnks | |
## links go here | |
## WIHT writers should use these, and add more |
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
Standing up, worried, | |
he thought it would be today. | |
Tomorrow. Perhaps. |
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
A tiny repo | |
Full-fledged forkability | |
Gist is git haiku |
NewerOlder