Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧

Ioan Loosley ioangogo

🐧
  • Bristol, UK
View GitHub Profile
@ioangogo
ioangogo / IPv6_cloaking_rules.txt
Last active Jan 3, 2021
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
View IPv6_cloaking_rules.txt
## 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
@ioangogo
ioangogo / cast.log
Created Aug 10, 2020
chromecast logs
View cast.log
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
@ioangogo
ioangogo / cast.log
Created Aug 10, 2020
chromecast logs
View cast.log
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
View letter.md

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

View gist:159fea672764a1dd6ded56d2a36a35e6
light:
- platform: WS2813
variant: WS2813
pin: GPIO3
num_leds: 132
type: GRB
color_correct: [33%, 33%, 33%]
name: "Matrix Light"
View format-check.sh
#!/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" )
View 56-ttf-twemoji-color.conf
<?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
View Short lucid report.md

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
View git.md

How to Git

to help people who have not worked with git before, or struggle to use it in a multi person project here are some guidelines and commands to follow. Also here are some links:

Guidelines

@ioangogo
ioangogo / openpgp.txt
Created Feb 19, 2019
OpenKeychain Linked Identity
View openpgp.txt
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:0597c4e384d6d33f2459a85839c612df10d3e188]