This file contains 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 | |
DISK_GB_REQUIRED=30 | |
MAMBA_PACKAGES=( | |
#"package1" | |
#"package2=version" | |
) | |
PIP_PACKAGES=( |
This file contains 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 | |
DISK_GB_REQUIRED=30 | |
MAMBA_PACKAGES=( | |
#"package1" | |
#"package2=version" | |
) | |
PIP_PACKAGES=( |
This file contains 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
""" | |
BME280 & BMP280 I2C Micropython Library for ESP32 based development boards | |
Originally created by Foxdan | |
https://github.com/foxdan/ubme280 | |
Modified by Avaray, including tiny cosmetic changes: | |
- using 'uctypes' instead of 'ctypes' | |
- using 'SoftI2C' instead of 'I2C' in example code | |
- using Pins 22 and 21 in example code |
This file contains 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 | |
DISK_GB_REQUIRED=30 | |
MAMBA_PACKAGES=( | |
#"package1" | |
#"package2=version" | |
) | |
PIP_PACKAGES=( |
This file contains 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/false | |
DISK_GB_REQUIRED=30 | |
MAMBA_PACKAGES=( | |
#"package1" | |
#"package2=version" | |
) | |
PIP_PACKAGES=( |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<script type="module"> | |
// WICG Shape Detection API | |
// - https://wicg.github.io/shape-detection-api/ | |
try { | |
const start = document.getElementById("start"); | |
const video = document.getElementById("video"); | |
const result = document.getElementById("result"); |
This file contains 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
export const gamemodes: {[key: string]: string} = { | |
"AirSuperiority": "Air Superiority", | |
"CaptureTheFlag": "Capture The Flag", | |
"CarrierAssault": "Carrier Assault Small", | |
"CarrierAssaultLarge": "Carrier Assault Large", | |
"Chainlink": "Chainlink", | |
"ConquestLarge": "Conquest Large", | |
"ConquestSmall": "Conquest Small", | |
"Domination": "Domination", | |
"Elimination": "Defuse", |
This file contains 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
const { chromium } = require('playwright-core'); | |
// set browser to disable images loading | |
const browser = await chromium.launch({ | |
headless: true, | |
executablePath: CHROMIUM_PATH_HERE, | |
args: [ '--blink-settings=imagesEnabled=false', '--window-size=800,800' ] | |
}); | |
const page = await browser.newPage({ viewport: null }); |
This file contains 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
// days between | |
(b - a) / (1000 * 60 * 60 * 24) | |
// minutes between | |
(b - a) / 60000 | |
// seconds between | |
(b - a) / 1000 |
This file contains 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
{ | |
"MP_Abandoned": "Zavod 311", | |
"MP_Damage": "Lancang Dam", | |
"MP_Flooded": "Flood Zone", | |
"MP_Journey": "Golmud Railway", | |
"MP_Naval": "Paracel Storm", | |
"MP_Prison": "Operation Locker", | |
"MP_Resort": "Hainan Resort", | |
"MP_Siege": "Siege of Shanghai", | |
"MP_TheDish": "Rogue Transmission", |
NewerOlder