Skip to content

Instantly share code, notes, and snippets.

@broofa
broofa / commit-msg
Created October 28, 2016 17:04 — forked from wesbos/commit-msg
ESLint 3.0 Git Pre Commit Hook
#!/bin/bash
files=$(git diff --cached --name-only | grep '\.jsx\?$')
# Prevent ESLint help message if no files matched
if [[ $files = "" ]] ; then
exit 0
fi
failed=0
for file in ${files}; do
((((()(()(((((((()))(((()((((()())(())()(((()((((((()((()(()(((()(()((())))()((()()())))))))))()((((((())((()))(((((()(((((((((()()))((()(())()((())((()(()))((()))()))()(((((()(((()()))()())((()((((())()())()((((())()(()(()(((()(())(()(())(((((((())()()(((())(()(()(()(())))(()((((())((()))(((()(()()(((((()()(()(((()(((((())()))()((()(()))()((()((((())((((())(()(((())()()(()()()()()(())((((())((())(()()))()((((())))((((()())()((((())((()())((())(())(((((()((((()(((()((((())(()(((()()))()))((((((()((())()())))(((()(()))(()()(()(((()(()))((()()()())((()()()(((())())()())())())((()))(()(()))(((((()(()(())((()(())(())()((((()())()))((((())(())((())())((((()(((())(())((()()((((()((((((()(())()()(()(()()((((()))(())()())()))(())))(())))())()()(())(()))()((()(()(())()()))(()())))))(()))(()()))(())(((((()(()(()()((())()())))))((())())((())(()(())((()))(())(((()((((((((()()()(()))()()(((()))()((()()(())(())())()(()(())))(((((()(())(())(()))))())()))(()))()(()(((((((()((((())))())())())())()((((((((((((((()()((((((()()(
Dear Mr. Kieffer:
Thank you for contacting me with your thoughts on gun control laws. I appreciate your taking the time to get in touch. My prayers are with the victims, their families, and the people of Orlando after this senseless, horrible attack.
When I was in the Oregon legislature, I supported a successful effort to enact legislation improving our gun safety laws, and now in Congress I want to ensure that we are enforcing the gun laws we have on the books. The fact is that there are some people who cannot and should not own guns, either because of their criminal background or mental health needs.
The system we already have in place for this exact purpose—the National Instant Criminal Background Check System (NICS)—has facilitated millions of firearms background checks in collaboration with the FBI. This is an important tool for our law enforcement agencies, but as of now it is not being used to its full potential: of the over 2.1 million denials for attempted illegal purchases, only a tiny fracti
<!DOCTYPE html />
<html>
<head>
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script>
// Array of items to display
var items = [];
// (Re)render the list of items
function renderList() {
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 1 column, instead of 3. in line 2.
Flight Summary:
Eggtimer TRS 1.05A Flight Settings
...Drogue <1=Normal,2=Backup,0=OFF>...-1
...Main Altitude <50-2000 by 50, 0=OFF>...-1
...Frequency (Ctrl-F to change)...915
...ID Code...0
...Kieffer's TRS
ASL Alt.: 4417 ft
Base Temp: 29.0 C
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 1 column, instead of 3. in line 2.
Flight Summary:
Eggtimer TRS 1.05A Flight Settings
...Drogue <1=Normal,2=Backup,0=OFF>...-1
...Main Altitude <50-2000 by 50, 0=OFF>...-1
...Frequency (Ctrl-F to change)...915
...ID Code...0
...Kieffer's TRS
ASL Alt.: 4418 ft
Base Temp: 29.6 C
kieffer@Roberts-MacBook-Pro$ node -e "require('express')" # i.e. express not installed
module.js:340
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
kieffer@Roberts-MacBook-Pro$ lsf
total 0
drwxr-xr-x 3 kieffer staff 102 Apr 3 11:24 node_modules/
kieffer@Roberts-MacBook-Pro$ \rm -fr node_modules/
kieffer@Roberts-MacBook-Pro$ npm ls
/Users/kieffer/mime_issues
└── (empty)
{
"swagger": "2.0",
"info": {
"description": "CS 496 API <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters",
"version": "1.0.0",
"title": "CS 496 Homework for Robert",
"contact": {
"email": "robert@broofa.com"
},
"license": {
[
{
"msg_LicenseDataCaptured": {
"License Data Captured": {
"atTime": 1412622266969,
"userID": "",
"operatorURL": "",
"licenseURL": "",
"distributorID": "",
"resourceID": "",