Skip to content

Instantly share code, notes, and snippets.

View sudarkoff's full-sized avatar

George Sudarkoff sudarkoff

View GitHub Profile
#!/bin/sh
TRUNK_HASH=`git show-ref --hash remotes/trunk`
REV=`git svn find-rev "$TRUNK_HASH"`
if [ "$#" -eq 0 ]
then
HASHES="$TRUNK_HASH..HEAD"
else
HASHES="$1"

Keybase proof

I hereby claim:

  • I am sudarkoff on github.
  • I am sudarkoff (https://keybase.io/sudarkoff) on keybase.
  • I have a public key ASCFtSpU6l08tHqttWAfJVqzngniWhNZD0t8V6kPwXZGfgo

To claim this, I am signing this object:

@sudarkoff
sudarkoff / DoubleTapTimedLight.groovy
Created August 19, 2014 17:23
SmartThings SmartApp: Double-tap a switch to turn a light for a duration
/**
* Double Tap Mode Switch
*
* Copyright 2014 George Sudarkoff
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
a http://www.apache.org/licenses/LICENSE-2.0
*
@sudarkoff
sudarkoff / Makefile.pandoc
Last active June 12, 2020 15:13
Makefile for converting Markdown to various formats with Pandoc, TeX and kindlegen
BUILD_DIR := gen
# pandoc is a handy tool for converting between numerous text formats:
# http://johnmacfarlane.net/pandoc/installing.html
PANDOC := pandoc
# pandoc options
# Liberation fonts: http://en.wikipedia.org/wiki/Liberation_fonts
PANDOC_PDF_OPTS := --toc --chapters --base-header-level=1 --number-sections --template=virsto_doc.tex --variable mainfont="Liberation Serif" --variable sansfont="Liberation Sans" --variable monofont="Liberation Mono" --variable fontsize=12pt --variable documentclass=book
PANDOC_EBOOK_OPTS := --toc --epub-stylesheet=epub.css --epub-cover-image=cover.jpg --base-header-level=1