Skip to content

Instantly share code, notes, and snippets.

import React from 'react';
import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col';
import Button from 'react-bootstrap/Button';
class EntryControls extends React.Component {
constructor(props) {
super(props);
@adhawkins
adhawkins / gist:748080a9c5019398eef727e84326f41f
Created January 18, 2019 13:59
Example of using certbot manual auth with Bytemark's DNS
certbot -d example.domain.com \
--preferred-challenges dns \
--manual \
--manual-auth-hook /root/manual-dns.sh \
--manual-cleanup-hook /root/manual-cleanup.sh \
--manual-public-ip-logging-ok \
certonly
/root/manual-dns.sh
===================
Add type-id attribute to collection
Add work-list to collection
Add series-list to collection
Add release-group-list to collection
Add recording-list to collection
Add place-list to collection
Add label-list to collection
Add instrument-list to collection
Add artist-list to collection
Add area-list to collection
root@xcp-gateway:~# named-checkconf -px
options {
directory "/var/cache/bind";
listen-on-v6 {
"any";
};
version none;
allow-query-cache {
"internals";
};
root@xcp-gateway:~# cat /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
acl internals
root@nas:~# apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
libaio1 libasn1-8-heimdal libavahi-client3 libavahi-common-data
libavahi-common3 libcups2 libfile-copy-recursive-perl libhcrypto4-heimdal
libhdb9-heimdal libheimbase1-heimdal libhx509-5-heimdal libkrb5-26-heimdal
libldb1 libntdb1 libpython2.7 libroken18-heimdal libtalloc2 libtdb1
libtevent0 libwbclient0 libwind0-heimdal python-crypto python-dnspython
root@xcp-dev:~# apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
libnss-winbind libpam-winbind samba samba-common-bin winbind
The following packages have been kept back:
lxc-docker samba-dsdb-modules
The following packages will be upgraded:
root@xcp-dev:~# apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
libnss-winbind libpam-winbind samba samba-common-bin winbind
The following packages have been kept back:
lxc-docker samba-dsdb-modules
The following packages will be upgraded:
ffmpeg started on 2017-07-12 at 16:18:15
Report written to "ffmpeg-20170712-161815.log"
Command line:
converter.exe -y -threads 8 -i bbb_sunflower_2160p_30fps_normal.mp4 -crf 1 -maxrate 10000k -bufsize 20000k -vcodec libx264 -pix_fmt yuv420p -me_method hex -vf "fps=24" -fpre "presets\\\\cabletime.ffpreset" -acodec ac3 -ac 2 -ar 48000 -ab 160k -shortest -f mpegts bbb30-24.m2t -report
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --e
/*
* Copyright (C) 2011-2013 STMicroelectronics Limited.
* Sean McGoogan <Sean.McGoogan@st.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <stm/boot_method.h>
#include "armv7reg.h"