Class names are CamelCase
.
Methods and variables are snake_case
.
Methods with a ?
suffix will return a boolean.
# Connects Jekyll with Lychee (http://lychee.electerious.com/) | |
# | |
# # Features | |
# | |
# * Generate album overview and link to image | |
# * Caching of JSON data | |
# | |
# # Usage | |
# | |
# {% lychee_album <album_id> %} |
#!/bin/bash | |
# Shotwell RAW metadata migrator | |
# | |
# This software is provided WITHOUT WARRANTY OF ANY KIND | |
# | |
# Shotwell doesn't write metadata to RAW files. This was a problem when I wished to migrate all my data out of Shotwell. | |
# This script pulls data out of Shotwell's database and writes it to the files using exiftool. | |
# This is not elegant, performant, or well-tested. However, it seems to get the job done! | |
# |
source "test/fixtures/my_rubygems_fixture", type: "json_fixture" do | |
gem "whatever" | |
gem "foobar", "~> 1.0.1" | |
end |
#!/bin/bash | |
# THE MULTI-PURPOSE NPM TROUBLESHOOTING SCRIPT | |
# Guaranteed to fix any and every problem with your npm install!** | |
# | |
# © ️Ian Young 2016 | |
# | |
# Usage: | |
# Simply run the script, passing as arguments the command that is failing. | |
# Come back in 1-45 minutes to a totally fixed npm install. |
<ruleset name="Grinnellplans.com"> | |
<target host="grinnellplans.com" /> | |
<target host="www.grinnellplans.com" /> | |
<rule from="^http:" to="https:" /> | |
</ruleset> |
# | |
#= dump database to yaml for fixtures | |
# | |
# originated by elm200 <http://d.hatena.ne.jp/elm200/20070928/1190947947> | |
# | |
#== install | |
# | |
# move this file to RAILS_ROOT/lib/tasks/extract_fixtures.rake | |
# | |
namespace :db do |
ack -f --print0 | xargs -0 -n1 vim +wq |
I hereby claim:
To claim this, I am signing this object:
export target=my_dir | |
git remote add "$target" file:////path/to/original/repo | |
git fetch "$target" | |
git co -b "$target" "$target/master" | |
# Probably breaks on whitespace, sorry dawg. | |
git filter-branch -f --tree-filter "mkdir -p \"$target\"; git ls-tree \$GIT_COMMIT --name-only | xargs --no-run-if-empty mv -t $target" "$target" | |
git co master | |
git merge "$target" | |
git remote remove "$target" | |
git br -d "$target" |