Skip to content

Instantly share code, notes, and snippets.

View jwoolston's full-sized avatar

Jared Woolston jwoolston

  • CA, United States
View GitHub Profile
@jwoolston
jwoolston / Fxaa3_11.h
Created August 21, 2016 22:01
NVIDIA FXAA 3.11 by TIMOTHY LOTTES
/*============================================================================
NVIDIA FXAA 3.11 by TIMOTHY LOTTES
------------------------------------------------------------------------------
COPYRIGHT (C) 2010, 2011 NVIDIA CORPORATION. ALL RIGHTS RESERVED.
------------------------------------------------------------------------------
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
#!/usr/bin/env node
// Copyright 2011, Tim Branyen @tbranyen <[email protected]>
// Dual licensed under the MIT and GPL licenses.
// Script to detect cursewords in commit messages and provide the
// offending commit sha's.
// vim: ft=javascript
var git = require( 'nodegit' );
var curses = [ 'removed', 'inappropriate', 'swear', 'words' ]
import sun.misc.Unsafe;
import java.util.Arrays;
import java.util.Random;
/**
* @author mh
* @since 12.02.11
*/
public class StringSearcher {