Skip to content

Instantly share code, notes, and snippets.

View maschad96's full-sized avatar

Matt maschad96

  • Henderson, NV
  • 22:00 (UTC -07:00)
View GitHub Profile
@maschad96
maschad96 / index.html
Last active April 16, 2020 22:26 — forked from jdanyow/index.html
another poc
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
<style>
*:focus {
outline-color: inherit;
outline-style: dashed;
@maschad96
maschad96 / unwatch-repos-in-console.js
Last active November 11, 2019 20:46
Unwatch repositories belonging to organizations
1 - Navigate to github.om/watching
2 - Run the following in the browser
const rows = document.querySelectorAll('.Box-row');
rows.forEach(row => {
const name = row.querySelector('a').getAttribute('href');
const popover = row.querySelector('summary');
// If the name doesn't match our desired orgs to unwatch, return early
@maschad96
maschad96 / gist:7fa5cddacdad74d3aea27a61423295c4
Created June 14, 2018 15:13
Replace all committer emails in repo, from Old Email to New Email
git filter-branch --env-filter '
OLD_EMAIL="matt@giddydev.com"
CORRECT_NAME="Matthew Schad"
CORRECT_EMAIL="mschad@brighterhomesphotography.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]