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
| // This package reads a file a writes it to disk from multiple independent goroutines with | |
| // different open file handles | |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "math/rand" | |
| "os" | |
| "time" |
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
| #!/usr/bin/perl -w | |
| # This script invokes pinetry-qt to ask for the encfs password | |
| # written by Dominik Schulz <[email protected]>; | |
| use IPC::Open2; | |
| local (*READER, *WRITER); | |
| my $pid = open2(\*READER, \*WRITER, "/usr/bin/pinentry-qt"); | |
| my $ret; | |
| print WRITER "SETDESC Enter decryption Passwort for encfs:\n"; | |
| chomp($ret = <READER>); | |
| print WRITER "SETPROMPT Password:\n"; |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am dominikschulz on github. | |
| * I am tex (https://keybase.io/tex) on keybase. | |
| * I have a public key whose fingerprint is 7BCE 61F4 00F3 CD91 1EF8 6EF1 D31F A054 C85A EFAC | |
| To claim this, I am signing this object: |