Skip to content

Instantly share code, notes, and snippets.

View miawgogo's full-sized avatar
🐧
Processing Gender, Please Wait

nyangogo miawgogo

🐧
Processing Gender, Please Wait
View GitHub Profile
#! /bin/bash
filename="$1"
name=$(basename "$filename" .flac)
mp2br=( 80 128 160 192 )
aacbr=( 40 32 24 )
opus=("${mp2br[@]}" "${aacbr[@]}")
echo "Generating MP2 files:"
for br in "${mp2br[@]}"; do
echo "Converting to mp2 at $br k"
2001:1c00::/24 33915
2001:1d00::/24 33915
2001:4600::/24 2119
2001:b100::/24 3462
2403:9900::/24 17676
2408:2000::/24 4608
240b:c000::/24 138384
240e::/24 4134
240f::/24 2516
240f:100::/24 2516
@miawgogo
miawgogo / IPv6_cloaking_rules.txt
Last active January 3, 2021 16:41
Some rules i use to get some IPv4 only sites to use the IPv6 CDNs they have, primarily reddit, twitch and the BBC. I currently use this with dnscrypt-proxy
## Reddit IPv6 Force
*.reddit.com dualstack.reddit.map.fastly.net
redditmedia.com dualstack.reddit.map.fastly.net
*.redditmedia.com dualstack.reddit.map.fastly.net
redditstatic.com dualstack.reddit.map.fastly.net
*.redditstatic.com dualstack.reddit.map.fastly.net
@miawgogo
miawgogo / cast.log
Created August 10, 2020 09:35
chromecast logs
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] update_service _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] _add_update_service ignoring _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] update_service _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] _add_update_service ignoring _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:53 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] update_service _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04
@miawgogo
miawgogo / cast.log
Created August 10, 2020 09:35
chromecast logs
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] update_service _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] _add_update_service ignoring _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] update_service _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:47 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] _add_update_service ignoring _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04:53 DEBUG (zeroconf-ServiceBrowser__googlecast._tcp.local._139757121455872) [pychromecast.discovery] update_service _googlecast._tcp.local., _9031CF11._sub._googlecast._tcp.local.
2020-08-10 09:04

Dear Karin Smyth

I am writing to you today as an ally of the trans community regarding the issues with the planned changes to the Gender Recognition Act. My issues with this act comes in 2 parts, the risky aspect of preventing under-18's from accessing the care they need, and the unsubstantiated reasoning behind the female-only spaces safeguards within the act. Acts like the one planning to be introduced have been introduced in America and have mostly been removed by judges did more harm than good to both trans and cisgender individuals, and many laws in other European nations show that the fears of allow individuals to self-ID are unfounded.

The issue with preventing under-18 from accessing healthcare for their gender dysphoria is that research shows that preventing access to the care causes more harm to the individuals, with many taking to suicide the longer their gender dysphoria goes on when access to transitioning surgery is prevented. Also post transition regret is rare, this this [Mermaids press rel

light:
- platform: WS2813
variant: WS2813
pin: GPIO3
num_leds: 132
type: GRB
color_correct: [33%, 33%, 33%]
name: "Matrix Light"
#!/bin/bash
mapfile -t files < <(git diff --name-only | grep "^.*\.(c|h|cpp|hpp|m|mm)$" -E)
dirtyfiles=()
pathtop=$(git rev-parse --show-toplevel)
for i in "${files[@]}"
do
clang-format --dry-run -Werror $1 "$pathtop/$i" &>/dev/null
if [[ $? != 0 ]]; then
dirtyfiles+=( "$i" )
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Twitter Color Emoji SVGinOT Font
Fontconfig fonts.conf for a Bitstream Vera default
https://github.com/eosrei/twemoji-color-font
The DejaVu font family is based on the Bitstream Vera font family to provide
greater unicode coverage. The only way to override the emoji it includes is

Discription

Lucid chart is a web based diagramming tool. It is cheap with a cost of just under £10. covers all the types of UML diagrams

Strengths:

  • Full coverage of the UML diagram types
  • Collaborative features enabling groups to work together
  • viso import tools
  • sequence diagram markup language and diagram generator