This file contains hidden or 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
<?xml version="1.0"?> | |
<rdf:RDF xmlns="http://www.gra.fo/schema/untitled-ekg#" | |
xml:base="http://www.gra.fo/schema/untitled-ekg" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:gf="http://www.gra.fo/schema/untitled-ekg#" | |
xmlns:owl="http://www.w3.org/2002/07/owl#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:xml="http://www.w3.org/XML/1998/namespace" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema#" | |
xmlns:foaf="http://xmlns.com/foaf/spec/" |
This file contains hidden or 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/bin/env ruby | |
require 'open3' | |
# | |
# Adds RuboCop to a project, one cop per commit | |
# | |
class RuboCoper | |
FILES_AND_DIRECTORIES = "app config Gemfile lib spec test".freeze | |
BIN = "bundle exec govuk-lint-ruby".freeze |
This file contains hidden or 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
Page.all.each do |page| | |
Slices::PageLocalizer.new(page).localize | |
page.save | |
end |
This file contains hidden or 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
function p { | |
cd "`find ~/Projects -iname \"*$1*\" -type d -maxdepth 2 | sort | head -1`" | |
} |
This file contains hidden or 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
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
export EDITOR="/usr/bin/mate -w" | |
export HISTIGNORE="&:ls:[bf]g:exit" | |
export HISTSIZE=10000000 | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
# Get the name of the branch we are on |