Skip to content

Instantly share code, notes, and snippets.

View dominikschulz's full-sized avatar

Dominik Schulz dominikschulz

View GitHub Profile
// 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"
#!/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";
### 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: