Skip to content

Instantly share code, notes, and snippets.

View StudioEtrange's full-sized avatar
💫

StudioEtrange StudioEtrange

💫
View GitHub Profile
@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 / homebrew_get_bottle.sh
Last active September 14, 2025 11:39
Download a Homebrew bottle (precompiled package) from GHCR for a formula
#!/usr/bin/env bash
set -euo pipefail
# --- Options parsing ---
usage() {
cat <<EOF
Download a Homebrew bottle (precompiled package) from GHCR for a formula
Homebrew Formulae catalog : https://formulae.brew.sh/
@StudioEtrange
StudioEtrange / reddit_no_translation.md
Last active July 6, 2025 11:33
Reddit no automatic translation / show original
@StudioEtrange
StudioEtrange / stay_awake.ps1
Created February 19, 2025 18:52
Stay awake by pressing fake key
# Useful references:
#
# https://superuser.com/questions/992511/emulate-a-keyboard-button-via-the-command-line
# https://ss64.com/vb/sendkeys.html
# https://social.technet.microsoft.com/Forums/windowsserver/en-US/96b339e2-e9da-4802-a66d-be619aeb21ac/execute-function-one-time-in-every-10-mins-in-windows-powershell?forum=winserverpowershell
# https://learn-powershell.net/2013/02/08/powershell-and-events-object-events/
#
# Future enhancements - use events rather than an infinite loop
while (1) {
$wsh = New-Object -ComObject WScript.Shell
@StudioEtrange
StudioEtrange / -various_files_tips.md
Last active March 22, 2025 19:21
Various files and folders manipulation

Various files and folders manipulation tips

@StudioEtrange
StudioEtrange / -video_file_manipulation.md
Last active January 26, 2025 18:25
Video file manipulation

Video File Manipulation

@StudioEtrange
StudioEtrange / -old-linux-distribution-repositories.md
Last active January 12, 2025 07:38
Configuration to set old repositories for old Centos and Ubuntu distribution

Old repositories for end of line linux distribution