This file contains 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
###################################################################### | |
# A simple Makefile to synchronize OpenBSD repository locally. Helpful | |
# for air-gapped computers. | |
# | |
# $ make help | |
# $ make all | |
# | |
# see: https://www.openbsd.org/ftp.html#rsync | |
###################################################################### | |
VERSION ?= 7.4 |
This file contains 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
###################################################################### | |
# BSD Meetup Rennes - FreeBSD Jails Workshop | |
# | |
# TEA-WARE LICENSE: | |
# Mathieu Kerjouan <contact@steepath.eu> wrote this file. As long as | |
# you retain this notice you can do whatever you want with this | |
# stuff. If we meet some day, and you think this stuff is worth it, | |
# you can buy me a tea in return. Mathieu Kerjouan | |
# | |
###################################################################### |
This file contains 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/env sh | |
###################################################################### | |
# socat daemon wrapper. This script use daemon(8) command and | |
# transform a standard socat process in daemon. This script stop | |
# the service by stopping daemon supervisor instead of socat process. | |
# | |
# PROVIDE: socatd | |
# REQUIRE: network | |
# KEYWORD: socat daemon | |
# |
This file contains 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
#!/bin/sh | |
###################################################################### | |
# simple cvs update wrapper for netbsd # | |
###################################################################### | |
ALERT_MAIL="yes" | |
ALERT_USER="root" | |
CVS_OPTS="-qz3" | |
CVS="cvs ${CVS_OPTS}" |
This file contains 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
Section "Device" | |
Identifier "Device0" | |
Driver "intel" | |
Option "DRI" "3" | |
EndSection |
This file contains 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
#!/bin/sh -e | |
# required packages | |
doas pkg_add ocaml opam | |
# setup opam and mirage | |
opam init | |
eval $(opam env) | |
# pins to fix for OpenBSD Current (mincore fixes and noretpoline) |
This file contains 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
%%%=================================================================== | |
%%% @doc Editor2 State Machine simulate a file with different action | |
%%% on it (append, delete, read). | |
%%% @end | |
%%% @todo add something to abstract state data-structure. | |
%%% @todo add dynamic callback functions (editor_test currently). | |
%%% @todo add replace function support. | |
%%% @todo add map function support. | |
%%%=================================================================== | |
-module(editor2). |
This file contains 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
-module(irc_connection). | |
-compile(export_all). | |
-behaviour(gen_statem). | |
%%==================================================================== | |
%% | |
%%==================================================================== | |
start() -> | |
start([]). | |
start(Args) -> | |
gen_statem:start(?MODULE, Args, []). |
This file contains 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
-module(request). | |
-behaviour(gen_server). | |
%% API exports | |
-export([]). | |
-compile(export_all). | |
-record(state, { type, struct, name, options }). | |
start() -> |
This file contains 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
%%%------------------------------------------------------------------- | |
%%% @author Mathieu Kerjouan | |
%%% @copyright (c) 2018, Mathieu Kerjouan | |
%%% @doc This is a quick and dirty zfs dmu replay record implementation | |
%%% in Erlang. This is only a PoC and should not be used in | |
%%% production. This code is an implementation of zstreamdump | |
%%% from OpenZFS. | |
%%% @end | |
%%%------------------------------------------------------------------- | |
-module(dmu_replay_record2). |
NewerOlder