Skip to content

Instantly share code, notes, and snippets.

@wiedi
wiedi / timelapse.sh
Last active August 29, 2015 14:02
Timelapse
#!/bin/bash
set -x
if [ $# -ne 4 ]; then
echo "Usage:"
echo -e "\t${0} <startframe> <pics> <audio> <out>"
echo
echo "Example:"
echo -e "\t${0} 42 DSC_%d.jpg track.flac timelaps.mp4"
exit 0
fi

Keybase proof

I hereby claim:

  • I am wiedi on github.
  • I am wiedi (https://keybase.io/wiedi) on keybase.
  • I have a public key whose fingerprint is 5DB8 1190 6B8F 5E95 57DB FEDF 455C F4EC A996 776D

To claim this, I am signing this object:

Starting dhcpd with "dhcpd -6 -f" fails with a valid /etc/resolv.conf in irs_resconf_load with the error:
------
Internet Systems Consortium DHCP Server 4.3.0
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
irs_resconf_load failed: 59.
Unable to complete ddns initialization
on run {input}
set the_path to POSIX path of input
-- run vim command and exit Terminal.app after close
set cmd to "vim " & quoted form of the_path & "; exit"
tell application "System Events" to set terminalIsRunning to exists application process "Terminal"
tell application "Terminal"
-- Open new Tab if Terminal.app is already running
if terminalIsRunning is true then
activate
tell application "System Events" to tell process "Terminal" to keystroke "t" using command down
diff --git a/security/spiped/files/smf/manifest.xml b/security/spiped/files/smf/manifest.xml
index a1bbb54..4efeee9 100644
--- a/security/spiped/files/smf/manifest.xml
+++ b/security/spiped/files/smf/manifest.xml
@@ -17,6 +17,11 @@
<property_group name="application" type="application"></property_group>
+ <property_group name="startd" type="framework">
+ <propval name="duration" type="astring" value="child"/>
@wiedi
wiedi / isc-dhcp4-4.3.1b1.diff
Created July 11, 2014 20:48
pkgsrc update for isc-dhcpd 4.3.1b1 (beta)
diff --git a/net/isc-dhcp4/Makefile.common b/net/isc-dhcp4/Makefile.common
index 9aaaa96..6cd87b2 100644
--- a/net/isc-dhcp4/Makefile.common
+++ b/net/isc-dhcp4/Makefile.common
@@ -17,7 +17,7 @@ LICENSE= isc
CONFLICTS+= isc-dhcp-base-3.*{,nb*}
-VERSION= 4.3.0
+VERSION= 4.3.1b1
pkgin install isc-dhcpd
#####
cat > /opt/local/etc/dhcp/dhcpd.conf <
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet6 fdad:e34f:f1d0::/64 {
@wiedi
wiedi / seafile-server-and-deps.diff
Created August 11, 2014 16:15
seafile for pkgsrc first steps...
diff --git a/databases/libzdb/DESCR b/databases/libzdb/DESCR
new file mode 100644
index 0000000..0049f7a
--- /dev/null
+++ b/databases/libzdb/DESCR
@@ -0,0 +1,4 @@
+The Zild Database Library implements a small, fast, and easy to use database
+API with thread-safe connection pooling. The library can connect transparently
+to multiple database systems, has zero configuration and connections are
+specified via a standard URL scheme
.ifdef BSD_PKG_MK # begin pkgsrc settings
ABI= 64
PKGSRC_COMPILER= gcc
GCCBASE= /opt/local/gcc47
PKG_DBDIR= /opt/local/pkg
LOCALBASE= /opt/local
VARBASE= /var
PKG_TOOLS_BIN= /opt/local/sbin
#!/usr/bin/python
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#