Skip to content

Instantly share code, notes, and snippets.

View mediainfo.1.txt
MacBook-Air-M1-2020:Movies dave$ mediainfo IMG_150* 10092021_172626.mov # The first three are from the native iOS camera, and the last one is from Filmic Pro
General
Complete name : IMG_1505.MOV
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.00 (qt )
File size : 455 MiB
Duration : 5 s 232 ms
Overall bit rate mode : Variable
Overall bit rate : 730 Mb/s
@Manouchehri
Manouchehri / 8K HDR UTAH Dolby Vision-ELrXGw2jJek.337.webm.txt
Created Sep 25, 2021
Samples of HDR footage metadata from YouTube
View 8K HDR UTAH Dolby Vision-ELrXGw2jJek.337.webm.txt
MacBook-Air-M1-2020:Movies dave$ mediainfo 8K\ HDR\ UTAH\ Dolby\ Vision-ELrXGw2jJek.337.webm
General
Complete name : 8K HDR UTAH Dolby Vision-ELrXGw2jJek.337.webm
Format : WebM
Format version : Version 4
File size : 705 MiB
Duration : 4 min 15 s
Overall bit rate : 23.2 Mb/s
Writing application : google/video-file
Writing library : google/video-file
@Manouchehri
Manouchehri / dhcpcd-namespace@.service
Created Sep 19, 2021
/lib/systemd/system/dhcpcd-namespace@.service
View dhcpcd-namespace@.service
[Unit]
Description=DHCP Client Daemon with namespace
Wants=network.target
Documentation=man:dhcpcd(8)
[Service]
Type=forking
PrivateNetwork=yes
ExecStartPre=-/usr/sbin/ip netns delete %i-ns
ExecStartPre=/usr/sbin/ip netns add %i-ns
@Manouchehri
Manouchehri / isolate.sh
Created Sep 18, 2021 — forked from cynecx/isolate.sh
wireguard & netns (crappy)
View isolate.sh
#!/usr/bin/env bash
set -e -o pipefail
shopt -s extglob
export LC_ALL=C
CONTAINER=""
INTER_GATEWAY="192.168.30.0/24"
INTER_IP_HOST="192.168.30.1/32"
INTER_IP_CONT="192.168.30.2/32"
View gist:c80a8bbff2af8813987552dc394a1da4
Aug 18 08:05:12 raspberrypi upslog[868]: 20210818 080512 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:13 raspberrypi upslog[868]: 20210818 080513 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:14 raspberrypi upslog[868]: 20210818 080514 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:15 raspberrypi upslog[868]: 20210818 080515 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:16 raspberrypi upslog[868]: 20210818 080516 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:17 raspberrypi upslog[868]: 20210818 080517 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:18 raspberrypi upslog[868]: 20210818 080518 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:19 raspberrypi upslog[868]: 20210818 080519 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:20 raspberrypi upslog[868]: 20210818 080520 0 0.0 0 [FSD OB DISCHRG LB] NA NA
Aug 18 08:05:21 raspberrypi upslog[868]: 20210818 080521 0 0.0 0 [FSD OB DISCHRG LB] NA NA
View gist:26806e56c87b1e22055d391cfa6b306d
Aug 18 06:22:59 raspberrypi upslog[868]: 20210818 062259 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:00 raspberrypi upslog[868]: 20210818 062300 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:01 raspberrypi upslog[868]: 20210818 062301 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:02 raspberrypi upslog[868]: 20210818 062302 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:03 raspberrypi upslog[868]: 20210818 062303 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:04 raspberrypi upslog[868]: 20210818 062304 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:05 raspberrypi upslog[868]: 20210818 062305 1 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:06 raspberrypi upslog[868]: 20210818 062306 0 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:07 raspberrypi upslog[868]: 20210818 062307 0 0.0 4 [FSD OB DISCHRG LB] NA NA
Aug 18 06:23:08 raspberrypi upslog[868]: 20210818 062308 0 0.0 4 [FSD OB DISCHRG LB] NA NA
View gist:0714b29396d3d55c9b9421d1bd0ae731
pi@raspberrypi:~ $ upsc logic
Init SSL without certificate database
battery.charge: 0
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 0
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 11.6
View gist:5c532fbd8082f923c6bf116403d3cf76
pi@raspberrypi:~ $ upsc logic
Init SSL without certificate database
battery.charge: 0
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 0
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 11.9
View gist:318a0f72cf791450ef1f45b7cd89a06f
pi@raspberrypi:~ $ upsc logic
Init SSL without certificate database
battery.charge: 1
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 171
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 12.3
View gist:516fe3988254d4eaf8e04779ab59ef56
From a4a400549761cba03af4a6a14caeb3785255a1e3 Mon Sep 17 00:00:00 2001
From: Joey Jiao <joeyjiaojg@163.com>
Date: Sun, 27 Oct 2019 13:39:43 +0800
Subject: [PATCH] AFL: Enable AFL by global paths
Change-Id: Iede00c60802f7b4856cde6d3b3c27201a68f3e5f
---
android/config.go | 21 +++++++++++++++++++++
android/variable.go | 4 ++++
cc/builder.go | 11 +++++++++++