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
try { | |
opera = Application("Opera") | |
privateWindow = opera.Window({ mode: "incognito" }) | |
opera.windows.push(privateWindow) | |
} catch { | |
console.log("Error") | |
} | |
/* |
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
require "rotp" | |
key = STDIN.tty? ? ARGV[0] : $stdin.read | |
if key.nil? | |
puts "Error: No key found in stdin or as flag" | |
exit | |
end | |
puts ROTP::TOTP.new(key.strip, issuer: "Unnamed Service").now |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<!-- | |
Steps to acheive perfect Lighthouse score | |
- [ ] Add service worker as separate file (sw.js) | |
- [ ] Uncomment registering of service worker (sw.js) | |
- [ ] Add `start_url` corresponding to where you host | |
- [ ] Add <link rel="canonical" href="link-to-show-up-in-search"/> | |
--> |
OlderNewer