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
let autoNext = () => { | |
Array.from(document.querySelectorAll('.player-modal.is-active button')) | |
.filter(b => b.textContent === 'Continue to next module') | |
.forEach(b => b.click()); | |
}; | |
setInterval(autoNext, 5000); |
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 Prompt | |
{ | |
Write-Host "[" -NoNewline | |
Write-Host (Get-Date -Format "HH:mm:ss") -ForegroundColor Gray -NoNewline | |
try | |
{ | |
$history = Get-History -ErrorAction Ignore | |
if ($history) | |
{ |
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
{ | |
"Condition statement": { | |
"prefix": "cond", | |
"body": [ | |
"$1 { $0; break }" | |
], | |
"description": "Switch condition statement" | |
}, | |
"Condition single quoted string statement": { | |
"prefix": "condsqstr", |