Skip to content

Instantly share code, notes, and snippets.

View tin-z's full-sized avatar

Altin (tin-z) tin-z

View GitHub Profile
/*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
@tin-z
tin-z / gef_gdb_docker_fix.md
Created April 2, 2023 19:52
docker ubuntu lang

fix issue gef-gdb-docker

apt-get install locales                                                                         
locale-gen it_IT.UTF-8                                                                          
echo "export LC_CTYPE=C.UTF-8" >> ~/.bashrc  
@tin-z
tin-z / demo.js
Last active April 12, 2024 07:58
v8 debugging stuff
function gc() { for (let i = 0; i < 0x10; i++) { new ArrayBuffer(0x1000000); } }
// (1) convert stuff
var _b = new ArrayBuffer(16);
var _f = new Float64Array(_b);
var _i = new BigUint64Array(_b);
// converts float to big unsigned int
function f2i(f)
{
@tin-z
tin-z / crab_security_roadmap.md
Last active January 10, 2024 19:38
Roadmap to start learning Crab 🦀 (ex rust) for security purposes
# Distributed under the MIT License (MIT)
# Copyright (c) 2023, Altin (tin-z)
import sys
sys.path.append(".")
import r2pipe
def list_imported_functions(r2):
imported_functions = []
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" CSCOPE settings for vim
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" This file contains some boilerplate settings for vim's cscope interface,
" plus some keyboard mappings that I've found useful.
"
" USAGE:
" -- vim 6: Stick this file in your ~/.vim/plugin directory (or in a
" 'plugin' directory in some other directory that is in your
@tin-z
tin-z / normcore-llm.md
Created November 8, 2023 22:54 — forked from veekaybee/normcore-llm.md
Normcore LLM Reads