security find-generic-password -ga wifi-ssid-here | grep “password:”
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
import requests | |
import re | |
def get_transaction_details(tx_id): | |
""" | |
Fetches transaction details from Etherscan and extracts status, from, and to fields. | |
Args: | |
tx_id: The transaction ID (hash) to fetch details for. |
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
# pip install lds_merkle_proof_2019 | |
from lds_merkle_proof_2019.merkle_proof_2019 import MerkleProof2019 | |
example_proof_value = "znKD4YGVqA8texv1PrVrhripRpmtid9LqxNj8TRUKHD5dXobGcBnZcHJMY3oguH9T8YcT9MuqnzQxYYRcReoxc9vm5PhucNBqdFYwZuwNEeFTn9GoJLPqAwQSw2J2atnCuEFAqwMXstnLkSNQrEwpBAGshkH1eMhqSYh4Ut3gVHq85eSKuu2YFHeCHAXN6QW7qfAiiiS4VLSE9E9PPUDdbp3MrDSb52gentZHJiHJHpKggxKs8GYYkqFQmr7rJ8HqVzLmwRRMAYA7TsVopawvFGtXTsbWXg6BK9jCFEPYvD3vNBvW5bVpEGvJgH" | |
mp2019 = MerkleProof2019() | |
decoded_proof = mp2019.decode(example_proof_value) | |
print(decoded_proof) |
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
require "redis" | |
require "benchmark" | |
def setup | |
@redis = Redis.new | |
@redis.flushdb | |
end | |
def teardown | |
@redis.flushdb |
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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"); | |
*, | |
body { | |
font-family: "Poppins", sans-serif; | |
margin: 0; | |
width: auto; | |
overflow-y: scroll; | |
overflow: auto; | |
-webkit-overflow-scrolling: touch; | |
} |
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
import requests | |
from decouple import ( | |
config, | |
) # decouple is a library that allows you to store your secrets in a .env file | |
SLACK_FILE_UPLOAD_URL = "https://slack.com/api/files.upload" | |
def upload_file_to_slack(file_path) -> dict: | |
"""Uploads a file to slack using the slack api |
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
{"lastUpload":"2020-02-17T08:56:20.397Z","extensionVersion":"v3.4.3"} |
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
#!/usr/bin/env bash | |
sudo apt-get update | |
clear | |
echo "--------------UPDATED--------" | |
sudo apt-get install default-jdk | |
clear | |
java -version | |
echo "-------------JAVA INSTALLED----" |
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
0x14e5b6c2F7e1C8258100AC83DFB1950533E4AE48 |
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
0x68975de33e67e18e509b553F321d9F69161dfbAb |