Skip to content

Instantly share code, notes, and snippets.

View danimo's full-sized avatar

Daniel Molkentin danimo

View GitHub Profile
@danimo
danimo / dry-run
Created September 30, 2020 10:48
A start at implementing --dry-run
diff --git a/dehydrated b/dehydrated
index 6c59db5..e1d1775 100755
--- a/dehydrated
+++ b/dehydrated
@@ -506,6 +506,7 @@ load_config() {
[[ -n "${PARAM_KEY_ALGO:-}" ]] && KEY_ALGO="${PARAM_KEY_ALGO}"
[[ -n "${PARAM_OCSP_MUST_STAPLE:-}" ]] && OCSP_MUST_STAPLE="${PARAM_OCSP_MUST_STAPLE}"
[[ -n "${PARAM_IP_VERSION:-}" ]] && IP_VERSION="${PARAM_IP_VERSION}"
+ [[ -n "${PARAM_DRY_RUN:-}" ]] && DRY_RUN="${PARAM_DRY_RUN}"
DEBUG root: setting SIGINT handler
INFO root: Python Version: sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)
INFO root: GStreamer Version: (major=1, minor=14, micro=4, nano=0)
DEBUG root: loading Config
DEBUG ConfigParser: considered config-files:
/opt/voctomix/release/voctocore/default-config.ini
/opt/voctomix/release/voctocore/config.ini
/etc/voctomix/voctocore.ini
/etc/voctomix.ini
/etc/voctocore.ini
<schedule>
<version>1.0</version>
<conference>
<title>Forum Open:Education 2019</title>
<acronym>forumoe19</acronym>
<days>1</days>
<start>2019-06-26</start>
<end>2019-06-26</end>
<timeslot_duration>0:05</timeslot_duration>
</conference>
# sudo virt-install --virt-type kvm --name ci.dehydrated.io \
--os-type=linux --os-variant=debian8 --memory 2048 \
--location http://ftp.de.debian.org/debian/dists/buster/main/installer\-amd64 \
--disk size=12,path=/storage/chroots/ci_dehydrated_io.qcow2 \
--extra-args "console=ttyS0 auto=true preseed/file=/preseed.cfg preseed/file/checksum=$(md5sum ci-provision/preseed.cfg|cut -f1 -d " ")" \
--initrd-inject=ci-provision/inventory \
--initrd-inject=ci-provision/setupci.yaml \
--initrd-inject=ci-provision/preseed.cfg \
--graphics none
@danimo
danimo / schedule.xml
Last active June 20, 2019 19:33
JH MV Rostock
<schedule>
<version>1.0</version>
<conference>
<title>Jugend hackt Rostock 2019</title>
<acronym>jh19-rostock</acronym>
<days>2</days>
<start>2019-06-15</start>
<end>2019-06-16</end>
<timeslot_duration>00:15</timeslot_duration>
</conference>
<schedule>
<version>180</version>
<conference>
<acronym>oSC19</acronym>
<title>openSUSE Conference 2019</title>
<start>2019-05-24</start>
<end>2019-05-26</end>
<days>3</days>
<timeslot_duration>00:15</timeslot_duration>
</conference>
<schedule>
<version>180</version>
<conference>
<acronym>oSC19</acronym>
<title>openSUSE Conference 2019</title>
<start>2019-05-24</start>
<end>2019-05-26</end>
<days>3</days>
<timeslot_duration>00:15</timeslot_duration>
</conference>
test -d web || mkdir web
infile="00000.ts"
outfile="web/00000.ts"
#outfile="web/00000.mp4"
/usr/bin/ffmpeg -y \
-init_hw_device vaapi=hw1:/dev/dri/renderD129 -hwaccel vaapi -hwaccel_output_format vaapi \
-hwaccel_device hw1 -i $infile -filter_hw_device hw1 \
-vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=576:h=480:format=nv12' \
tracepath sendegate.de
1?: [LOCALHOST] pmtu 1500
1: fritz.box 3.466ms
1: fritz.box 3.896ms
2: no reply
3: ip5886e042.dynamic.kabel-deutschland.de 18.222ms
4: ip5886c22e.dynamic.kabel-deutschland.de 16.809ms asymm 5
5: ip5886c22c.dynamic.kabel-deutschland.de 18.601ms asymm 4
6: ip5886ca76.dynamic.kabel-deutschland.de 16.088ms
7: ip5886ca3c.dynamic.kabel-deutschland.de 25.339ms asymm 6
Incremental Sync
================
Incremental Sync is probably the feature that most people ask, or
even sometimes cry for.
It's a popular topic by so-called experts to dismiss ownCloud on
grounds of "bad" or "flawed" design. The top of the peak
recently was an entry in the comment section (Why do I read them
at all?) of a German IT web site, claiming that "the project" (that