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
console.clear() | |
const PRIVATE_KEY_FORMAT = 'pkcs8' | |
const PUBLIC_KEY_FORMAT = 'spki' | |
const ENCRYPTION_ALGORITHM_NAME = 'RSA-OAEP' | |
const HASH_ALGORITHM_NAME = 'SHA-256' | |
const user = await generateKeyPair() | |
const leader = await generateKeyPair() |
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 styles = { | |
position: "fixed", | |
inset: 0, | |
zIndex: 99999, | |
overflowY: 'auto', | |
height: "100vh", | |
width: "100vw", | |
colorScheme: 'dark' | |
} |
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
<link | |
rel="icon" | |
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⏳</text></svg>" | |
/> |
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
html { | |
max-width: 70ch; | |
padding: 3em 1em; | |
margin: auto; | |
line-height: 1.75; | |
font-size: 1.25em; | |
} | |
/* Bonus */ | |
h1,h2,h3,h4,h5,h6 { |
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 http = require('http'); | |
const port = 5000; | |
const ip = '165.227.151.233'; | |
const server = http.createServer((req, res) => { | |
console.log('There was a request!'); | |
res.writeHead(200); | |
res.write('Hello from Simple NodeJS Server!'); |
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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = 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
{ | |
"Sent": [ | |
{ | |
"id": 33, | |
"from": "steve@example.com", | |
"to": "callum.wyeslyfa@fang ghost.xyz", | |
"date": "May 13, 2011", | |
"subject": "RE: Logo ideas", | |
"folder": "Sent" | |
}, |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder