Skip to content

Instantly share code, notes, and snippets.

How to install Homebrew package manager on Steam Deck

(See also installing Distrobox: https://distrobox.it/ )
(See also installing Nix package manager: https://determinate.systems/posts/nix-on-the-steam-deck )

You can install Homebrew (a package manager for macOS and Linux) without disabling the read-only partition with sudo steamos-readonly disable.
The package manager can be used alongside Flatpaks. Some software is only available on Flathub, and some software is only available on Homebrew.

  1. Switch to desktop mode (hold power button until a menu appears, then select "Switch to desktop mode")
  2. Click the logo at the bottom left, go to System, then go to Konsole
@damoclark
damoclark / raspi-config.txt
Last active June 29, 2024 13:58
Simple Raspbian Configuration Tool. Add file to boot partition of SD Card and run single command after booting Raspbian.
#/bin/sh
#
# Don't change the following lines unless you know what you are doing
# They execute the config options starting with 'do_' below
grep -E -v -e '^\s*#' -e '^\s*$' <<END | \
sed -e 's/$//' -e 's/^\s*/\/usr\/bin\/raspi-config nonint /' | bash -x -
#
############# INSTRUCTIONS ###########
#
# Change following options starting with 'do_' to suit your configuration
@Gadgetoid
Gadgetoid / README.md
Last active May 27, 2024 12:54
Raspberry Pi Zero / Windows 10 automatic RNDIS driver install for composite gadgets

Preface

I owe my very rapid learning journey in the world of ConfigFs to several key sources which aren't necessarily relevant to this result, but I feel deserve a mention anyway.

@dferg
dferg / howto-install-docker-on-proxmox-4.md
Last active October 15, 2021 16:23
HOWTO: Install Docker on Proxmox 4
@mikemanger
mikemanger / humble-bundle-key-cache.user.js
Last active January 20, 2018 20:45
Caches your Humble bundle key list
// ==UserScript==
// @name Humble Bundle key cache
// @include https://www.humblebundle.com/home*
// @updateURL https://gist.githubusercontent.com/mikemanger/b5bb71c9b9a1ac70b7ad/raw
// @downloadURL https://gist.githubusercontent.com/mikemanger/b5bb71c9b9a1ac70b7ad/raw
// @grant GM_setValue
// @grant GM_getValue
// @run-at document-end
// @version 1.1.4
// ==/UserScript==
@mikemanger
mikemanger / desura-game-labeler.user.js
Last active December 6, 2016 03:15
Displays titles on your Desura collection page
// ==UserScript==
// @name Desura Game Labeler
// @include http://www.desura.com/collection
// @updateURL https://gist.githubusercontent.com/ohmanger/b057f444cd2d5205bdfc/raw
// @downloadURL https://gist.githubusercontent.com/ohmanger/b057f444cd2d5205bdfc/raw
// @require https://gist.githubusercontent.com/BrockA/2625891/raw
// @grant none
// @version 1.2.2
// ==/UserScript==
@mikemanger
mikemanger / indieroyalebundlehider.user.js
Last active December 6, 2016 03:16
Hides bundles you don't own from your Indie Royale collection page
// ==UserScript==
// @name Indie Royale Bundle Hider
// @description Hides bundles you don't own from your collection page
// @include http://www.indieroyale.com/collection
// @updateURL https://gist.githubusercontent.com/ohmanger/71334947a6f7470ef16e/raw
// @downloadURL https://gist.githubusercontent.com/ohmanger/71334947a6f7470ef16e/raw
// @grant none
// @version 1.1.1
// ==/UserScript==
@mikemanger
mikemanger / indieroyale.user.js
Last active December 6, 2016 03:10
Indie Royal Collection Labeler
// ==UserScript==
// @name Indie Royale Bundle Labeler
// @include http://www.indieroyale.com/collection
// @updateURL https://gist.githubusercontent.com/ohmanger/ca837343473033b1d9bb/raw
// @downloadURL https://gist.githubusercontent.com/ohmanger/ca837343473033b1d9bb/raw
// @grant none
// @version 1.3.1
// ==/UserScript==
function irbl_add_global_styles() {
@rogerallen
rogerallen / run.sh
Last active February 21, 2021 23:49
NVIDIA Jetson/ChrUbuntu TK1 Minecraft Commandline
#!/bin/sh
#
# script to run minecraft on ARM linux. for reference:
#
# http://rogerallen.github.io/jetson/2014/07/31/minecraft-on-jetson-tk1/
# https://devtalk.nvidia.com/default/topic/764821/embedded-systems/minecraft-on-the-jetson-tk1/
# https://gist.github.com/rogerallen/91526c9c8be1a82881e0
#
# !!! YOU MUST PERSONALIZE ALL OF THIS INFO !!!
@kyledrake
kyledrake / ferengi-plan.txt
Last active April 6, 2024 00:30
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {