Skip to content

Instantly share code, notes, and snippets.

View dne's full-sized avatar

Daniel Néri dne

View GitHub Profile
@dne
dne / syslinux.cfg
Created October 29, 2020 16:00
Chain loading OpenBSD from Syslinux
serial 0
timeout 150
prompt 1
default openbsd
label openbsd
com32 /syslinux/chain.c32
append hd0 4
label miniroot
@dne
dne / keybase.md
Created September 20, 2019 23:01

Keybase proof

I hereby claim:

  • I am dne on github.
  • I am dne (https://keybase.io/dne) on keybase.
  • I have a public key ASDmjNMxJrG-Wmw2zKOAvpRgDUgwIxx54qNu_sAFsG40Qwo

To claim this, I am signing this object:

@dne
dne / smokeping
Created March 10, 2015 12:52
Nginx config for SmokePing (reverse proxy to Starman)
upstream smping_proxy {
server unix:/var/run/smokeping-psgi.sock;
}
server {
listen 80;
listen [::]:80;
server_name smokeping.example.net;
@dne
dne / smokeping.psgi
Created February 12, 2014 08:49
Smokeping PSGI app
#!/usr/bin/perl
use strict;
use warnings;
use CGI::Emulate::PSGI;
my $app = CGI::Emulate::PSGI->handler(sub {
use CGI;
use Smokeping;
CGI::initialize_globals();
@dne
dne / postfix-antispam
Last active January 8, 2016 07:58
Postfix antispam config
disable_vrfy_command = yes
smtpd_client_restrictions =
reject_rhsbl_reverse_client dbl.spamhaus.org
smtpd_helo_required = yes
smtpd_helo_restrictions =
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname,
reject_rhsbl_helo dbl.spamhaus.org
@dne
dne / syslinux.cfg
Created June 29, 2011 16:58
Multi-boot FreeBSD w/ ZFS root on a GPT partitioned disk using Syslinux
timeout 150
default freebsd
prompt 1
label freebsd
com32 /boot/addons/chain.c32
append file=/freebsd/gptzfsboot
label mfsbsd
kernel /boot/addons/memdisk