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
// press F12 and paste this in console | |
// https://www.ov-chipkaart.nl/nl/mijn-ov-chip/mijn-ov-reishistorie | |
// | |
// Blaak,Utrecht,Amsterdam | |
const stationsRAW = prompt("Stationsnamen"); | |
const stations = stationsRAW.split(",") | |
const werkdagen = ['maandag', 'dinsdag', 'woensdag', 'donderdag','vrijdag']; | |
var uncheckall = document.getElementById("ag-5-input"); uncheckall.click(); |
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
#cloud-config | |
autoinstall: | |
version: 1 | |
refresh-installer: | |
update: no | |
channel: edge | |
early-commands: | |
- /cdrom/_SOFTWARE/early.sh | |
apt: | |
geoip: true |
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
// go to 'chrome://inspect/#devices' | |
// press F12 and paste this in console | |
var tabs = confirm("Open all in tabs?") | |
var urlonly = confirm("URLS only?") | |
var serials = [...document.getElementsByClassName("device-serial")]; | |
var mapping = [];serials.forEach((e,i) => { | |
mapping[i]=confirm(e.textContent) | |
}) | |
var ser = serials.filter((e,i)=> { |
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
#Function GetKeyPress([string]$regexPattern='[0-9]', [string]$message=$null, [int]$timeOutSeconds=0){ | |
Function GetKeyPress( [string]$message=$null, [int]$timeOutSeconds=0){ | |
$key = $null | |
$Host.UI.RawUI.FlushInputBuffer() | |
if (![string]::IsNullOrEmpty($message)){ | |
Write-Host -NoNewLine $message | |
} | |
$counter = $timeOutSeconds * 1000 / 250 | |
while($key -eq $null -and ($timeOutSeconds -eq 0 -or $counter-- -gt 0)){ | |
if (($timeOutSeconds -eq 0) -or $Host.UI.RawUI.KeyAvailable){ |
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
--[[ | |
Changelog | |
0.01 - Torch extract from mine.lua | |
--]] | |
--[[ |
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
--[[ | |
John Excavation Turtle Program(New) | |
Changelog | |
0.01 - Starting Of Rewriting | |
0.02 - More Writing | |
0.03 - Adding Fuel Code | |
0.04 - Small but many program error fixed | |
0.05 - Fully Test | |
0.06 - Fixing Minor Bug when add 3 to deep because firstdig had no 3 add to deepcount |