Skip to content

Instantly share code, notes, and snippets.

@0xdapper
0xdapper / delete-rust-target-dirs.sh
Created January 22, 2024 08:21
Delete rust target dirs
#!/bin/bash
# Find all Git repositories in the current directory and its subdirectories
git_repos=$(find . -type d -name '.git')
# Initialize an empty array to store directories to delete
dirs_to_delete=()
for repo in $git_repos; do
# Get the directory containing the `.git` directory
@0xdapper
0xdapper / export_frame_seed_signer.js
Created September 4, 2022 04:28
Export frame.sh seed signer at a given index
const crypto = require("crypto");
const readline = require("readline");
const fs = require("fs");
const path = require("path");
const os = require("os");
const hdKey = require("hdkey");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,