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
adpa2403@cluster-a02d-m:~/.ssh/lab-2-convert-wordcount-to-urlcount-callingmedic911$ hdfs dfsadmin -report | |
Configured Capacity: 421706153984 (392.74 GB) | |
Present Capacity: 334180270039 (311.23 GB) | |
DFS Remaining: 334179106816 (311.23 GB) | |
DFS Used: 1163223 (1.11 MB) | |
DFS Used%: 0.00% | |
Replicated Blocks: | |
Under replicated blocks: 0 | |
Blocks with corrupt replicas: 0 | |
Missing blocks: 0 |
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
adpa2403@cluster-a3e1-m:~/lab-2-convert-wordcount-to-urlcount-callingmedic911$ hdfs dfsadmin -report | |
Configured Capacity: 210853076992 (196.37 GB) | |
Present Capacity: 172264705966 (160.43 GB) | |
DFS Remaining: 172263632896 (160.43 GB) | |
DFS Used: 1073070 (1.02 MB) | |
DFS Used%: 0.00% | |
Replicated Blocks: | |
Under replicated blocks: 0 | |
Blocks with corrupt replicas: 0 | |
Missing blocks: 0 |
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
from cryptography.hazmat.primitives.asymmetric import dh | |
from cryptography.hazmat.primitives import serialization, hashes | |
from cryptography.hazmat.primitives.kdf.hkdf import HKDF | |
# Generate our own private key and public key | |
parameters = dh.generate_parameters(generator=2, key_size=2048) | |
private_key = parameters.generate_private_key() | |
public_key = private_key.public_key() | |
# Serialize the public key and send it to the other party |
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
# Prime number and generator for Diffie-Hellman | |
p = 23 | |
g = 5 | |
# Alice and Bob generate their own secret keys | |
a = 6 | |
b = 15 | |
# Alice and Bob calculate their public keys | |
A = (g ** a) % p |
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
**/node_modules |
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
**/node_modules |
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
Show hidden characters
{ | |
"Add describe block": { | |
"scope": "javascript,javascriptreact,typescript,typescriptreact", | |
"prefix": "describe", | |
"body": [ | |
"describe('$1', () => {", | |
"\t$0", | |
"})" | |
], | |
"description": "Add describe block in test file" |
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 | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Docker | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon images/docker.png | |
# @raycast.argument1 { "type": "text", "placeholder": "cmd" } |
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 | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Postgres | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon images/postgres.png | |
# @raycast.argument1 { "type": "text", "placeholder": "cmd" } |
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 | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Supabase | |
# @raycast.mode fullOutput | |
# Optional parameters: | |
# @raycast.icon images/supabase.png | |
# @raycast.argument1 { "type": "text", "placeholder": "cmd" } |
NewerOlder