Skip to content

Instantly share code, notes, and snippets.

View TheWeirdDev's full-sized avatar
Need more coffee

Alireza |S.N| TheWeirdDev

Need more coffee
  • USA
View GitHub Profile
import cv2
import socket
import struct
import subprocess
import time
import sys
import matplotlib.pyplot as plt
import numpy as np
import usb.core
@TheWeirdDev
TheWeirdDev / mybase64.d
Last active July 6, 2020 14:33
Base64 Encode Implementation in D
module mybase64;
import std.stdio;
import std.conv;
import std.array;
immutable mapping = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
int main() {
auto input = stdin.readln();