Skip to content

Instantly share code, notes, and snippets.

@StudioEtrange
StudioEtrange / analyse-github-fork.sh
Last active April 6, 2026 20:26
Analyse forks of a GitHub project
#!/usr/bin/env bash
# analyse-github-fork.sh
# Analyse forks of a GitHub project
# https://gist.github.com/StudioEtrange/7cec41a83ee3a731a203badd03f94b9c
# Author: StudioEtrange https://github.com/StudioEtrange
# License: MIT
set -eu
usage() {
cat <<EOF
@StudioEtrange
StudioEtrange / ssh_tunnel.md
Last active February 22, 2026 00:30
About SSH Tunneling aka SSH port forwarding

About SSH Tunneling

Local Port Forwarding

ssh -L local_bind_address:local_port:destination_host:destination_port remote_ssh_user@remote_ssh_host -p remote_ssh_port

local_bind_address is a local address bindable only on the current host (i.e 127.0.0.1, 0.0.0.0, 192.168.0.100)

OpenSSH Server configuration :

@StudioEtrange
StudioEtrange / -various_ai_gen_tips.md
Last active March 27, 2026 23:13
Various AIGen tools and tips

Various AIGen tools and tips

@StudioEtrange
StudioEtrange / macos-dyld-cache-analyse.sh
Last active November 3, 2025 00:39
List and search content in dyld shared cache using "ipsw" tool - Usefull to analyse system libraries installed into macos
#!/usr/bin/env bash
# macos-dyld-cache-analyse.sh
# https://gist.github.com/StudioEtrange/8c2801df68969538cfccc6dcdb8d6bcc
# Author: StudioEtrange https://github.com/StudioEtrange
# License: MIT
set -euo pipefail
man() {
cat <<MAN
Usage: macos-dyld-cache-analyse.sh [options]
@StudioEtrange
StudioEtrange / macos-link-analyse.sh
Last active November 3, 2025 00:39
Dependencies Analysis of macos files
@StudioEtrange
StudioEtrange / homebrew-get-bottle.sh
Last active April 8, 2026 09:12
Download a Homebrew bottle (precompiled package) from GHCR for a formula - Homebrew Formulae catalog : https://formulae.brew.sh/
#!/usr/bin/env bash
# homebrew-get-bottle.sh
# https://gist.github.com/StudioEtrange/5b0eac67f8917d7bc69e01d262854b5b
# Author: StudioEtrange https://github.com/StudioEtrange
# License: MIT
# --- Options parsing ---
usage() {
cat <<EOF
@StudioEtrange
StudioEtrange / android_vm_debian_with_a_terminal.md
Last active October 16, 2025 21:47
How to activate the linux development environment on android

To install the official linux development environment on android which is a vm debian :

  • 1 - settings > About > press 7 times on build number to activate developper mode
  • 2 - settings > system > developpeur option > activate linux environment development
  • 3 . launch the new terminal launcher
@StudioEtrange
StudioEtrange / -no_automatic_translation.md
Last active October 31, 2025 19:42
No automatic translation for reddit and youtube

No automatic nor generated translation

On websites :

  • Reddit
  • Youtube