Skip to content

Instantly share code, notes, and snippets.

@ingramali
ingramali / sqlmap-cheat-sheet.md
Created October 11, 2019 10:08 — forked from jkullick/sqlmap-cheat-sheet.md
SQLMap Cheat Sheet
# Enumerate databases
sqlmap --dbms=mysql -u "$URL" --dbs

# Enumerate tables
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" --tables

# Dump table data
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" -T "$TABLE" --dump
@aparrish
aparrish / gb_midi_hz.txt
Created January 8, 2025 20:13
midi notes and closest corresponding tones that the game boy can generate, along with the difference in frequency between the midi note and the actual game boy frequency. more or less the same thing as http://www.devrs.com/gb/files/sndtab.html but in a friendlier format. more info and math on pandocs https://gbdev.io/pandocs/Audio_Registers.html
midi name gb gbhex gbfreq diff
0 C-0 0 0x000 64.00 55.82
1 C#0 0 0x000 64.00 55.34
2 D-0 0 0x000 64.00 54.82
3 D#0 0 0x000 64.00 54.28
4 E-0 0 0x000 64.00 53.70
5 F-0 0 0x000 64.00 53.09
6 F#0 0 0x000 64.00 52.44
7 G-0 0 0x000 64.00 51.75
8 G#0 0 0x000 64.00 51.02
@faustinoaq
faustinoaq / myAngular.html
Last active January 8, 2025 20:16
Front-end libraries (React, Vue, Angular) and the basic principles of how they work, all in a single file using pure JavaScript (VanillaJS).
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Angular from Scratch</title>
<style>
.my-component {
font-family: Arial, sans-serif;
@pagkly
pagkly / wslkernel.sh
Last active January 8, 2025 20:16
WSL2 - Compile Kernel with Ashmem and Binder
# Waydroid
# WSl custom kernel
# https://gist.github.com/oleksis/eb6d2f1cd2a6946faefb139aa0e38c35
# https://github.com/waydroid/waydroid/issues/217
# https://www.youtube.com/watch?v=SfK4PBcFq0w
# Powershell shutdown & remove config
wsl --shutdown
rm /mnt/c/Users/user/.wslconfig
# install dependencies
@CHSuworatrai
CHSuworatrai / VMware vSphere 6.x Licence Keys
Created April 8, 2021 09:20 — forked from DVSB/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
VMware vSphere 6 Enterprise Plus
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
VMware vSphere with Operations Management 6 Enterprise
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@eenblam
eenblam / linux_reading_list.md
Last active December 31, 2024 22:39
Linux Networking Reading List

Linux Networking Reading List

Currently in no particular order. Most of these are kind of ancient.

Where's all the modern documentation? So much of what I've turned up searching is other folks complaining about having few options beyond reading source code.

The OREILLY books, while dated, seem to be some of the best available. Note that these can be read with a 7-day trial. Do this! At least get through the introduction section and first chapter of each to see if it's what you're after.

https://www.netfilter.org/

@sharunkumar
sharunkumar / adb-dns.bat
Created February 7, 2020 07:08
Enabling / Disabling private DNS in android via ADB
rem to disable private dns
adb shell settings put global private_dns_mode off
rem to enable private dns with hostname (example with dns.adguard.com)
adb shell settings put global private_dns_mode hostname
adb shell settings put global private_dns_specifier dns.adguard.com
@ianand
ianand / running-gpt2-small.ipynb
Last active January 8, 2025 20:12
running-gpt2-small.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andreibosco
andreibosco / yubikey-windows10.md
Last active January 8, 2025 20:12
Setting up Yubikey with SSH and Git on Windows 10 + Powershell
@Klerith
Klerith / git-alias.md
Last active January 8, 2025 20:13
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb