Skip to content

Instantly share code, notes, and snippets.

@cliss
cliss / mergechapters.py
Created January 26, 2021 14:30
Merge Files with Chapters
import datetime
import json
import os
import subprocess
import sys
#############
### USAGE ###
#############
@Enigmatrix
Enigmatrix / GDB Cheatsheet.md
Last active July 27, 2024 11:46
GDB Cheatsheet using pwndbg

GDB Cheatsheet

Setup

First of all, we need to install GDB: sudo apt install gdb

Next we will be installing an extension to GDB called pwndbg that will make our life easier. Instructions for installation are here.

You can verify that your installation works by running gdb /bin/true in your command line, then running start when the prompt shows.

@alexander-hanel
alexander-hanel / bn-cheat.md
Last active July 27, 2024 11:44
Cheat Sheet for Binary Ninja
@yvesh
yvesh / proxmox-zfs-encryption.md
Last active July 27, 2024 11:44
Proxmox 6.1 ZFS native full disk (ZFS root) encryption.

Simple guide for fulldisk encryption with Proxmox and ZFS native encryption

Install normally using the installer, after the setup reboot into recovery mode (from the USB stick). Make sure to install in UEFI mode (you need systemd-boot).

If the USB stick is not working for you, because of the old Kernel version (2.6.x), you can also use an Ubuntu 19.10 / 20.04 boot stick. ZFS suport is enabled there out of the box.

Steps:

@inkss
inkss / #readme.md
Last active July 27, 2024 11:34
IPV6 直播源

个人向直播源

精简了上游直播源内容,仅保留个人所需的。

一、订阅地址

TVM3U

https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
@stefanmaric
stefanmaric / copy-to-clipboard-bookmarklet.md
Created September 7, 2016 20:54
Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard

Copy-to-clipboard Bookmarklet

Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard.

This is the base javascript:

(function (text) {
  var node = document.createElement('textarea')
  var selection = document.getSelection()
@eusonlito
eusonlito / 01-README.md
Last active July 27, 2024 11:27
SQLite optimization for Laravel

The SQLite optimizations must be carried out at two different times: once in a unique and permanent way for the database and another time for each connection that is made. Below are the configurations that should be made in each case.

Unique and Permanent Configurations

These configurations are set only once and affect the database persistently, meaning they do not need to be reconfigured each time a connection is established:

PRAGMA journal_mode = WAL;

Sets the database journal mode to "WAL" (Write-Ahead Logging), which improves performance in concurrent operations.

@dedunumax
dedunumax / .gitignore Java
Last active July 27, 2024 11:26
A complete .gitignore file for Java.
##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
@lmcneel
lmcneel / remove-node-modules.md
Last active July 27, 2024 11:24
How to remove node_modules after they have been added to a repo

How to remove node_modules

Create a .gitignore file

  1. Check for an existing .gitignore file in the project directory
ls -a