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 python | |
import requests | |
MORSE_MAP = { | |
'A': '.-', 'B': '-...', 'C': '-.-.', | |
'D': '-..', 'E': '.', 'F': '..-.', | |
'G': '--.', 'H': '....', 'I': '..', | |
'J': '.---', 'K': '-.-', 'L': '.-..', | |
'M': '--', 'N': '-.', 'O': '---', |
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
print('OoT Dampe Heart Piece Cumulative Probability\n') | |
print('\t'.join(['try', 'probability', 'equation'])) | |
for i in range(1, 99): | |
print('\t'.join([ | |
f'{i:<4}', | |
f'{str(round((1-(9/10)**i)*100, 3))+"%":<12}', | |
f'1 - (9/10)**{i}', | |
])) |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
#include <unistd.h> | |
#include <dirent.h> | |
#include <string.h> | |
#include <openssl/evp.h> | |
#include <curl/curl.h> | |
#define KEY_SERVER_IP "1.2.3.4" |
OlderNewer