Cormac Relf
puts "string" + 56.hello(thing: true)
==> Downloading http://www.clifford.at/stfl/stfl-0.22.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/libstfl-0.22.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/libstfl-0.22.tar.gz | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file Makefile | |
patching file perl5/Makefile.PL | |
patching file python/Makefile.snippet | |
patching file ruby/Makefile.snippet | |
patching file stfl.pc.in |
==> Downloading http://www.clifford.at/stfl/stfl-0.22.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/libstfl-0.22.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/libstfl-0.22.tar.gz | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file Makefile | |
patching file perl5/Makefile.PL | |
patching file python/Makefile.snippet | |
patching file ruby/Makefile.snippet | |
patching file stfl.pc.in |
\documentclass[]{article} | |
\usepackage{amssymb,amsmath} | |
\usepackage{ifxetex,ifluatex} | |
\ifxetex | |
\usepackage{fontspec,xltxtra,xunicode} | |
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} | |
\newcommand{\euro}{€} | |
\else | |
\ifluatex | |
\usepackage{fontspec} |
Cormac Relf
puts "string" + 56.hello(thing: true)
====> /logs/access.log <==== | |
10.0.64.41 - - [24/Nov/2012:12:13:31 +0000] "GET / HTTP/1.0" 200 318 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" | |
====> /logs/error.log <==== | |
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName | |
[Sat Nov 24 12:13:14 2012] [warn] pid file /var/vcap.local/dea/apps/geoff-0-f305bf0d2c89dbe1c542fbf878be0321/run.pid overwritten -- Unclean shutdown of previous Apache run? | |
[Sat Nov 24 12:13:14 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations |
def hello | |
puts :hello_world | |
end |
.highlight { | |
padding: 10px; | |
overflow: scroll; | |
} | |
code { | |
font-weight: normal; | |
background: none; /* This part is important. */ | |
} |
# a bit of a hack | |
# by Cormac Relf - cormacrelf.com - @cormacrelf | |
# Opens the url on the clipboard in Safari | |
# by opening Google Chrome with an x-callback-url | |
# that takes you to the same url in Safari. | |
# I guess you could just open it in googlechrome:// | |
import webbrowser |
# Date parsing for Things | |
# by Cormac Relf - cormacrelf.com - @cormacrelf | |
# depends on parsedatetime | |
# use the .py files extracted from v0.8.7 from here: https://gist.github.com/4583376 | |
# alternatively: | |
# download pipista; https://gist.github.com/4116558 | |
# in the plain Pythonista console, type `import pipista`, then `pipista.pypi_download("parsedatetime")` | |
# download shellista; https://gist.github.com/4139094 | |
# running shellista, enter the following commands, which have been shortened for your convenience: |
#!/usr/bin/env python | |
""" | |
Parse human-readable date/time text. | |
""" | |
__license__ = """ | |
Copyright (c) 2004-2008 Mike Taylor | |
Copyright (c) 2006-2008 Darshana Chhajed | |
All rights reserved. |