This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install latest go: https://go.dev/doc/install | |
2. Build & install latest podman from source (including conmon & crun): https://podman.io/docs/installation#build-and-run-dependencies | |
3. Create the iSponsorblockTV config file: https://github.com/dmunozv04/iSponsorBlockTV/wiki/Installation#step-1-create-a-config-file | |
4. Use the podman quadlet instructions to set up the daemon: https://github.com/dmunozv04/iSponsorBlockTV/wiki/Installation#option-3-quadlet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install xcodes | |
brew install robotsandpencils/made/xcodes aria2 | |
# install & select latest version of xcode | |
xcodes list | awk 'END{system("xcodes install " $1"; xcodes select " $1)}' | |
# install x86-64 homebrew | |
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# switch to x86_64 homebrew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update system | |
$ sudo apt update && sudo apt upgrade | |
# uninstall old node (v10?) | |
$ sudo apt remove nodejs npm -y | |
# install nvm | |
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash | |
# use 'unofficial builds' in nvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Manually build the image locally with the correct tag, then push it | |
2. Find the newly created package at https://github.com/orgs/[ORG]/packages | |
3. Link it with the right repository | |
4. Go to https://github.com/[ORG]/[REPO]/pkgs/container/[PACKAGE] and link it with the right repository action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download 'Command_Line_Tools_for_Xcode_12.5.1.dmg' from Apple's developer portal: | |
# https://developer.apple.com/download/all/?q=xcode | |
# mount 'Command_Line_Tools_for_Xcode_12.5.1.dmg', then unpack it | |
❯ pkgutil --expand-full /Volumes/Command\ Line\ Developer\ Tools/Command\ Line\ Tools.pkg /tmp/CLTools | |
# rename existing CLTools v13 | |
❯ sudo mv /Library/Developer/CommandLineTools /Library/Developer/CommandLineTools@13 | |
# move CLTools v12 into place |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install xpm using npm | |
$ npm install --global xpm@latest | |
# Install xPack distribution of Arm toolchain with Apple M1 Silicon support | |
$ xpm install @xpack-dev-tools/[email protected] | |
# Add Arm toolchain binaries to PATH in your .bashrc or .zshrc | |
$ echo 'export PATH="$HOME/Library/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.3.1/.content/bin:$PATH"' >> ~/.bashrc | |
$ source ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"platforms": [ | |
{ | |
"name": "Broadlink RM", | |
"platform": "BroadlinkRM", | |
"hideScanFrequencyButton": true, | |
"hideLearnButton": false, | |
"hideWelcomeMessage": true, | |
"accessories": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions for fresh install | |
$ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume --daemon | |
# reboot | |
$ source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh | |
$ echo 'export NIX_PATH=darwin-config=$HOME/.nixpkgs/darwin-configuration.nix:$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH' | tee -a ~/.zshrc | |
$ echo 'source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh' | tee -a ~/.zshrc | |
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable | |
$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin | |
$ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/huin/goupnp" | |
"github.com/huin/goupnp/soap" | |
) | |
func main() { | |
devices, err := goupnp.DiscoverDevices("urn:Belkin:device:controllee") |
NewerOlder