Skip to content

Instantly share code, notes, and snippets.

View eriknyquist's full-sized avatar

Erik Nyquist eriknyquist

View GitHub Profile
#!/bin/bash
# Number of data sets in generated Decathlon.dat;
# 1,000,000 is usually ~500MB
num_sets=1000000
github="https://github.com"
rxvm="eriknyquist/regexvm"
fuzz="eriknyquist/ibm2016fuzz"
fuzzer="ibm2016fuzz/gen_decathlon_input"
@eriknyquist
eriknyquist / clang-format-corelibs-arduino101
Last active August 2, 2016 01:34
clang-format style file: desired coding style for corelibs-arduino101
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: true
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
#!/bin/sh
#
# This pre-commit hook checks if any versions of clang-format
# are installed, and if so, uses the installed version to format
# the staged changes.
maj_min=1
maj_max=3
base=clang-format