Skip to content

Instantly share code, notes, and snippets.

@ndom91
ndom91 / mitmproxy.md
Last active July 11, 2025 03:17
How to use a MITM Proxy with any node app

mitmproxy

How-to man-in-the-middle your own application's traffic for debugging. Below is a quick step-by-step guide to putting mitmproxy between your hard-to-debug application's HTTP(s) network traffic and its destinations. Allowing you to spy on all requests, as well as modify and replay them. Theres a nice blog post with more screenshots and some explanation behind mitm-ing available here: https://earthly.dev/blog/mitmproxy/

1. Install dependencies

  1. global-agent - Global node proxy configuration via environment variables (npm) Optional - only necessary for proxying local node scripts/apps that don't have an explicit proxy option. a. $ npm i -g global-agent
  2. mitmproxy - Popular opensource python man-in-the-middle proxy with web interface (homepage)

竟0

淨零碳規劃管理師-初級能力鑑定 題庫整理

  • 整理日期:2025/05/03

說明

本文彙整了「淨零碳規劃管理師-初級能力鑑定」113 年度的考古題,內容僅供參考,考試命題不一定會相同,請考生留意。

  • 使用方法:Ctrl + F 直接輸入題目關鍵字搜尋即可
@Matiusco
Matiusco / install_hospedagem.sh
Last active July 11, 2025 03:15
install_hospedagem.sh
#!/bin/bash -e
clear
YELLOW=`tput setaf 3`
GREEN=`tput setaf 2`
NC=`tput sgr0`
echo "${GREEN}"
echo "============================================"
echo "VOXTREAM INSTALL..."
echo "============================================"
echo "${NC}"
@padeoe
padeoe / README_hfd.md
Last active July 11, 2025 03:15
CLI-Tool for download Huggingface models and datasets with aria2/wget: hfd

🤗Huggingface Model Downloader

Note

(2025-01-08) Add feature for 🏷️Tag(Revision) Selection, contributed by @Bamboo-D.
(2024-12-17) Add feature for ⚡Quick Startup and ⏭️Fast Resume, enabling skipping of downloaded files, while removing the git clone dependency to accelerate file list retrieval.

Considering the lack of multi-threaded download support in the official huggingface-cli, and the inadequate error handling in hf_transfer, This command-line tool leverages curl and aria2c for fast and robust downloading of models and datasets.

Features

  • ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
@jojonas
jojonas / love2d-unpacker.py
Last active July 11, 2025 03:14
Love2d executable unpacker.
import argparse
import os, os.path
import zipfile
import io
def readui32(file):
bytes = file.read(4)
number = bytes[0]
number += bytes[1] << 8
number += bytes[2] << 16
@DavePodosyan
DavePodosyan / elementor-form-turnstile-handler.php
Last active July 11, 2025 03:14
Cloudflare Turnstile Integration for Elementor Forms
<?php
/**
*
* A simple integration of Cloudflare Turnstile with Elementor Forms, following Elementor’s pattern for reCAPTCHA.
*
* Instructions:
* 1. Add this file to your WordPress theme directory.
* 2. Include the file in your theme's `functions.php` file using:
*
@0snap
0snap / post-install-arch-linux-setup.md
Last active July 11, 2025 03:13
Post-Installation Cheat Sheet for Arch Linux

Post-Installation Cheat Sheet for Arch Linux

This guide uses yay as the preferred AUR helper of choice.

Troubleshoot initial 'I have no Internet problems'

In case you did a fresh install and are now missing packages, yet cannot connect to the internet, simply boot via live-iso and arch-chroot into your system.

$ cryptsetup luksOpen /dev/nvme0n1p2 cryptroot      # only relevant in case of encrypted partition

$ mount /dev/mapper/cryptroot /mnt

@arashkaffamanesh
arashkaffamanesh / vmware.md
Created January 3, 2025 11:22 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
@STRML
STRML / bat-download.js
Last active July 11, 2025 03:09
A simple script for downloading all images for a listing on BringATrailer.com
(async function() {
const delay = (ms) => new Promise(r => setTimeout(r, ms));
// Given a url, try to download a high-res version of it
// This prevents us from downloading a downscaled thumbnail
function replaceUrlParam(url) {
return url
.split('?')[0] // get rid of querystring
.replace('-scaled.', '.'); // Remove `-scaled` to attempt to get the full res image
}
@code-boxx
code-boxx / 0-NODE-EXPORT-EXCEL.MD
Last active July 11, 2025 03:08
NodeJS Export Database To Excel