Skip to content

Instantly share code, notes, and snippets.

View rhullah's full-sized avatar

Ryan Hullah rhullah

View GitHub Profile
@copygirl
copygirl / pack-instance.sh
Last active May 25, 2024 05:28
Helper scripts to create Prism Launcher compatible .zip files from packwiz Minecraft modpacks, as well as for publishing changes using rsync.
#!/bin/bash
if [[ $@ == "-h" ]] || [[ $@ == "--help" ]]; then
echo "usage: ./pack-instance.sh [output]"
echo "Creates a Prism Launcher compatible instance .zip file from your pack.toml."
echo "If 'include' directory exists, its contents are copied to the minecraft folder."
echo "If 'icon.png' exists, it's added to the pack and its instance config."
echo "Output defaults to '<name>_v<version>.zip' in the current directory."
exit 0
fi
@DusanMadar
DusanMadar / TorNoAuth.md
Last active April 17, 2024 18:59
A step-by-step guide how to use Tor without Authentication
@jessfraz
jessfraz / boxstarter.ps1
Last active April 11, 2024 16:02
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten