This file contains hidden or 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
| # Reliable persistent SSH-Tunnel via systemd (not autossh) | |
| # https://gist.github.com/guettli/31242c61f00e365bbf5ed08d09cdc006#file-ssh-tunnel-service | |
| [Unit] | |
| Description=Tunnel for %i | |
| After=network.target | |
| [Service] | |
| User=tunnel | |
| ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N tunnel@%i |
This file contains hidden or 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
| export { EMoonPhase, EMoonPhaseName, MOON_PHASE_NAMES, moonPhase } | |
| const { round, trunc: truncate } = Math | |
| enum EMoonPhase { | |
| New = 0, | |
| WaxingCrescent, |
This file contains hidden or 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
| secmalloc.o: secmalloc.c | |
| gcc -c -fPIC secmalloc.c -o secmalloc.o | |
| secmalloc.so: secmalloc.o | |
| gcc -shared -Wl,-soname,secmalloc.so -o secmalloc.so secmalloc.o |
OlderNewer