Skip to content

Instantly share code, notes, and snippets.

View Heliodex's full-sized avatar
📉
Programstinating

Lewin Kelly Heliodex

📉
Programstinating
View GitHub Profile
@nonzzz
nonzzz / func.js
Last active June 18, 2025 00:29
func
const func = (...args) => args
@AadilGillani
AadilGillani / smali-cheatsheet.txt
Created October 1, 2021 06:49
Smalli Cheat-Sheet
A little help in Smali
(To be supplemented)
#
general information
#
Smali
Types
Dalvik bytecode has two main type classes, primitive types and reference types. Reference types are objects and arrays, everything else is primitive.
@Wingysam
Wingysam / git-archive.user.js
Last active August 12, 2025 22:28
Git Archive
// ==UserScript==
// @name Git Archive
// @namespace http://wingysam.xyz/
// @version 2.4
// @description Mirror every git repo you look at to gitea
// @author Wingy <[email protected]>
// @include *
// @grant GM_xmlhttpRequest
// @grant GM_notification
// @grant GM_openInTab
@eusonlito
eusonlito / oppo-coloros-bloatware-disable
Last active January 28, 2026 09:02
Disable and Enable Oppo ColorOS bloatware. AVOID TO UNINSTALL PACKAGES OR YOUR PHONE CAN BE BRICKED ON FUTURE UPDATES.
pm disable-user --user 0 com.caf.fmradio
pm disable-user --user 0 com.coloros.activation
pm disable-user --user 0 com.coloros.activation.overlay.common
pm disable-user --user 0 com.coloros.alarmclock
pm disable-user --user 0 com.coloros.appmanager
pm disable-user --user 0 com.coloros.assistantscreen
pm disable-user --user 0 com.coloros.athena
pm disable-user --user 0 com.coloros.avastofferwall
pm disable-user --user 0 com.coloros.backuprestore
pm disable-user --user 0 com.coloros.backuprestore.remoteservice
/*
* Stripe WebGl Gradient Animation
* All Credits to Stripe.com
* ScrollObserver functionality to disable animation when not scrolled into view has been disabled and
* commented out for now.
* https://kevinhufnagl.com
*/
//Converting colors to proper format
function normalizeColor(hexCode) {

A metatable in Lua defines various extraneous behaviors for a table when indexed, modified, interacted with, etc. They are Lua's core metaprogramming feature; most well known for being useful to emulate classes much like an OOP language.

Any table (and userdata) may be assigned a metatable. You can define a metatable for a table as such:

-- Our sample table
local tab = {}
-- Our metatable
local metatable = {
 -- This table is then what holds the metamethods or metafields

Blind Diffie-Hellman Key Exchange (blind ecash)

The goal of this protocol is for Bob to get Alice to perform a Diffie-Hellman key exchange blindly, such that when the unblinded value is returned, Alice recognizes it as her own, but can’t distinguish it from others (i.e. similar to a blind signature).

Alice:
A = a*G
return A

Bob:
Y = hash_to_curve(secret_message)
r = random blinding factor
@yabujin
yabujin / main.md
Last active November 10, 2025 00:13
put me in a movie

reading arbitrary memory using a vulnerable debug.setconstant function

author: cook (aka Lana Del RCE)

note to readers: ♡pass that cup to me, you know it's my turn♡


lua fundamentals

  • a, b, c - instruction operands
  • r(n) - stack index/register n
  • k(n) - constant #n
  • upval(n) - upvalue #n
@HooferDevelops
HooferDevelops / CustomDatastoreService.lua
Last active July 13, 2025 16:53
CustomDatastoreService
--[[
CustomDatastoreService
--
This wrapper was made SPECIFICALLY for ProfileService.
What does this mean?
- This will not contain all native DataStore functions, as I
- only added support for the ones needed for ProfileService,
@aspose-com-gists
aspose-com-gists / pdf-to-html.py
Last active January 7, 2025 14:38
Convert PDF to HTML in Python
import aspose.words as aw
# Load the PDF file
doc = aw.Document("PDF.pdf")
# Save the document as HTML
doc.save("Document.html")