I hereby claim:
- I am volyz on github.
- I am volyz (https://keybase.io/volyz) on keybase.
- I have a public key ASCjOAl42n9uUl2iuieRDOXdSEKaIj9HZqVfO17cvDwM6wo
To claim this, I am signing this object:
| # original: https://askubuntu.com/questions/25071/how-to-run-a-script-when-a-specific-flash-drive-is-mounted | |
| # you can find your device unit with: sudo systemctl list-units -t mount | |
| # put this into /etc/systemd/system/your.service | |
| [Unit] | |
| Description=SharedMountTrigger | |
| Requires=mnt-shared.mount | |
| After=mnt-shared.mount | |
| [Service] |
I hereby claim:
To claim this, I am signing this object:
| #include <time.h> // Robert Nystrom | |
| #include <stdio.h> // @munificentbob | |
| #include <stdlib.h> // for Ginny | |
| #define r return // 2008-2019 | |
| #define l(a, b, c, d) for (i y=a;y\ | |
| <b; y++) for (int x = c; x < d; x++) | |
| typedef int i;const i H=40;const i W | |
| =80;i m[40][80];i g(i x){r rand()%x; | |
| }void cave(i s){i w=g(10)+5;i h=g(6) | |
| +3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u |
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |