Skip to content

Instantly share code, notes, and snippets.

View poolpOrg's full-sized avatar

Gilles Chehade poolpOrg

View GitHub Profile
pki mx1.poolp.org certificate "/etc/ssl/poolp.org.fullchain.pem"
pki mx1.poolp.org key "/etc/ssl/private/poolp.org.key"
pki mail.poolp.org certificate "/etc/ssl/poolp.org.fullchain.pem"
pki mail.poolp.org key "/etc/ssl/private/poolp.org.key"
listen on lo0
listen on lo0 port 10028 tag DKIM
listen on egress tls pki mx1.poolp.org hostnames { 212.83.181.7 = mail.poolp.org, 212.83.181.8 = mx1.poolp.org }
listen on egress smtps pki mail.poolp.org auth hostname mail.poolp.org
@poolpOrg
poolpOrg / ASS.md
Created December 13, 2018 16:02 — forked from anonymous/ASS.md
Acronyms Seriously Suck - Elon Musk

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.

laptop$ plakar list
laptop$ du -sh ~/.plakar
24.0K /home/gilles/.plakar
laptop$ du -sh ~/OpenBSD
403M /home/gilles/OpenBSD
laptop$ plakar push ~/OpenBSD
laptop$ plakar push ~/OpenBSD
laptop$ plakar push ~/OpenBSD
laptop$ plakar push ~/OpenBSD
laptop$ plakar push ~/OpenBSD
laptop# plakar push /etc
laptop# useradd -m foobar
laptop# plakar push /etc
laptop# ls
laptop# plakar ls
e94edda5-458a-4638-8bb1-6828c4789182 2019-08-25 22:40:07.021736161 +0200 CEST
d9fd7f6f-a630-4f94-8a2f-49c59647176a 2019-08-25 22:40:29.922034844 +0200 CEST
laptop# plakar ls e9/etc/passwd
/etc/passwd
laptop# plakar cat e9/etc/passwd|grep foobar
<~
$a = 16;
$b = 0x10;
if ($a == $b)
{
echo "test\"test\"test";
$b += ($e||$d);
}
package main
import (
"github.com/poolpOrg/go-opensmtpd/table"
)
func check(token string, service table.LookupService, key string) {
//table.Boolean(token, true)
//table.Boolean(token, false)
table.Failure(token)
@poolpOrg
poolpOrg / test.go
Created April 9, 2021 17:13
ipcmsg example
package main
import (
"log"
"os"
"os/exec"
"syscall"
"time"
"github.com/poolpOrg/ipcmsg"
package main
import (
"log"
"time"
"github.com/poolpOrg/ipcmsg"
"github.com/poolpOrg/privsep"
)
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:
// 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