Skip to content

Instantly share code, notes, and snippets.

View mercurytoxic's full-sized avatar

Luis Aranguren mercurytoxic

View GitHub Profile
@mercurytoxic
mercurytoxic / GraphOld.patch
Last active April 6, 2022 16:05
Band aid for munin for error when "RRD filename incorrect for nested multigraphs" taken from https://web.archive.org/web/20171006032217/http://munin-monitoring.org/ticket/1224
--- GraphOld.pm.orig 2012-03-06 14:42:14.000000000 +0100
+++ GraphOld.pm 2012-04-17 10:08:14.000000000 +0200
@@ -754,7 +754,6 @@
# Getting name of rrd file
$filename = munin_get_rrd_filename($field, $path);
+ $filename =~ s!(.+)/!$1-! unless (-e $filename);
my $update = RRDs::last($filename);
$update = 0 if !defined $update;
@mercurytoxic
mercurytoxic / gist:4caf936785c98135e8334cb83a80d3a0
Created September 10, 2020 05:20
How to pipe rtsp into /dev/video0
ffmpeg -i rtsp://<ip address>/<path> -f v4l2 -pix_fmt yuv420p /dev/video0
example: ffmpeg -i rtsp://10.10.10.193/live/ch00_0 -f v4l2 -pix_fmt yuv420p /dev/video0
@mercurytoxic
mercurytoxic / mirrorlist
Last active October 23, 2023 05:17
Australian mirrorlist for pacman
# Server list generated by rankmirrors on 2023-10-23
##
## Arch Linux repository mirrorlist
## Generated on 2023-10-23
##
## Australia
Server = https://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch
Server = https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
Server = http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch
Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch
Verifying my Blockstack ID is secured with the address 1AvbNrmiUoA24o5dKfwuufSGLFcU7da2e2 https://explorer.blockstack.org/address/1AvbNrmiUoA24o5dKfwuufSGLFcU7da2e2

Keybase proof

I hereby claim:

  • I am mercurytoxic on github.
  • I am luisaranguren (https://keybase.io/luisaranguren) on keybase.
  • I have a public key whose fingerprint is 9198 3EF8 A4D8 0380 4EEB F0BF BBB5 7013 B0BC 0EF3

To claim this, I am signing this object:

@mercurytoxic
mercurytoxic / openpgp.txt
Created June 8, 2016 15:16
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:91983ef8a4d803804eebf0bfbbb57013b0bc0ef3]