Skip to content

Instantly share code, notes, and snippets.

View cyberhuman's full-sized avatar
🐫
OCamling

Raman Varabets cyberhuman

🐫
OCamling
  • Ahrefs
  • Singapore
View GitHub Profile
@MickaelWalter
MickaelWalter / disassemble-luajit-v1.py
Created August 29, 2020 14:27
Quick&dirty verbose LuaJIT's bytecode version 1 disassembler
#!/usr/bin/env python3
import sys
import struct
import math
# Constants
# Internal (LEB128 buffer)
MAX_ULEB_SIZE = 256 # Maximum proto size here is 2^7^256
@cbeyls
cbeyls / ContentLoadingProgressBar.java
Last active December 20, 2021 22:16
ContentLoadingProgressBar implemented The Right Way™
package be.digitalia.common.widgets;
import android.content.Context;
import android.os.SystemClock;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ProgressBar;
/**
* ContentLoadingProgressBar implements a ProgressBar that waits a minimum time to be