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:
### Keybase proof | |
I hereby claim: | |
* I am marcaube on github. | |
* I am marcaube (https://keybase.io/marcaube) on keybase. | |
* I have a public key whose fingerprint is A323 88CD 3850 262E 1EA3 CC00 0A1A 7489 29EB 0696 | |
To claim this, I am signing this object: |
// Source: http://pastebin.com/aJna4paJ | |
javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement. |
<?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 |