openpgp4fpr:824F1189076E59EE525D10487BD5DEC4CD3AEC8A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| from sys import argv | |
| from pathlib import Path | |
| from urllib.request import urlopen, Request | |
| if len(argv) == 1: | |
| print('Requires an episode group ID. Try https://developer.themoviedb.org/reference/tv-series-episode-groups') | |
| exit() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/python3 | |
| from requests import get | |
| from pathlib import Path | |
| from shutil import copyfile | |
| from datetime import timedelta | |
| from datetime import datetime as dt | |
| from argparse import ArgumentParser | |
| from PIL import Image, UnidentifiedImageError |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import requests | |
| ip = '192.168.69.1' | |
| data = { | |
| 'blueVlans': '40_50_60', | |
| 'channel': 13, | |
| 'channelBandwidth': '40MHz', | |
| 'redVlans': '10_20_30', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.wildstang.sample.subsystems; | |
| import org.wildstang.framework.io.inputs.AnalogInput; | |
| import org.wildstang.framework.io.inputs.DigitalInput; | |
| import org.wildstang.framework.io.inputs.Input; | |
| import org.wildstang.framework.subsystems.Subsystem; | |
| import org.wildstang.hardware.roborio.outputs.WsSpark; | |
| import org.wildstang.sample.robot.WsInputs; | |
| import org.wildstang.sample.robot.WsOutputs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ('serviceWorker' in navigator) | |
| { | |
| navigator.serviceWorker.register('pwa.js') | |
| .then(reg => { | |
| // check to see if an update is already waiting | |
| if (reg.waiting) { | |
| // store registration | |
| let update = reg.waiting | |
| // ask the user if they want to switch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| NUM_MONITORS=3 | |
| PRIMARY=1 | |
| BASE_CMD="sudo ddcutil setvcp --display" | |
| SET_CMD="" | |
| PAUSE=0 | |
| BRIGHTNESS_CODE=0x10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use to remove the Twitch chat from The Blue Alliance GameDay page. | |
| // Liam Fruzyna 2022-03-05 | |
| // To use open the browser console (ctrl + shift + i) | |
| // Then page the below text into the bottom next to '>' | |
| let parent = document.getElementById('content').children[0] | |
| parent.removeChild(parent.children[2]) | |
| parent.children[2].style.marginRight = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* /opt/vivaldi/resources/vivaldi/style/common.css */ | |
| /* Remove header */ | |
| :-webkit-any(.native, .maximized)#browser #header { | |
| min-height: 0 !important; | |
| } | |
| /* Auto hide vertical tab bar */ | |
| div#browser:not(.fullscreen) > #main > .inner > div:not(#webview-container):not(#panels-container), #tabs-tabbar-container { | |
| width: 30px !important; | |
| transition: width 0.25s; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # configuration | |
| host=HOST_NAME | |
| hostif=HOST_INTERFACE | |
| ip=IP_RANGE # 192.168.0 | |
| addr=HOST_EXTERNAL_IP | |
| iaddr=HOST_INTERNAL_IP | |
| port=HOST_PORT | |
| dns=DNS_SERVER |
NewerOlder