I hereby claim:
- I am nlindley on github.
- I am nlindley (https://keybase.io/nlindley) on keybase.
- I have a public key ASBF4aC-Vw_FMQdssfSfdsxaRns910X0u-lPj6Bpj3CqJwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
module Jekyll | |
class ArchivePage < Page | |
include Convertible | |
attr_accessor :site, :pager, :name, :ext, :basename, :dir, :data, :content, :output | |
# Initialize new ArchivePage | |
# +site+ is the Site | |
# +month+ is the month | |
# +posts+ is the list of posts for the month |
#!/bin/sh | |
if test $# -ne 2 | |
then | |
echo "Usage: swap <filename> <filename>" | |
exit 1 | |
fi | |
if test ! -w "$1" | |
then |
for FILENAME in `ls`; do perl -pi -e "print \"# `ruby -e \"require 'active_support/inflector'; puts '${FILENAME%.md}'.titleize\"`\n\n\" if $. == 1" $FILENAME; done; |
module Jekyll | |
class ArchiveGenerator < Generator | |
safe true | |
def generate(site) | |
collate_by_month(site.posts).each do |month, posts| | |
page = ArchivePage.new(site, month, posts) | |
site.pages << page | |
end | |
end |
tell application "Finder" | |
set FolderPath to (choose folder default location alias ((home as text) & "RailsApps")) | |
set PosixPath to POSIX path of FolderPath | |
end tell | |
tell application "Terminal" | |
activate |
Object schema description language and validator for JavaScript objects.
Current version: 4.7.x
Lead Maintainer: Eran Hammer
'.source.js': | |
'BDD Test Case': | |
'prefix': 'gwt' | |
'body': """ | |
describe('Given $1', function() { | |
describe('When $2', function() { | |
it('Then $3', function(done) { | |
$4 | |
done(); | |
}); |