Skip to content

Instantly share code, notes, and snippets.

@changanmoon
changanmoon / ms_mac.md
Last active September 16, 2026 12:11
Direct links for macOS version of Microsoft apps.

Microsoft Mac Downloads

These links were copied formerly from https://macadmins.software/.

All links on this gist point to Microsoft's official download on its Content Delivery Network (CDN).

Package Release CFBundle Identifier Download
Microsoft 365 and Office 2024 (2021) Suite Installer (Word / Excel / PowerPoint / Outlook / OneNote / OneDrive / MAU) N/A https://go.microsoft.com/fwlink/?linkid=525133
Microsoft 365 BusinessPro Suite Installer (Word / Excel / PowerPoint / Outlook / OneNote / OneDrive / Teams / Defender Shim / MAU) N/A

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.

@meowndor
meowndor / index.js
Last active September 16, 2026 12:08
Auto Retry Face Liveness Maganghub
// First, I encourage you to read the following X's post thread completely including the comment section
// This solution only inteded for those who facing "Gagal menginisiasi upload", "Gagal mengupload chunk 1/1" problems.
// Use "F12" OR "Ctrl+Shift+I" OR "Shift+Ctrl+C" OR "Right click anywhere>Inspect element" then go to "Console" tab.
// If you see warning "allow pasting" then just type as it is first without quotes symbol, enter,
// then proceed to paste this code.
// Other than that, don't mind the other errors/warning other
// After pasting the code, enter, try liveness check once
// then it should shows looping error with code 500 with attempts counts
// Just leave it as it is, it will eventually return 200 and automatically eligible if your required data on PDdikti already matched
// Leave the Console tab open until it shows you are eligible/verified. You can close the console/dev tools afterwards.
@JonyBepary
JonyBepary / pcb_design_playlist.md
Created July 21, 2025 18:26
Hardware Design :: Phil's Lab PCB Design Tutorials - Beginner to Advanced Learning Path

Phil's Lab PCB Design Tutorials - Beginner to Advanced Learning Path

BEGINNER LEVEL

Start here if you're new to PCB design and electronics

Fundamental Concepts

  • How To Read A Datasheet - Phil's Lab #123
    🔗 Watch Video
  • How To Learn PCB Design (My Thoughts, Journey, and Resources) - Phil's Lab #87
    🔗 Watch Video
@sysraccoon
sysraccoon / android-install-certs.md
Last active September 16, 2026 11:59
Шпаргалка по установке сертификатов на Android

Шпаргалка по установке CA сертификатов на Android

Оригинальное видео

Использование пользовательского хранилища CA и патчинг приложения

  1. Для burp-suite, конвертируем сертификат в PEM:
$ openssl x509 -inform DER -in cert.der -out cert.pem
@wincent
wincent / agent-sandboxen.md
Last active September 16, 2026 11:59
List of coding agent sandboxes 2026-05

Coding Agent Sandboxes — Comprehensive List

Compiled from awesome-lists (restyler/awesome-sandbox, webcoyote/awesome-AI-sandbox, bureado/awesome-agent-runtime-security) and a survey of vendor blogs / field guides published through 2026. Grouped by isolation primitive and then by deployment model.

1. OS-level primitives (no container, no VM)

These rely on kernel/userland features to constrain a normal host process. Lowest overhead, weakest boundary.

  • macOS Seatbelt / sandbox-exec — Apple's TrustedBSD-based MAC framework. Used directly by Codex CLI, Gemini CLI, and underneath Anthropic's srt.
  • Linux Landlock — Unprivileged filesystem/network LSM; default backend for Codex CLI on Linux.

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@phadej
phadej / overlap.hs
Created July 1, 2016 09:56
OverlappingInstance workarounds
{-# LANGUAGE CPP #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE FlexibleInstances, FlexibleContexts #-}
{-# LANGUAGE DataKinds, GADTs, KindSignatures, TypeOperators, UndecidableInstances #-}
#if __GLASGOW_HASKELL__ < 708
#error "requires GHC 7.10 or newer"
#endif
module Main (main) where