Thanks for joining us for "the definitive deep dive into the .git folder". It's an incredible live-demo where we open every file in the .git folder and show what it does.
Here's the links we saw:
| #!/usr/bin/env php | |
| <?php | |
| /* | |
| * This file is part of the Symfony Standard Edition. | |
| * | |
| * (c) Fabien Potencier <[email protected]> | |
| * | |
| * For the full copyright and license information, please view the LICENSE |
| <?php | |
| trait CastsValueObjects | |
| { | |
| protected function castAttribute($key, $value) | |
| { | |
| $castToClass = $this->getValueObjectCastType($key); | |
| // no Value Object? simply pass this up to the parent | |
| if (!$castToClass) { | |
| return parent::castAttribute($key, $value); |
| [alias] | |
| random = !"git add -A; git commit -am \"$(echo $(curl -s http://whatthecommit.com/index.txt)\" (http://whatthecommit.com)\")\"; git pull --rebase; git push" |
| <snippet> | |
| <content><![CDATA[ | |
| <i class="fa fa-fw fa-${1}"></i> | |
| ]]></content> | |
| <tabTrigger>fa</tabTrigger> | |
| <description>Font Awesome Icon</description> | |
| <scope>text.blade, text.html.blade, text.html</scope> | |
| </snippet> |
| <?php | |
| // | |
| // AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
| // | |
| // https://gist.github.com/levelsio/6ee6c47283ee414ef3aace1d81986717 | |
| // | |
| // File: twitterFollowerCuratorBot.php | |
| // | |
| // Created: May 2021 |
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore. The list of supporting software reflects the known state as of this date. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
| # Delete all forks that haven't been updated since 2020 | |
| gh auth refresh -h github.com -s delete_repo | |
| gh search repos \ | |
| --owner marcaube \ | |
| --updated="<2020-01-01" \ | |
| --include-forks=only \ | |
| --limit 100 \ | |
| --json url \ | |
| --jq ".[] .url" | xargs -I {} gh repo delete {} --yes |