Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Lamb lamby

View GitHub Profile
View gist:be24c5920260497f623686a8bbdff66f
#### Contents of the preconfiguration file (for stretch)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
#d-i debian-installer/locale string en_GB.UTF-8
# Optionally specify additional locales to be generated.
View eatmyservice.sh
[Service]
SystemCallFilter=~fsync sync syncfs fdatasync msync sync_file_range
SystemCallErrorNumber=0
View gist:a6903d2c1ca171f4dac63da61b9fc259
$ sudo dpkg-reconfigure tzdata
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are
located.
View gist:4aad822bfaf4e43979e8d5417e41f27a
$ sudo dpkg-reconfigure tzdata
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are
located.
View gist:3836ef94cdb5256ccf84
lamby@moszumanska:~% /home/groups/reproducible/reschedule.sh -s unstable -m "ftbfs fixed in -2 I think" python-django 0 [ 18:10 ]
INFO: Starting at 2016-01-01 18:11:00.494823
INFO: finding out which usertagged bugs have been closed or at least have patches
INFO: lamby scheduled in unstable/amd64, reason: 'ftbfs fixed in -2 I think': python-django
Unknown option: 2
Usage:
kgb-client --conf */path/to/config* [*other-option* ...]
kgb-client --uri *http://some.server:port/service* --password *password*
--repo-id *repository* --repository *svn|git|cvs* --timeout
*timeout-in-seconds* --single-line-commits *off|forced|auto*
View gist:9197784b18634e90761b
% dpkg --get-selections | awk '{print $1}' | xargs ./apt-challenge
W: ack-grep_2.14-4_all.deb: expected sha1 checksum 1f8400af5aced8ffe54ab2861dae385ba5a30165 but 587edb52b21e7a22a56bc6cbcad7b79122afa5fb is installed
W: acl_2.2.52-2_amd64.deb: expected sha1 checksum 06c037b87620e2cdceb6b2ff8102ba00196c1223 but 6626ca68ed64cc56aa5bd7f8b1911f9d9a1df026 is installed
W: acpi_1.7-1_amd64.deb: expected sha1 checksum ca035213cfcf675e51779ad1114064a6e32dae94 but d6bf22e165f9ab1655dc835e7ae22e3007ee5dd2 is installed
W: acpi-support-base_0.142-8_all.deb: expected sha1 checksum 99db6c59d98967dab08bbeb1eaf334e6f8c57bf8 but 3731cb6659b55d2ce0c77ff88d4eec22b75a8ac9 is installed
W: acpid_2.0.25-1_amd64.deb: expected sha1 checksum b406c90a5786504cbef25cc096a01ad588866220 but d91bc831756a8db180cc3ecdba37c28bdb7dd6fe is installed
W: adduser_3.113+nmu3_all.deb: expected sha1 checksum 59230e8345288effdd821729341a2bba6fe44bcc but 40d47adb274cc8e5e5fd19d7e26f17171e2db40f is installed
W: adwaita-icon-theme_3.18.0-1_all.deb: expecte
View <stdin>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
hi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJV7clQAAoJEB6VPifUMR5YJ3wP/3iGLZxz/oK2d3RpgGzymv2y
Za2Ahox+6b0Bx9PBq7+WnEJM0ibmqZBv2oNgmaTjhT5xCjhogupwTZuFEA78YS3n
M8/uZWYWNE/IcE8NC9j57Wd2DE4yosu0zvwfwHD8VIoScKw7kTkCQhmCzOrkdUh7
View <stdin>
golang-check.v1 (AUTOREMOVAL)
flagged for removal in 32.2 days
bugs:
- '796806'
dependencies_only: false
last_checked: 2015-09-05 04:00:37
rdeps:
- golang-gopkg-vmihailenco-msgpack.v2
- golang-yaml.v2
- prometheus
View 02lamby-ifupdown
#!/bin/sh
exec /home/lamby/git/projects/dotfiles/bin/ifupdown "${@}"
View with-subs.sh
#!/bin/sh
NAME="Stretching_out_for_trustworthy_reproducible_builds_creating_bit_by_bit_identical_binaries"
wget --no-clobber --continue -O${NAME}.webm http://meetings-archive.debian.net/pub/debian-meetings/2015/debconf15/${NAME}.webm
wget --no-clobber --continue -O${NAME}.srt "https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=debconfsubs/debconfsubs.git;a=blob_plain;f=2015/debconf15/english/${NAME}.en.srt;hb=HEAD"
mplayer -sub ${NAME}.srt ${NAME}.webm