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
package main | |
import ( | |
"github.com/poolpOrg/OpenSMTPD-framework/table" | |
) | |
func main() { | |
table.Init() | |
table.OnUpdate(func() { |
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
$ plakar ls | |
$ plakar push 'imap://gilles:[email protected]' | |
$ plakar ls | |
2023-08-05T21:25:41Z 814d2460 764 MB 8m39s imap://gilles:[email protected] | |
$ plakar ls 814d | |
2023-08-05T21:25:41Z drwx------ root wheel 0 B Archive | |
2023-08-05T21:25:41Z drwx------ root wheel 0 B Drafts | |
2023-08-05T21:25:42Z drwx------ root wheel 0 B INBOX | |
2023-08-05T21:25:42Z drwx------ root wheel 0 B Junk | |
2023-08-05T21:25:41Z drwx------ root wheel 0 B Sent |
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
$ plakar create -no-encryption | |
$ plakar -no-cache push s3://minioadmin:[email protected]:9000/abcde | |
$ plakar ls | |
2023-08-05T11:44:49Z ad850d80 2.9 MB 0s s3://minioadmin:[email protected]:9000/abcde | |
$ plakar ls ad85 | |
2023-08-05T11:44:49Z drwx------ root wheel 0 B juju | |
$ plakar ls ad85:juju | |
2023-08-05T11:44:49Z drwx------ root wheel 0 B .git | |
2023-08-05T11:44:49Z drwx------ root wheel 0 B ast | |
2023-08-05T11:44:49Z drwx------ root wheel 0 B cmd |
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
project { | |
bpm 120; | |
time 4 4; | |
track { | |
bar { whole chord C on beat 1; } | |
bar { whole chord F on beat 1; } | |
bar { whole chord C on beat 1; } | |
bar { whole chord C on beat 1; } | |
bar { whole chord F on beat 1; } |
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
project { | |
bpm 120; | |
time 4 4; | |
track { | |
bar { whole chord C on beat 1; } | |
bar { whole chord F on beat 1; } | |
bar { whole chord C on beat 1; } | |
bar { whole chord C on beat 1; } | |
bar { whole chord F on beat 1; } |
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
$ plakar mount /tmp/plakarfs-1 & | |
$ cd /tmp/plakarfs-1/ | |
$ ls -la | |
total 488960 | |
drwxrwxrwx 1 root wheel 0 30 Aug 1754 . | |
drwxrwxrwt 7 root wheel 224 7 May 02:45 .. | |
drwx------ 1 gilles staff 38198936 2 May 20:58 178f91b4-f7be-4da4-8d01-9534db9a2cff | |
drwx------ 1 gilles staff 22902629 7 May 03:11 1f41b7d4-abb1-46ff-9ed5-3d19f18f8891 | |
drwx------ 1 gilles staff 3057091 7 May 00:42 3d99f3fa-604b-4b90-b20e-3997d9eb595a | |
drwx------ 1 gilles staff 22902629 7 May 03:10 512338cc-9b13-483d-935a-d9e0d224030d |
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
// create default repository, no encryption | |
$ plakar create -no-encryption | |
// create a clone | |
$ plakar clone to ssh://nas.poolp.org | |
// push backups locally | |
$ plakar push | |
$ plakar push | |
$ plakar push |
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
gilles@desktop plakar % plakar on plakar://debug.poolp.org create | |
passphrase: | |
created repository at plakar://debug.poolp.org:9876/992986b3-e5ba-46e0-a6c3-820e889494df | |
gilles@desktop plakar % export PLAKAR_REPOSITORY=plakar://debug.poolp.org:9876/992986b3-e5ba-46e0-a6c3-820e889494df | |
gilles@desktop plakar % plakar ls | |
keypair passphrase: | |
gilles@desktop plakar % plakar push /bin | |
keypair passphrase: | |
gilles@desktop plakar % plakar ls | |
keypair passphrase: |
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
package main | |
import ( | |
"log" | |
"time" | |
"github.com/poolpOrg/ipcmsg" | |
"github.com/poolpOrg/privsep" | |
) |
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
package main | |
import ( | |
"log" | |
"os" | |
"os/exec" | |
"syscall" | |
"time" | |
"github.com/poolpOrg/ipcmsg" |
NewerOlder