Skip to content

Instantly share code, notes, and snippets.

View donbowman's full-sized avatar

Don Bowman donbowman

View GitHub Profile
@donbowman
donbowman / PUT
Last active September 30, 2022 19:44
https://pubsub.googleapis.com/v1/projects/MYDOMAIN/subscriptions/check-me.httpobs?alt=json
{
"bigqueryConfig": {
"dropUnknownFields": true,
"table": "MYDOMAIN:checkme.httpobs",
"useTopicSchema": true,
"writeMetadata": true
},
"name": "projects/MYDOMAIN/subscriptions/check-me.httpobs",
"topic": "projects/MYDOMAIN/topics/check-me.httpobs"
@donbowman
donbowman / bq-schema.json
Last active October 5, 2022 13:56
stackoverflow gcp pubsub bigquery
[
{
"name": "subscription_name",
"type": "STRING"
},
{
"name": "messageid",
"type": "STRING"
},
{
@donbowman
donbowman / extracted dts
Last active February 20, 2018 18:20
Diff of Netgear RN214 Linux 4.4.111-alpine tree against Linux 4.4.111 upstream
/dts-v1/;
/ {
compatible = "annapurna-labs,alpine", "al,alpine", "netgear,readynas-20x", "netgear,readynas-204";
clock-ranges;
version = "2.5";
#address-cells = <0x2>;
#size-cells = <0x2>;
soc {
@donbowman
donbowman / gist:746d7a2f3bd8d4f07523830e04c4c9f9
Created February 8, 2018 16:37
TerraMaster F2-NAS2 boot from factory reimage
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: DB-88F6282A-BP LE
@donbowman
donbowman / gist:27a684914310e438a3b7accb9554a918
Created February 8, 2018 16:26
TerraMaster F2-NAS2 kwboot from blank
don@office:~/src/lede-f2nas2$ /home/don/src/u-boot-kirkwood/tools/kwboot -p -t -B 115200 /dev/ttyUSB0 -b bin/targets/kirkwood/generic/uboot-nand-patched.bin
Sending boot message. Please reboot the target...-
Sending boot image...
0 % [......................................................................]
1 % [......................................................................]
3 % [......................................................................]
5 % [......................................................................]
6 % [......................................................................]
8 % [......................................................................]
10 % [......................................................................]
import sys
from neutronclient.v2_0 import client
neutron = client.Client(username='don',
password='XXX',
tenant_name='don',auth_url='https://keystone.sandvine.rocks/v2.0')
ids = []
sids = []
for i in range(1,254):
network = {'name': 'pnet-%s' % i, 'admin_state_up': True}
172.17.0.8 - - [29/Jun/2016:00:09:45 +0000] "POST //v2.0/networks.json HTTP/1.1" 201 583 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:45 +0000] "POST //v2.0/networks.json HTTP/1.1" 201 585 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:45 +0000] "GET //v2.0/networks/ab6285fc-9c3e-40c7-a6c3-601630a62896.json HTTP/1.1" 200 583 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:45 +0000] "GET //v2.0/networks/4e6cc20c-def6-4809-b65c-27bcd6a0f6be.json HTTP/1.1" 200 585 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:46 +0000] "POST //v2.0/networks.json HTTP/1.1" 201 584 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:46 +0000] "GET //v2.0/networks.json?fields=id&id=76cf5e88-324a-4445-9d9a-ea95c19d8533 HTTP/1.1" 200 62 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:46 +0000] "POST //v2.0/networks.json HTTP/1.1" 201 586 "-" "python-neutronclient"
172.17.0.8 - - [29/Jun/2016:00:09:47 +0000] "GET //v2.0/networks/857f4526-9d95-425b-b11b-aa7
Booting runit daemon...
Process runsvdir running with PID 204
start neutron-server
Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
2016-06-29 00:09:02.179 222 INFO neutron.common.config [-] Logging enabled!
2016-06-29 00:09:02.180 222 INFO neutron.common.config [-] /usr/local/bin/neutron-server version 9.0.0.0b2.dev306
2016-06-29 00:09:02.180 222 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-server --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini --config-file=/etc/neutron/plugins/ml2/openvswitch_agent.ini setup_logging /usr/local/lib/python2.7/dist-packages/neutron/common/config.py:266
2016-06-29 00:09:02.181 222 INFO neutron.common.config [-] Logging enabled!
2016-06-29 00:09:02.181 222 INF
Jan 31 16:50:50 nubo-1 docker[10509]: 172.17.0.1 - - [31/Jan/2016:16:50:50 +0000] "HEAD /v2/squid/blobs/sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4 HTTP/1.1" 503 125 "" "docker/1.9.1 go/go1.4.2 git-commit/a34a1d5 kernel/4.3.3-040303-generic os/linux arch/amd64"
Jan 31 16:50:59 nubo-1 docker[10509]: time="2016-01-31T16:50:59.6801747Z" level=debug msg="rados.List(\"/\")" environment=production go.version=go1.5.2 instance.id=5b81a67d-30ea-4299-a7b7-147bcec0d338 service=registry trace.duration=1.230909ms trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).List" trace.id=1132e43b-ca6f-4a19-bc97-82292bb20f6c trace.line=154 version=v2.2.1
Jan 31 16:51:06 nubo-1 docker[10509]: 172.17.0.1 - - [31/Jan/2016:16:51:06 +0000] "GET /v2/ HTTP/1.1" 503 125 "" "docker/1.9.1 go/go1.4.2 git-commit/a34a1d5 kernel/4.3.3-040303-generic os/linux arch/amd64"
Jan 31 16:51:06 nubo-1 docker[10
@donbowman
donbowman / Xorg.0.log
Created August 6, 2015 02:30
Xorg.0.log
[ 11.197]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 11.198] X Protocol Version 11, Revision 0
[ 11.198] Build Operating System: Linux 3.19.0-25-generic x86_64 Ubuntu
[ 11.198] Current Operating System: Linux don-s9 4.1.0-3-generic #3-Ubuntu SMP Tue Jul 28 12:25:10 UTC 2015 x86_64
[ 11.198] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.0-3-generic root=UUID=b646a929-93df-4c72-af66-14bdb33b74cd ro quiet splash crashkernel=384M-:128M vt.handoff=7
[ 11.198] Build Date: 30 July 2015 03:55:10AM
[ 11.198] xorg-server 2:1.17.2-1ubuntu3 (For technical support please see http://www.ubuntu.com/support)
[ 11.198] Current version of pixman: 0.32.6