Skip to content

Instantly share code, notes, and snippets.

@pauljz
pauljz / auto-ocr.sh
Last active February 12, 2016 16:57
#!/bin/bash
# Install homebrew and dependencies if missing...
if ! hash brew 2>/dev/null; then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
if ! hash tesseract 2>/dev/null; then
brew install tesseract
fi
if ! hash fswatch 2>/dev/null; then
@pauljz
pauljz / keybase.md
Last active February 9, 2016 23:59
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

#!/usr/bin/env node_modules/.bin/babel-node
/**
* This script is used to keep eslint passing as we upgrade our coding style.
*
* It will find all broken eslint rules in legacy code and automatically add eslint ignores for
* any rules the file breaks. It will also clean up rules that are no longer in violation.
*
* This approach lets us make sure we're writing new code strictly without needing to constantly
* rewrite our old code.
*/
@pauljz
pauljz / html.vim
Created July 28, 2015 18:57
embperl vim syntax highlighting
" Vim syntax file
" Language: HTML
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
" URL: http://www.fleiner.com/vim/syntax/html.vim
" Last Change: 2006 Jun 19
" Please check :help html.vim for some comments and a description of the options
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
pre.prettyprint
code.lang-html
:code
<html>
<head></head>
<body></body>
</html>
@pauljz
pauljz / DependencyGraph.cs
Last active August 29, 2015 14:01
Dependency Graph
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pvc
{
class DependencyGraph
@pauljz
pauljz / gist:9862146
Created March 29, 2014 20:18
stirno/FluentAutomation Issue #69
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FluentAutomation.Tests
{
[TestClass]
public class Issue69Test : FluentTest
{
public Issue69Test()
{