Skip to content

Instantly share code, notes, and snippets.

View pantherale0's full-sized avatar
🏠
Working from home

Jordan Harvey pantherale0

🏠
Working from home
  • Norfolk, United Kingdom
  • 07:20 (UTC +01:00)
View GitHub Profile
import requests, browser_cookie3, re, json, datetime, os
from dotenv import load_dotenv
from urllib.request import urlopen
# Load environment variables from the .env file
load_dotenv()
''' Get cookie from Firefox '''
cj = browser_cookie3.firefox(domain_name='.google.com')
headers = {
"Host": "kidsmanagement-pa.clients6.google.com",
@pantherale0
pantherale0 / geoblocked.txt
Last active November 19, 2023 09:27
geoblock-opnsense-domain-list
cassie.channel5.com
userservice-api.channel5.com
feeds-api.channel5.com
corona.channel5.com
www.channel5.com
www.hollandandbarrett.com
ve-hls-push-uk-live.akamaized.net
vs-cmaf-push-uk-live.bbcfmt.s.llnwi.net
vs-cmaf-pushb-uk-live.bbcfmt.s.llnwi.net
vs-cmaf-push-uk-live.akamaized.net
@steveneaston
steveneaston / esphome.yaml
Last active February 4, 2024 10:57
Samsung ASHP Modbus
esphome:
name: "esp-ashp"
on_boot:
priority: -100
then:
- lambda: |-
esphome::modbus_controller::ModbusController *controller = id(ashp_modbus);
std::vector<uint16_t> outdoor_registers = {
0x8238, // Compressor frequency
0x8204, // Outdoor temperature