I hereby claim:
- I am mauricerkelly on github.
- I am mrkelly (https://keybase.io/mrkelly) on keybase.
- I have a public key whose fingerprint is 0AC7 77F1 5586 FC59 7D92 9141 9F6D 40FC D81C 0568
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env zsh | |
for fullfile in $* | |
do | |
if [[ -e $fullfile ]]; then | |
file=${fullfile%.*} | |
sips --deleteColorManagementProperties \ | |
--matchTo "../ftp-mirror/PearsonScreenCapPrint.icc" \ | |
--setProperty dpiHeight 72.000 \ | |
--setProperty dpiWidth 72.000 \ |
#!/usr/bin/env bash | |
function die() { | |
echo | |
echo ">>>> $1" | |
exit 1 | |
} | |
if [ $# != 2 ]; then | |
die "Incorrect number of arguments" |
#!/bin/bash | |
# git branch-alias | |
# Version 1.07 | |
# Author: Phil S. | |
# Creates branch aliases, so that you can refer to a long branch name | |
# by a convenient short alias. This is just a "do what I mean" wrapper | |
# around git symbolic-ref, but without the (considerable) risk of | |
# trashing a branch if you get your arguments wrong |
import UIKit | |
protocol Draggable { | |
func draggableViewMethod() | |
} | |
class DraggableView: UIView, Draggable { | |
func draggableViewMethod() { | |
} |
This Gist contains the script and generated output file for an Acer B276HUL.
The pre-generated file below is known to work with:
For El Capitan:
require "preamble" | |
desc "Publish draft" | |
task :publish_draft do | |
posts_path = "#{source_dir}/#{posts_dir}" | |
puts "Listing drafts in #{posts_path}..." | |
drafts = Array.new() | |
Dir.glob("#{posts_path}/*.*").each_with_index do |post, idx| | |
yaml = Preamble.load(post) |