Skip to content

Instantly share code, notes, and snippets.

@nepsilon
nepsilon / how-to-ssh-agent.md
Last active December 28, 2025 19:59
Remember passphrases with ssh-agent — First published in fullweb.io issue #31

How to use ssh-agent to cache your SSH credentials?

Contributed by Fabien Loudet, Linux SysAdmin at Rosetta Stone

Tired of always having to enter your SSH key passphrase when logging in to remote machines? Here comes ssh-agent. Enter the passphrase once and it will keep it in memory for you

Using ssh-agent in your shell session:

Linux based Python enviroment for Windows systems using WSL

The following document will guide you through to install WSL, Ubuntu distro, python,pyenv and poetry

Install WSL and Linux Distro for Windows Machine

If you are using Linux based system skip these steps for installing wsl & Ubuntu

  1. First you need to Make sure your Windows version is at least Windows 10, version 2004. You can check your Windows version by going to Settings > System > About.
@ryanorsinger
ryanorsinger / installing_anaconda_on_mac.md
Last active December 28, 2025 19:56
Installing Homebrew and Anaconda

Installing Homebrew and Anaconda on a Mac

Install Homebrew

Run the following command on your terminal to install Homebrew. Homebrew is a package manager for Macs and is used to install useful development tools and software.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Anaconda through Homebrew

  1. Run brew install --cask anaconda to install Anaconda
@automagictv
automagictv / automatic_invoice.gs
Created February 5, 2021 21:13
Apps Script code to automatically replace template variables in your invoice document.
///////////////////////////////////////////////////////////////////////////////////////////////
// BEGIN EDITS ////////////////////////////////////////////////////////////////////////////////
const TEMPLATE_FILE_ID = 'YOUR_TEMPLATE_FILE_ID_HERE';
const DESTINATION_FOLDER_ID = 'YOUR_DESTINATION_FOLDER_ID_HERE';
const CURRENCY_SIGN = '$';
// END EDITS //////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
// WARNING: EDITING ANYTHING BELOW THIS LINE WILL CHANGE THE BEHAVIOR OF THE SCRIPT. //////////
@bluehatkeem
bluehatkeem / daily-digest.json
Created December 4, 2025 05:56
Convert Youtube Videos into Newsletter Summaries
{
"name": "Daily Digest",
"nodes": [
{
"parameters": {
"model": "openai/gpt-5.1",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"typeVersion": 1,
@ExploitDev9989
ExploitDev9989 / privacy-policy.html
Last active December 28, 2025 20:00
BLVDE TikTok Automation Tool
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BLVDE Automation Tool - Privacy Policy</title>
<style>
body { font-family: sans-serif; max-width: 800px; margin: 40px auto; padding: 20px; line-height: 1.6; }
h1 { color: #8B5CF6; }
.highlight { background: #f5f3ff; padding: 10px; border-left: 4px solid #8B5CF6; }
</style>

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@OneCDOnly
OneCDOnly / disable-and-remove-mr.sh
Last active December 28, 2025 19:46
uninstall Malware Remover, and prevent it being installed again during this OS session.
#!/usr/bin/env bash
tab_pathfile=/etc/config/crontab
conf_pathfile=/etc/config/qpkg.conf
uninstall_pathfile=$(getcfg MalwareRemover Install_Path -f $conf_pathfile)/.uninstall.sh
if ! grep malware_remover_install.lck $tab_pathfile &> /dev/null; then
echo '*/2 * * * * /bin/touch /var/lock/malware_remover_install.lck' >> $tab_pathfile
crontab $tab_pathfile && /etc/init.d/crond.sh restart
fi
@fawazahmed0
fawazahmed0 / breach.txt
Last active December 28, 2025 19:44
Email and password breach collection list
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc
# These links are already available all over the internet
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal
# Collection 1
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
# Collection 2-5 & Antipublic
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
@akash-coded
akash-coded / web-scraping-boilerpy.md
Last active December 28, 2025 19:43
Text extraction from websites, or Web Mining, is a major area of interest in today's connected world. Extract text content from web pages with Python tools. Some of the tools mentioned here have a more focussed approach on main text extraction wherea

1. Using BoilerPy3, a native Python port of Christian Kohlschütter's Boilerpipe for automatically extracting main textual content of a webpage based on shallow text features. It gives us the page title and it's contents

!pip install boilerpy3
from boilerpy3 import extractors

extractor = extractors.CanolaExtractor()

doc = extractor.get_doc_from_url('https://www.newsrain.in/petrol-diesel-prices/Odisha')
page_title = doc.title