Skip to content

Instantly share code, notes, and snippets.

@carlnc
carlnc / macOS Unicode Shortcuts.txt
Last active November 30, 2026 03:04
macOS Unicode Shortcuts
macOS Unicode Shortcuts
------------------- --------------------------------------- --------- ------ ---------
+ shift-option ` ⁄ € ‹ › fi fl ‡ ° · ‚ — ± ” ’ » Ú Æ ¯ ˘ ¿
+ option-key ` ¡ ™ £ ¢ ∞ § ¶ • ª º – ≠ “ ‘ « … æ ≤ ≥ ÷
+ shift ~ ! @ # $ % ^ & * ( ) _ + { } | : " < > ?
key ` 1 2 3 4 5 6 7 8 9 0 _ = [ ] \ ; ' , . /
------------------- --------------------------------------- --------- ------ ---------
@beernarrd
beernarrd / remove-pass.vb
Created August 3, 2016 18:34 — forked from yevrah/remove-pass.vb
Excel: Remove Excel Password
' src: http://www.mcgimpsey.com/excel/removepwords.html
'
' Removing Internal XL passwords
'
' Note: For a discussion of File or VBA Project password protection, see here.
'
' Internal XL passwords are about as useful for security as tissue paper. The
' reason is that the passwords you enter (i.e., with Tools/Protect/Protect
' Worksheet or /Protect Workbook) are not used directly in protection. Instead
' they are hashed (mathematically transformed) into a much less secure code.
@rskull
rskull / i_love_you.html
Last active November 30, 2026 02:59
I LOVE YOU
<!DOCTYPE html>
<html>
<head>
<title>I LOVE YOU</title>
<script>
onload = function () {
var d = document;
// フェードイン
function feedin (feed, speed) {
var filter = 0;
@7shi
7shi / report.md
Last active November 30, 2026 02:56
Lockwood, Indo-European Philology (1969), Ch. X Celtic: Wiktionary cross-check

Wiktionary 調査結果(第X章 ケルト語派)

ロックウッド(著)永野芳郎(訳)『比較言語学入門』大修館書店(原著 Indo-European Philology: Historical and Comparative, 1969)の第X章に出てくる語を、英語版 Wiktionary(20260601 ダンプ)と照合した結果を本のページごとにまとめる。

ダンプの索引づけとページの取得、語源節・子孫リストのたどりには mediawiki-tools(Wikipedia/Wiktionary のダンプを扱う Python のツールとライブラリ)を使った。

凡例

  • 言語名は略称(古ア=古代アイルランド語、ウ=ウェールズ語、古教ス=古教会スラヴ語 など)。漢字一文字の略称が一般的な言語はそれを使う(羅=ラテン語、希=ギリシア語、梵=サンスクリット、英=英語、露=ロシア語。古羅=古ラテン語)。
  • ギリシア語・サンスクリットは本のローマ字転写の後にギリシア文字・デーヴァナーガリー文字を併記する(本の語形をそのまま翻字したもので、Wiktionary の見出し語とは語形が異なることがある。サンスクリットの語末 -s はヴィサルガで表記)。
@khronokernel
khronokernel / electron_patcher.py
Last active November 30, 2026 02:48
Electron and Chrome patcher to force OpenGL rendering
"""
electron_patcher.py: Enforce 'use-angle@1' in Chrome and Electron applications
Version 1.0.0 (2024-08-11)
"""
import enum
import json
from pathlib import Path
@MangaD
MangaD / cpp_project_layouts.md
Last active November 30, 2026 02:47
Common C++ Project Layouts

📦 Common C++ Project Layouts (Practical Guide)

CC0

Disclaimer: ChatGPT generated document. Treat as a starting point and adapt to your team/build system.

A C++ project’s directory structure affects:

  • Build system ergonomics (CMake/Meson/Bazel/Makefiles)
  • Include hygiene (public vs private headers)
@trulow
trulow / electron_patcher.py
Last active November 30, 2026 02:45 — forked from khronokernel/electron_patcher.py
Electron and Chrome patcher to force OpenGL rendering
"""
electron_patcher.py: Enforce 'use-angle@1' in Chrome and Electron applications
This script patches Chromium-based applications (including Electron apps and Chrome)
to enforce the use of OpenGL rendering through the 'use-angle@1' setting.
Features:
- macOS only: Optimized for macOS Electron applications
- Auto-detection: Automatically finds Electron applications in standard locations
- Specific apps: Has special handling for common apps like Spotify, Discord, VSCode, Microsoft Teams

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.

@leonardofed
leonardofed / README.md
Last active November 30, 2026 02:35
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@jazzychad
jazzychad / WithAnimation.swift
Last active November 30, 2026 02:35
WithAnimation SwiftUI Property Wrapper
import SwiftUI
@propertyWrapper
struct WithAnimation<T>: DynamicProperty {
@State private var _internal: T
private let animation: Animation
init(wrappedValue: T, _ animation: Animation? = nil) {
self._internal = wrappedValue