This is my email:
echo sam.samwhited.com | sed 's/\./@/'Also this:
echo sam.samwhited.com | awk '{sub(/\./,"@")}; 1'| <r:hide> | |
| Insert content only if we're viewing a news item. | |
| Matches any path that contains "/news/yyyy/mm/dd/" | |
| </r:hide> | |
| <r:if_path matches="\/news\/(19|20)\d\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])\/" ignore_case="true"> | |
| <r:yield /> | |
| </r:if_path> |
This is my email:
echo sam.samwhited.com | sed 's/\./@/'Also this:
echo sam.samwhited.com | awk '{sub(/\./,"@")}; 1'A list of some strange pages on my website:
| % Because I can never remember how to get rid of the borders on all systems... | |
| \usepackage[pdfborder=0, bookmarks, colorlinks=false]{hyperref} |
| % !TEX TS-program = xelatex | |
| % !TEX encoding = UTF-8 | |
| \documentclass[a4paper,11pt]{article} | |
| % Use [PoetryTeX](http://samwhited.github.com/poetrytex/). | |
| \usepackage{poetrytex} | |
| % Use the PA5 paper size | |
| \usepackage[paperwidth=140mm,paperheight=210mm]{geometry} |
| #!/usr/bin/env bash | |
| for i in $(eval echo {$1..$2}) | |
| do | |
| curl "http://questionablecontent.net/comics/$i.png" > "QuestionableContent/$i.png" | |
| done |
| % A few example commands for a more git-aware LaTeX. | |
| % Note that this requires you to run pdflatex/xelatex/etc. with the | |
| % `--shell-escape' option which is extremely unsafe. Use with care | |
| % and *never* use with plain TeX. | |
| % Print the short-hash of the current commit | |
| \newcommand*{\gitrev}{% | |
| \immediate\write18{% | |
| rm gitrev.tex 2> /dev/null; git rev-parse --short HEAD > gitrev.tex | |
| }% |
| From 9b679e42b946eb140d2c57a7ec4afa6d42d1d097 Mon Sep 17 00:00:00 2001 | |
| From: Sam Whited <sam@samwhited.com> | |
| Date: Sat, 4 Aug 2012 23:27:41 -0400 | |
| Subject: [PATCH] Remove titlecase from blockquote | |
| --- | |
| plugins/blockquote.rb | 5 ++--- | |
| 1 file changed, 2 insertions(+), 3 deletions(-) | |
| diff --git a/plugins/blockquote.rb b/plugins/blockquote.rb |
| % !TEX TS-program = pdflatex | |
| % !TEX encoding = UTF-8 | |
| \documentclass[11pt]{article} | |
| % Use UTF-8 | |
| \usepackage[utf8]{inputenc} | |
| \usepackage[T1]{fontenc} | |
| % Use [PoetryTeX](http://www.ctan.org/pkg/poetrytex) and paracol. |
| #!/usr/bin/env bash | |
| # Wrap FLAC files in an OGG wrapper (.oga file). | |
| # Deletes the original flac file after verifying that the oga file matches. | |
| # For safety all warnings are treated as errors (and prevent deletion of flac files). | |
| # | |
| # WARNING: Does not prompt before overwriting `.oga' files. | |
| # | |
| # Examples: | |
| # | |
| # $ flac2ogg flacfile.flac |