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
| #!/usr/bin/env bash | |
| # | |
| # check-oft-dvn-config.sh | |
| # ------------------------ | |
| # Audit a LayerZero OFT / OApp's DVN configuration on Ethereum mainnet. | |
| # For each source EID, prints the required DVN count, optional threshold, and a | |
| # PASS / FAIL verdict. A verdict of EXPOSED means the pathway would accept a | |
| # packet if a single DVN is compromised. | |
| # | |
| # Usage: |
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 'json' | |
| require 'rest-client' | |
| URL = "http://music-hasalon-api.herokuapp.com" | |
| AWS_URL = 'http://ec2-54-85-146-44.compute-1.amazonaws.com:8989/api/info?url=' | |
| $current_song = nil | |
| def direct_url(yt_link) | |
| JSON.parse(RestClient.get("#{AWS_URL}#{yt_link.split('&feature=')[0]}"))["direct_url"] |
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"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <script src="http://code.jquery.com/jquery-latest.min.js"></script> | |
| <title>class</title> | |
| </head> | |
| <body> | |
| <h1>Hi Guys!</h1> | |
| <form> |