Skip to content

Instantly share code, notes, and snippets.

View amaank404's full-sized avatar
💫
Learning React.js + Next.js

Amaan amaank404

💫
Learning React.js + Next.js
View GitHub Profile
from manim import *
import string
import random
random.seed(513)
def gen_text(text = string.ascii_uppercase):
b = VGroup()
lr = None
for x in text:
@amaank404
amaank404 / benchmark.py
Last active February 28, 2023 11:50
A Simple Benchmark program intended to run without any open programs. It works on any Python Implementation
import time
def r1(t: float):
x = 0
y = 0
timer = time.perf_counter()
while time.perf_counter() - timer < t:
x += 7
y += 1
@amaank404
amaank404 / ANSI.md
Created November 23, 2020 07:01 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27