You calculate binary by reading right-to-left example below (so for example the word: Binary would be read as yraniB got it? Hope so. ←>→
remember that 0's means 🟩 and 1's are 🟥 (aka on or off)
package com.tb24.fn.network; | |
import com.google.gson.JsonObject; | |
import com.tb24.fn.model.account.*; | |
import retrofit2.Call; | |
import retrofit2.http.*; | |
import java.util.List; | |
import java.util.Map; |
{ | |
"distributions": [ | |
"https://cloudflare.epicgamescdn.com/", | |
"https://epicgames-download1.akamaized.net/", | |
"https://download.epicgames.com/", | |
"https://fastly-download.epicgames.com/", | |
"https://download2.epicgames.com/" | |
], | |
"extra": "https://epicgames-download1.akamaized.net" | |
} |
import datetime | |
def get_time_remaining_until_birthday(dob_m: int, dob_d: int, dob_y: int): | |
today = datetime.datetime.now() | |
birthday = datetime.datetime(today.year, dob_m, dob_d) | |
if birthday < today: | |
birthday = birthday.replace(year=today.year + 1) | |
delta = birthday - today | |
return (delta.days // 30, delta.days % 30, today.year - dob_y + 1) |
from replit import db as database | |
class DatabaseFunctions: | |
def __init__(self, key: str): | |
self.key_ = key | |
def write_data(self, **kwargs): | |
for key, value in kwargs.items(): | |
database[self.key_] = {key: value} |
def char_pos_parser(parse_string: str, pattern: str): | |
char_dict = {} | |
char_array = [] | |
found_pat_array = [] | |
pos_array = [] | |
for i in enumerate(parse_string): | |
char_array.append(i) | |
for chars in char_array: | |
char_dict[chars[0]] = chars[1] | |
for key, value in char_dict.items(): |
class TimestampConverter: | |
def __init__(self, time_): | |
self.time_ = time_ | |
self.len_dig = len(self.time_) | |
self.time_array = [] | |
if self.len_dig == 4: | |
self.time_array.append(self.time_[:2]) | |
self.time_array.append(self.time_[2:]) | |
first = int(self.time_array[0]) * 60 | |
second = int(self.time_array[1]) |
import wheel_filename | |
import requests | |
from requests_html import HTMLSession | |
import re | |
from typing import NoReturn | |
class ParsePythonWheelFiles: | |
def __init__(self, wheel_file_name, module_name) -> NoReturn: | |
self.wheel_file_name = wheel_file_name |
[40][55][63][17][22][68][89][97][89] | |
0 1 2 3 4 5 6 7 8 | |
repeater: | |
89 x2 pos 6, 8 | |
Array Length: | |
8 pos | |
first index: | |
0 | |
last index: | |
8 |
import requests | |
import json | |
from flask import Flask, send_file | |
from threading import Thread | |
import time | |
# Constants. These should not be tampered with. | |
app = Flask(__name__) | |
Thread(target=app.run, args=("0.0.0.0", 8080)).start() |