Skip to content

Instantly share code, notes, and snippets.

View 0xmycf's full-sized avatar
📚

mycf 0xmycf

📚
  • Uni in germany
  • Germany
  • 00:19 (UTC +02:00)
View GitHub Profile
@0xmycf
0xmycf / ANSI.md
Created August 23, 2024 23:35 — 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
@0xmycf
0xmycf / t.go
Created February 16, 2024 14:56
package main
type strc struct {
f1 int
}
type newtype strc
type inter interface {
@0xmycf
0xmycf / main.py
Last active February 9, 2023 13:29
#! /usr/bin/env python3
import pikepdf as ppdf
import os
import os.path as op
import sys
def main(dir: str, is_verbose: bool) -> int:
if not dir.endswith("/"):
package cheatsheet.java;
// Imports
import java.util.function.Supplier;
import java.util.stream.Stream;
// This is the basic class of a Java program.
public class Main {
// Classes can hold values, these values are called fields.