Skip to content

Instantly share code, notes, and snippets.

View Noxville's full-sized avatar
🎮
esports

Ben Steenhuisen Noxville

🎮
esports
View GitHub Profile
import cv2
import math
import streamlink
def get_stream(tw_acc='arteezy'):
session = streamlink.Streamlink()
session.set_option('twitch-disable-ads', True)
session.set_option('http-headers', {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) '
'AppleWebKit/537.36 (KHTML, like Gecko) '
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/01]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/02]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/03]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/04]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/05]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/06]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/07]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/08]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/09]
GET [https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2023/08/10]
Bash of the Deep
1 50.89820359281437
2 21.91616766467066
3 13.41317365269461
4 5.9880239520958085
5 3.712574850299401
6 1.7964071856287425
7 1.0778443113772456
8 0.718562874251497
9 0.3592814371257485
@Noxville
Noxville / review.md
Created January 3, 2023 19:11
EPOS H3PRO Hybrid Review

I'm not a big fan of headsets as a concept, but EPOS (formerly Sennheiser Gaming) are one brand I'm generally willing to give a bit of extra leeway to. I was also looking for a wireless headset, and I had a series of discounts which made this a bit more affordable. I've used it for over a month now, so review time.

Comfort: Pretty good. ~300g headset, good seal, and good clamping force. The volume control is on the right hand side and is a nice addition and easy to use. Feels fine after very extended gaming sessions. Not well suited for use when lying on a pillow - same issue as the Sony WH-1000XM_'s.

Sound Quality: Overall it's good (for a headset). Has built-in ANC which is unusual for a gaming headset, but nice to have. Extra points if you want to use this headset in an office! When on Bluetooth it's using SBC which is the most universal bluetooth codec - with quite low latency (it's a very simple codec) but also pretty low quality, but does sound noticeably better when on a wired USB connection (ap

@Noxville
Noxville / 7_32.sqlo
Created September 15, 2022 19:42
Low building damage winners
match_id | id | name | total_building_damage
------------+-------+---------------------+-----------------------
6723829573 | 16586 | Team Empire Hope | 1202
6723187757 | 206 | Alliance | 1495
6724688911 | 21748 | Entity | 2462
6747770586 | 21899 | 5RATFORCESTAFF | 2825
6723914826 | 21189 | One Move | 3359
6759441074 | 21211 | Into The Breach | 3439
6746220225 | 19996 | Hokori | 3958
6728136960 | 3804 | OG | 4028
@Noxville
Noxville / liquid_perms.txt
Created August 3, 2022 23:50
permutations for [7, 6, 5, 4, 3, 2 , 1] where liquid top 8 but don't qualify
This file has been truncated, but you can view the full file.
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'Aster', 'RNG')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'Aster', 'Outsiders')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'Aster', ' Sonics')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'RNG', 'Aster')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'RNG', 'Outsiders')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'RNG', ' Sonics')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'Outsiders', 'Aster')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'Outsiders', 'RNG')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', 'Outsiders', ' Sonics')
('Tundra', 'EG', 'BOOM', 'Fnatic', 'Spirit', ' Sonics', 'Aster')
@Noxville
Noxville / adjusted_gpms.txt
Created May 31, 2022 19:20
Adjusted GPM, desc.
match_id | nickname | hero | gpm | adjusted_gpm
------------+-----------------+------+------+----------------------
6594451936 | .Ark | 94 | 1255 | 508.0470392916436082
6078908851 | HuaLian | 113 | 1237 | 498.1229709788489916
5396065457 | HuaLian | 1 | 1157 | 485.2383354350567465
6561604033 | Parker | 94 | 1232 | 485.0470392916436082
6068104919 | InYourdreaM | 109 | 1187 | 448.1229709788489916
5926521903 | HuaLian | 113 | 1173 | 430.0537697253068381
5571496861 | Sammyboy | 113 | 1149 | 423.0230024213075061
4390980042 | Xcalibur | 109 | 1110 | 413.1870869344178953
@Noxville
Noxville / starting_1_2_3.txt
Created May 31, 2022 01:39
10 digit primes with a triple 7
This file has been truncated, but you can view the full file.
1000007773
1000017773
1000067771
1000067773
1000067779
1000077713
1000077733
1000077769
1000077791
1000117771
import requests
import time
def pad(v, n):
s = str(v)
return s + (' ' * (n-len(s)))
class Card:
def __init__(self, name):
self.name = name
@Noxville
Noxville / best_30.log
Created December 31, 2021 06:48
WORDLE Brute Force 1st guess sorted by heuristic
ROATE: 60.424 (min: 1, max: 195)
RAISE: 61.0 (min: 1, max: 168)
RAILE: 61.33 (min: 1, max: 173)
SOARE: 62.301 (min: 1, max: 183)
ARISE: 63.725 (min: 1, max: 168)
IRATE: 63.779 (min: 1, max: 194)
ORATE: 63.89 (min: 1, max: 195)
ARIEL: 65.287 (min: 1, max: 173)
AROSE: 66.021 (min: 1, max: 183)
RAINE: 67.056 (min: 1, max: 195)