Skip to content

Instantly share code, notes, and snippets.

@HirofumiYashima
HirofumiYashima / image_embedded_mail.py
Last active November 13, 2026 05:57
Python から 画像ファイル をメール本文に埋め込んで送信して、hotmail で画像表示成功した方法 (Gmailは表示失敗)~ base64でエンコードした結果を埋め込むので、事前に画像をサーバーにアップしてURL用意する手間いらず。 ref: http://qiita.com/HirofumiYashima/items/468ca2517217643ea310
#!/usr/bin/python
# -*- coding: utf-8 -*-
import smtplib, base64
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
from email.MIMEMultipart import MIMEMultipart
from email.Header import Header
from email.Utils import formatdate
@ndeadly
ndeadly / homebrew_sysmodules.txt
Last active November 13, 2026 05:56
Title IDs for Nintendo Switch sysmodules and system applets
/* Homebrew sysmodules */
0000000000000123 sysHaze
0000000000534C56 SaltyNX
0066666669999999 sys-modulethatcrashestheconsolewhenitturnson
00FF0000000002AA BootSoundNX
00FF000053484101 switch-ha-sysmodule
00FF000053484102 switch-ha-overlay-loader
00FF0000636C6BF2 nx-reader
00FF0000636C6BFF sys-clk
00FF00006D7470FF mtp-server-nx
@gugadev
gugadev / install-android-sdk-windows.md
Last active November 13, 2026 05:56
Guide: Install Android SDK on Windows (without AndroidStudio)

Android SDK setup - Windows guide

If you are a React Native, NativeScript, Flutter or Ionic developer maybe you don't want to install the entire Android Studio just to have your environment ready. If this is your case, this guide will help you to setup your minimal Android SDK environment in Windows.


@assiless
assiless / MagiskSupport.md
Last active November 13, 2026 05:55
MagiskOnRedroid
setup variables for commands
echo -e "\n
export image=redroid/redroid:11.0.0-amd64
export image_tar=${HOME}/redroid:11.0.0-amd64" >> ${HOME}/.bashrc
source ${HOME}/.bashrc
@benyoussefzinelabidin-star
benyoussefzinelabidin-star / report.md
Created November 5, 2026 17:02
NitroMTA 0.2.1 run report

NitroMTA first real delivery - run report

  • Installed via dpkg -i nitromta_0.2.1_amd64.deb after downloading from the GitHub release v0.2.1 and verifying with gh attestation verify nitromta.deb --repo nitrosend/nitromta (exit 0, SLSA provenance matched). Version confirmed: nitromta 0.2.1.
  • OS: Kali GNU/Linux Rolling 2026.3 (x86_64), kernel 6.x, one CPU. Worked in a fresh empty directory /srv/nitromta.
  • Commands executed in order: nitromta setup --config config.toml --capture wrote tls.key, config.toml, keys. Edited config.toml: removed the [capture] section entirely; under [delivery] changed port = 25 to port = 2525; changed return_path_domain to bounces.vanta.test. Generated DKIM: openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out dkim.pem. Started the engine as the dedicated nitromta user with all Linux capabilities cleared. Created account (revision 1), identity vanta.test with selector dkim and the PEM private key (revision 2), and login app (revision

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@codeachange
codeachange / vmware.md
Created March 10, 2024 04:33 — forked from ayebrian/vmware.md
VMware ESXI 8 / VCSA 8/ vCenter 8 / Workstation 17 8 license key 2024

vCenter Server 8 Standard

Key Tested
4F282-0MLD2-M8869-T89G0-CF240 ✅
0F41K-0MJ4H-M88U1-0C3N0-0A214 ✅

ESXi 8

Key Tested
4V492-44210-48830-931GK-2PRJ4 ✅
@cjlawson02
cjlawson02 / README.md
Last active November 13, 2026 05:36
Repurposing an Android Digital Photo Frame as a Home Assistant Dashboard

Repurposing an Android Digital Photo Frame as a Home Assistant Dashboard

This project is a simple way to repurpose a digital photo frame as a Home Assistant dashboard. The idea is to have a device that is always on and always connected to the Home Assistant server, so you can have a quick look at the status of your home automation system.

Results

Here's a photo of the Nexfoto frame running Fully Kiosk Browser with Home Assistant:

Nexfoto frame running Fully Kiosk Browser with Home Assistant

@Mr-xn
Mr-xn / 终极代码审计全维度清单.md
Created April 18, 2026 13:21
终极代码审计全维度清单

终极代码审计全维度清单

1) 安全与防御(Security & Defense)

1.1 输入验证与规范化(Validation & Canonicalization)

  • 白名单校验(类型/范围/长度/枚举/格式)是否一致落地
  • 规范化顺序:decode → normalize → validate → encode(避免绕过)
  • 多重编码/双重解码(%2f、Unicode、混合编码)是否可绕过规则
  • 数值边界:溢出/截断/精度损失(int/float/BigDecimal)