Skip to content

Instantly share code, notes, and snippets.

@C4illin
C4illin / Latest Steam Games
Last active March 21, 2026 10:06
Latest Steam Games
a/889320
a/4312800
a/1721470
s/1514734
s/1537466
s/1551766
s/275352
a/4246980
a/2446220
a/3405070
@CharlesGodwin
CharlesGodwin / cloudflare.md
Last active February 18, 2026 17:40
I Don't Need Port Forwarding and Don't Care About CGNAT

I Don't Need Port Forwarding and Don't Care About CGNAT

This was rewritten 2022-11-30

This article is for users that want all these features:

  • To connect to home network from anywhere
  • Can connect without any port forwarding; either by choice or internet provider can't or won't provide access
  • No setup or configuration or installation on client machine
  • No enrolment / registration required
@C4illin
C4illin / Steam Codes
Last active March 21, 2026 10:06
This gist is used to keep track of steam games
a/1395310
s/197845
a/368230
s/516145
a/1204740
a/638490
a/1273710
a/884660
a/893390
s/239770
@coolaj86
coolaj86 / Create a Bootable MacOS Recovery USB with Linux.md
Last active February 17, 2026 17:58
How to create Apple's Bootable MacOS Rescue Image from Linux

See bootableinstaller.com

How to create a Bootable MacOS Recovery USB from Linux

If your Mac is out-of-order or you otherwise cannot download macOS from the App Store, you can still create a bootable OS X recovery USB, and you can use that to create an Installer USB.

The downloads used in this process are legal and freely avaliable - including disk images directly from Apple's IT support pages, and open source utilities for extracting and converting pkg, dmg, and HFS+.

@mcfrojd
mcfrojd / Shield_Intents.MD
Last active March 4, 2026 22:37
Working INTENTS to use with Community Hass.io Add-ons: Android Debug Bridge for your Nvidia Shield TV

Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below.

Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown


Start apps on your android device (in the examples below, my Nvidia Shield TV) from Home Assistant

alt text

Starts Youtube App

entity_id: media_player.shield
command: >-
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active March 17, 2026 21:38 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@niieani
niieani / throttle-and-debounce.sh
Last active September 21, 2024 21:50
throttle and debounce commands in bash
#!/usr/bin/env bash
declare -i last_called=0
declare -i throttle_by=2
@throttle() {
local -i now=$(date +%s)
if (($now - $last_called >= $throttle_by))
then
"$@"
@smoser
smoser / inotify-hack
Created April 27, 2016 18:21
inotifywait example
#!/bin/bash
# just an example using inotifywait. the 'process' function basically reads from
# the output of inotifywait and then when it is found what it is after it will kill the
# inotifywait process.
#
# used this to hack a dpkg postinst script that wasnt yet installed and enable some debugging
# in it before it was run.
LAUNCH_PID=""
LOG="/run/${0##*/}.log"
set -f
@nuomi1
nuomi1 / PrintBootCampESDInfo.swift
Last active March 16, 2026 22:45
macOS and BootCamp Latest
#!/usr/bin/env swift
//
// PrintBootCampESDInfo.swift
//
// Created by nuomi1 on 8/5/18.
// Copyright © 2018年 nuomi1. All rights reserved.
//
import Foundation
@mikkeloscar
mikkeloscar / guide.md
Created June 14, 2014 20:44
Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.

Setup chroot-fs

You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.