Skip to content

Instantly share code, notes, and snippets.

View bstar's full-sized avatar

Robert DiNicolas bstar

  • Gainesville, GA
View GitHub Profile
@bstar
bstar / compare_media.sh
Created October 26, 2024 13:48
Media File Compare
#!/bin/bash
# Check if correct number of arguments is passed
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <directory1> <directory2> <output_directory>"
exit 1
fi
# Get directories from arguments
DIR1="$1"
modmap:
- name: Default
remap: # Required
# Replace a key with another
KEY_CAPSLOCK: KEY_LEFTMETA # Required
// ==UserScript==
// @name NHL166 Fixer
// @namespace https://nhl66.ir
// @version 0.1
// @description Clean Hockey UI
// @author bstar
// @match https://nhl66.ir/simulator
// @icon https://www.google.com/s2/favicons?domain=tampermonkey.net
// @grant none
// ==/UserScript==
115 Calder Callaghan
162 Andy Berube
154 Cody McKeown
67 Gennali Murashov
81 Devon Hunt
89 Cole Becker
118 Dominic Cogliano
131 Evgney Agalarov
137 Adam Henderson
152 Steven Holland
Buy the Pie 4 here: (I'd go for the 4gb version for the headroom, but 2gb should work fine)
https://www.adafruit.com/product/4295?src=raspberrypi
You need the official power supply: (this one is guaranteed to work)
https://www.adafruit.com/product/4298
The device uses micro HDMI adapters. If you need one, I have extras.
I would get this card: (faster cards make loading much less painful)
https://www.amazon.com/Samsung-256GB-microSDXC-Adapter-MB-MC256GA/dp/B06XFS5657/ref=sr_1_7?crid=1HC5WB8YLN27Y&keywords=256gb+micro+sd&qid=1562863879&s=gateway&sprefix=256gb+microsd%2Caps%2C138&sr=8-7
{
"offence": {
"all_around": {
"primary": [
"positioning",
"work_rate"
],
"secondary": [
"passing",
"wristshot",
23. Brady Tkachuk - LW/C 296 1
32. Tam Wishart - RW/LW/C 308 1
11. Nils Lundkvist - RD 301 1
7. Isac Lundestrom - C/LW/RW 296 1
20. Rasmus Kupari - C 284 1
31. Filip Hallander - C/LW 279 1
92. Ricky McCauley - LW/C/RW 310 1
51. Milan Cada - C 279 1
9. Akil Thomas - C 268 1
41. Jonathan Tychinik 267 1
[
{
"id": "VHlsZXIgTWNMZW9kQ2FuYWRhMTAvMTgvMjAwOQ",
"ehm_id": 49578,
"technical_rating": 181,
"mental_rating": 138,
"physical_rating": 86,
"combined_rating": 405,
"mental_off_weighted": 82.4074074074074,
"mental_def_weighted": 93.7037037037037,
const profiles = {
mental: [
{ type: 'aggression', offWeight: 1, defWeight: 3, twoWeight: 2 },
{ type: 'anticipation', offWeight: 5, defWeight: 5, twoWeight: 5 },
{ type: 'bravery', offWeight: 2, defWeight: 3, twoWeight: 2 },
{ type: 'creativity', offWeight: 4, defWeight: 1, twoWeight: 2 },
{ type: 'determination', offWeight: 5, defWeight: 5, twoWeight: 5 },
{ type: 'flair', offWeight: 2, defWeight: 1, twoWeight: 1 },
{ type: 'influence', offWeight: 2, defWeight: 2, twoWeight: 2 },
{ type: 'teamwork', offWeight: 3, defWeight: 3, twoWeight: 3 },