This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fsck --unreachable | grep commit | cut -d ' ' -f3 | xargs git log --merges --no-walk | |
git update-ref refs/stash 4b3fc45c94caadcc87d783064624585c194f4be8 -m "My recovered stash" | |
(https://dev.to/meduzen/recover-a-lost-git-stash-in-two-steps-569) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To run this daemon: | |
setsid /path/to/simple-daemon.sh >>/dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Trait UopzTrait | |
* | |
* Useful wrapper for uopz library's functions | |
*/ | |
trait UopzTrait | |
{ | |
/** |