Skip to content

Instantly share code, notes, and snippets.

@lfsmoura
lfsmoura / deploying-hermes-agent-on-dokploy.md
Last active August 21, 2026 16:54
Deploying Hermes Agent (NousResearch) on Dokploy — step-by-step guide

Deploying Hermes Agent on Dokploy

A step-by-step guide to deploying NousResearch Hermes Agent on a VPS using Dokploy, secured with Tailscale and a locked-down firewall.

Prerequisites

  • A VPS with Dokploy installed
  • Dokploy API token (Settings → API Keys in Dokploy UI)
  • A Telegram bot token from @BotFather
  • An LLM API key (OpenAI-compatible endpoint)
@101arrowz
101arrowz / README.md
Last active August 21, 2026 16:51
Download a McGraw Hill Education eTextbook

Download a McGraw Hill Education eTextbook

If you purchase a textbook from McGraw Hill, the website to view it is clunky and only works on some devices. You can't go to specific page numbers, the search is super slow, etc. That's why I wrote this script to download the textbook as an ePub file for your own viewing.

Using this script is 100% legal. McGraw Hill publicly hosts their ebooks online in order for their web client to download it. Moreover, to use it, you must already have purchased the book you would like to download, so it is legally yours to use as you please. However, it IS illegal to use this for piracy purposes. DO NOT DISTRIBUTE ANY TEXTBOOKS YOU DOWNLOAD USING THIS SCRIPT.

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@k16shikano
k16shikano / SKILL.md
Last active August 21, 2026 16:36
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@Klerith
Klerith / tetris-sugerencias.md
Created April 30, 2026 18:14
Sugerencias para el juego de Tetris

Sugerencias para mejorar el Tetris

1. Power-ups aleatorios

Cada cierto número de líneas aparece una pieza especial con efecto:

  • Bomba — destruye un área 3×3
  • Rayo — limpia fila/columna completa
  • Tinte — convierte todos los bloques de un color en comodines
  • Gravedad — compacta huecos del tablero
  • Congelar — pausa la caída durante 5s
@simbo
simbo / keychain.md
Created November 27, 2022 20:30
Setup ssh keychain for Ubuntu

Setup ssh keychain for Ubuntu

Install keychain

sudo apt-get update
sudo apt-get install keychain

Add keychain commands to .bashrc

@alifsuryadi
alifsuryadi / tutorial-discord-quests.md
Last active August 21, 2026 15:19
Tutorial Auto-Complete Discord Quests

🎮 Auto Claim Discord Quests (Without Playing)

🇮🇩 Looking for the Indonesian version? Click here

⚠️ WARNING

This method is not recommended for your main account. Modifying the Discord client may violate Discord's Terms of Service. Use at your own risk.


@convict-git
convict-git / concurrency-sync-cpp.md
Created August 8, 2021 13:31
Concurrency and Synchronization using Modern C++ - (Not so) Short Notes

Concurrency and Synchronization using Modern C++

Thread Management

Each running program has at least one thread which is occupied by its entry point. There can be many threads for a single program and the memory is shared among all threads. The objects possessed by the main thread (and shared by other threads as a reference to it) would be destroyed as soon as they go out of scope. This might lead to corrupt memory access by the rest of the threads.

Hence, sometimes, it's very important to make sure that all the threads are joined using std::thread::join() before the main thread terminates. Other times, you basically want a daemon thread running in background even after the termination of main thread and that can be achieved by calling std::thread::detach(), but it may or may not be possible to join a detachable thread.

Resource Acquisition Is Initialization (RAII) is a famous programming idiom in C++ (a misnomer actually) also (better) known and understood as **Scope-Bound Resource Managemen

@jsuryahyd
jsuryahyd / commands.sh
Created September 28, 2023 10:41
disable zscaler on mac
# https://www.atpeaz.com/disable-zscaler-temporarily-on-your-mac/
# disable
sudo launchctl unload /Library/LaunchDaemons/com.zscaler.service.plist && sudo launchctl unload /Library/LaunchDaemons/com.zscaler.tunnel.plist
# Reenable
sudo launchctl load /Library/LaunchDaemons/com.zscaler.service.plist && sudo launchctl load /Library/LaunchDaemons/com.zscaler.tunnel.plist
@JosephJoshua
JosephJoshua / texthooker-hide-all-stats.html
Last active August 21, 2026 15:08
Download the HTML file (click on 'Download Zip' and extract the zip file) and open it in your browser.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Clipboard Insertion Page - Anacreon Edition</title>
<style>
body,
html {