Skip to content

Instantly share code, notes, and snippets.

View textarcana's full-sized avatar

Noah Sussman textarcana

View GitHub Profile
filesystem_paths=$(
find . \
-name "*.php" \
-not -name "*Test.php"
)
git log \
--since='3 weeks ago' \
--format='%ad' \
--date=iso-local \
filesystem_paths=$(find . -name "*Test.php")
git log \
--since='3 weeks ago' \
--format='%ad' \
--date=iso-local \
$filesystem_paths \
| cut -d ' ' -f1 \
| sort \
| uniq -c
(
echo 'app/'
echo 'test/'
) \
| xargs -I@ bash -c "
echo @
git log \
--since='3 weeks ago' \
--format='%ad' \
--date=iso-local @ \
TZ=$(date +%z) git log --reverse --date-order --format="%cd" --date=iso-local \
| dateround -S Sun \
| cut -d'T' -f1 \
| uniq -c \
| column -t \
| perl -pwe 's{\s+}{\t}'
TZ=$(date +%z) git log --reverse --date-order --format="%cd" --date=iso-local \
| cut -d- -f1-2 \
| uniq -c \
| column -t \
| perl -pwe 's{\s+}{\t}'
repo_age=$(git log --date=relative --reverse --format="%ad" | head -n1)
commits_in_history=$(git log --pretty=oneline | wc -l)
echo "$commits_in_history commits since $repo_age"
git log -n1
@textarcana
textarcana / keybase.md
Created September 10, 2019 22:04
I fucked up and had to reset keybase :crying_cat_emoji:

Keybase proof

I hereby claim:

  • I am textarcana on github.
  • I am noahsussman (https://keybase.io/noahsussman) on keybase.
  • I have a public key whose fingerprint is 213A 97DC 9AAD 2558 211B 4AA9 69A2 64E6 E6FC 9159

To claim this, I am signing this object:

@textarcana
textarcana / LICENSE
Last active May 5, 2020 19:22
Bash Dependency Mapper
Copyright 2010-2019 Noah Sussman New Media, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@textarcana
textarcana / region1-00250-01-01-world_history.txt
Created July 16, 2018 21:54
Dwarf Fortress produced this text file out of the first game I played. I have no idea why. I'm not sure if this is something I told it to create or it just created it.
Slozgo XÉgu
The Universe of Vision
Cave swallow men
Antmen
Reptile men
Bat men
Olm men
Rodent men
Antmen