Skip to content

Instantly share code, notes, and snippets.

View instagrim-dev's full-sized avatar

Jonathan Maye-Hobbs instagrim-dev

  • .local
View GitHub Profile
@AndrewAltimit
AndrewAltimit / !README.md
Last active October 24, 2025 18:30
Claude Code and Gemini CLI Integration

Gemini AI Integration MCP Server

A Model Context Protocol (MCP) server that integrates Google's Gemini AI for code review, technical consultation, and AI-assisted development workflows. This server provides seamless integration with Claude Code and other MCP-compatible clients.

Usage

@rsms
rsms / macos-distribution.md
Last active October 16, 2025 08:15
macOS distribution — code signing, notarization, quarantine, distribution vehicles

Caution

This guide is out of date, follow the new guide here: https://flipper.wiki/mifareclassic/

MIFARE Classic

Here are the steps to follow in order to read your cards. Your goal is to find as many keys as possible. The keys unlock sections of your card for the Flipper to read them - you must have a card. Once you read enough sections, you can use an emulated or cloned card at the original card reader to unlock it (sometimes even without finding all of the keys!).

Important

Major update coming in first update following OFW 1.0.0 (ETA: mid to late September) which overhauls and simplifies this process: Status

@zebreus
zebreus / firebase.tf
Last active April 2, 2025 04:05
Terraform configuration for creating a firebase project with firestore, functions and storage
# firebase.tf https://gist.githubusercontent.com/Zebreus/906b8870e49586adfe8bd7bbff43f0a8/raw/firebase.tf
# Terraform configuration for creating a firebase project with firestore, functions and storage
# Unfinished
terraform {
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "4.11.0"
}
@Piotr1215
Piotr1215 / tacos-comparison.md
Last active July 31, 2025 00:15
Below table provides a high level overview of various IaC capabilities and their support by a given provider.
Capability/Tool terraform Cloud terraform Enterprise Scalr Env0 Spacelift
Compliance ISO 27001, SOC 2 ISO 27001, SOC 2 SOC 2 Type I SOC 2 ISO 27001, SOC 2 Type II
GitLab Integration
Hosting SaaS SaaS, On-Prem SaaS, On-Prem SaaS SaaS
Policy as Code Sentinel, OPA
@MaskRay
MaskRay / implement-an-elf-linker.md
Last active August 5, 2025 06:10
Implement an ELF linker
theme class highlighter fonts
default
text-center
MaskRay
sans serif mono
sans-serif
serif
monospace
@felixhammerl
felixhammerl / README.md
Last active October 17, 2025 17:38
MitM TLS encrypted traffic in macOS using SSLKEYLOGFILE

Option 1: Via macOS environment variable:

  1. mkdir -p ~/Library/LaunchAgents
  2. Put tlskeylogger.plist at ~/Library/LaunchAgents/tlskeylogger.plist
  3. launchctl load ~/Library/LaunchAgents/tlskeylogger.plist, so it will load on the next restart
  4. launchctl start ~/Library/LaunchAgents/tlskeylogger.plist, so it will load the environment variable immediately
  5. Restart your browser(s)
  6. See how TLS keys are being written to ~/.tlskeyfile via tail -f ~/.tlskeyfile

NB: This may be hit or miss and many apps do not respect the env var.

@7468696e6b
7468696e6b / okular-appleSilicon.md
Last active August 9, 2025 21:25
how to install Okular viewer on macOS Big Sur, using M1/Apple Silicon/arm64
  1. Install homebrew from https://brew.sh/ (follow the instructions there)
  2. tap the https://invent.kde.org/packaging/homebrew-kde/ repo, brew tap kde-mac/kde https://invent.kde.org/packaging/homebrew-kde.git
  3. brew edit okular, workaround now is to comment out or delete the line depends_on "chmlib" (won't compile on macos arm64 for now as of 2021-08-18), then save (if using vim you need to first press i to insert/type, when saving then <esc> then :wq then <enter>.
  4. brew install okular, wait for stuff to compile and/or install
  5. It may ask for keychain credentials (to sign the binaries? because of mac arm64 security policy https://eclecticlight.co/2021/01/26/when-you-dont-have-permission-to-run-an-app-on-an-m1-mac/)
  6. $(brew --repo kde-mac/kde)/tools/do-caveats.sh
  7. Now okular is in your $HOME/Applications/KDE folder, and will show up in Launchpad! You can view pdf, djvu, etc documents.

Edit: as of 2025 there is now a precompiled nightly binary available for download at https://okul

@joepie91
joepie91 / es-modules-are-terrible-actually.md
Last active October 9, 2025 04:55
ES Modules are terrible, actually

ES Modules are terrible, actually

This post was adapted from an earlier Twitter thread.

It's incredible how many collective developer hours have been wasted on pushing through the turd that is ES Modules (often mistakenly called "ES6 Modules"). Causing a big ecosystem divide and massive tooling support issues, for... well, no reason, really. There are no actual advantages to it. At all.

It looks shiny and new and some libraries use it in their documentation without any explanation, so people assume that it's the new thing that must be used. And then I end up having to explain to them why, unlike CommonJS, it doesn't actually work everywhere yet, and may never do so. For example, you can't import ESM modules from a CommonJS file! (Update: I've released a module that works around this issue.)

And then there's Rollup, which apparently requires ESM to be u

#!/usr/bin/env bash
echo ">>>>>>>BY JOHN MELODY<<<<<<<<<"
echo ">>> 正在下载 <<< "
sleep 2
sudo apt install apache2
sudo ufw app list
sudo ufw allow 'Apache'
# sudo ufw status
wget https://github.com/coturn/coturn/archive/4.5.1.3.tar.gz