Skip to content

Instantly share code, notes, and snippets.

View ChaosSteffen's full-sized avatar

Steffen Schröder ChaosSteffen

View GitHub Profile
#!/usr/bin/bash
# Copyright (c) Joakim Reinert. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
API_URL='https://api.domrobot.com/xmlrpc/'
TMPDIR='/tmp/inwx-acme'
@reidransom
reidransom / gist:6033227
Last active May 13, 2024 13:13
Configure Zeroconf on FreeBSD

Configure Zeroconf on FreeBSD

Install avahi-app and nss_mdns. Note: avahi-app is chosen over avahi because avahi depends on X11.

$ cd /usr/ports/net/avahi-app
$ sudo make config-recursive
$ sudo make install clean
$ cd /usr/ports/dns/nss_mdns
$ sudo make config-recursive

$ sudo make install clean

@ChaosSteffen
ChaosSteffen / framework.js
Created October 12, 2012 09:43
Small home-brew test-framework for the UI Automation Instrument
var target = UIATarget.localTarget();
var assert;
function should(text, testCase) {
if (testCase) {
UIALogger.logStart("It should " + text);
} else {
UIALogger.logStart("Pending: It should " + text);
UIALogger.logIssue("Test is set to 'pending'");