Skip to content

Instantly share code, notes, and snippets.

Avatar

Noah Sussman textarcana

View GitHub Profile
View find_files_for_git_log.sh
filesystem_paths=$(
find . \
-name "*.php" \
-not -name "*Test.php"
)
git log \
--since='3 weeks ago' \
--format='%ad' \
--date=iso-local \
View find_files_for_git_log.sh
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
View compare_codebase_to_testbase_in_terms_of_commits_within_an_interval.sh
(
echo 'app/'
echo 'test/'
) \
| xargs -I@ bash -c "
echo @
git log \
--since='3 weeks ago' \
--format='%ad' \
--date=iso-local @ \
View commits_on_weekdays_tsv.sh
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}'
View commits_per_month_tsv.sh
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}'
View git_commits_in_history.sh
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"
@textarcana
textarcana / keybase.md
Created Sep 10, 2019
I fucked up and had to reset keybase :crying_cat_emoji:
View keybase.md

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
Bash Dependency Mapper
View LICENSE
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 Jul 16, 2018
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.
View region1-00250-01-01-world_history.txt
Slozgo XÉgu
The Universe of Vision
Cave swallow men
Antmen
Reptile men
Bat men
Olm men
Rodent men
Antmen
You can’t perform that action at this time.