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
# list of lists, length is not capped | |
options = [ | |
["Italian", "9-Grain Wheat"], # Bread | |
["American", "Swiss", "Cheddar"], # Cheese | |
["Ranch", "Mayo", "BBQ", "Ketchup", "Thousand Island"], # Sauce | |
["Honey Mustard", "Plain"] # Ham | |
] | |
def multiply_list(options, results_input=[]): | |
# base case |
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
#NoEnv | |
F13::æ | |
+F13::Æ | |
F14::ø | |
+F14::Ø | |
F15::å | |
+F15::Å |
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> | |
<head> | |
<title>fjordvej30.cloud - Search</title> | |
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet"> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div class="wrapper"> |
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
def talkToClaymore(ip, port, password): | |
#Iniate socket and connect to Claymore | |
claymore_connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
claymore_connection.connect((ip, port)) | |
#Send request to Claymore | |
request_data = '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1","psw":"%s"}' % password | |
claymore_connection.send(request_data.encode('utf-8')) | |
#Receive Claymore data |