Skip to content

Instantly share code, notes, and snippets.

import subprocess
def vmlinux_kaslr_base():
out = subprocess.run("awk '/ _text$/ { print($1); exit(0); }' /proc/kallsyms",
shell=True, capture_output=True)
if out.returncode != 0:
raise Exception("Unable to determine the running kernel's base address")
base = int(out.stdout.decode(), 16)
if base == 0:
@realvjy
realvjy / ChoasLinesShader.metal
Last active May 22, 2024 05:05
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);

VIDEOS MIGHT OUTDATED BUT TEXT IS NOT

this guide is not meant to help with leaking or any stupid things you might do to ruin experience for other people

Downloading

  • Get latest version from Github Actions not releases from here , if you dont have account you can use site like nightly.link to download it , Latest build
  • Extract zip file somewhere
chrome_bBlpF4CYiz.webm.mov

@fnky
fnky / ANSI.md
Last active May 22, 2024 04:54
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@willprice
willprice / PBS_PRO_CHEAT_SHEET.md
Last active May 22, 2024 04:53
PBS pro cheat sheet

PBS Pro command cheat sheet

List nodes and their features

$ pbsnodes

@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active May 22, 2024 04:52
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@sdwfrost
sdwfrost / counties.geojson
Created September 23, 2019 17:54
US Counties data in geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 22, 2024 04:48
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@santisbon
santisbon / Search my gists.md
Last active May 22, 2024 04:46
How to search gists.

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html