Skip to content

Instantly share code, notes, and snippets.

View someguynamedmatt's full-sized avatar
💭
Code Thrasher

Matt someguynamedmatt

💭
Code Thrasher
View GitHub Profile

Keybase proof

I hereby claim:

  • I am someguynamedmatt on github.
  • I am matt_young (https://keybase.io/matt_young) on keybase.
  • I have a public key ASA9DwWTYhEt5qcYF12OhRSmsqcPEedPckzHBEbUsggEJQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am someguynamedmatt on github.
  • I am matt_young (https://keybase.io/matt_young) on keybase.
  • I have a public key ASA9DwWTYhEt5qcYF12OhRSmsqcPEedPckzHBEbUsggEJQo

To claim this, I am signing this object:

#!/bin/bash -
#===============================================================================
#
# FILE: branch_clean.sh
#
# USAGE: ./branch_clean.sh
#
# DESCRIPTION: Go through your local git branches one-by-one and do a local delete
# of what you want. This will purposely skip master and release.
#

Flow vs. Typescript

Flow

Built by Facebook

Stats for past month: 0 merged PRs, 30 Proposed PRs, 50 closed issues, 135 new issues, SO Questions ~0.9k

Used by: Facebook...

#!/bin/bash -
#===============================================================================
# FILE: repos.sh
#
# USAGE: Update all the git repos in your ~/code directory. This will
# skip over "dirty" (code changed and uncommited) repos and
# give a warning and, after completion, list those repos.
#
# The script will ask if you want to npm install or npm build
# in the frontend repos, default is "n" (no).
HANDY ONE-LINE SCRIPTS FOR AWK 30 April 2008
Compiled by Eric Pement - eric [at] pement.org version 0.27
Latest version of this file (in English) is usually at:
http://www.pement.org/awk/awk1line.txt
This file will also be available in other languages:
Chinese - http://ximix.org/translation/awk1line_zh-CN.txt
USAGE:
@someguynamedmatt
someguynamedmatt / sed cheatsheet
Created July 13, 2017 01:51 — forked from un33k/sed cheatsheet
magic of sed -- find and replace "text" in a string or a file
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'