Skip to content

Instantly share code, notes, and snippets.

@Graicc
Graicc / userChrome.css
Last active December 1, 2024 04:56
Firefox hide tab bar custom CSS
/* Display the tab bar and search bar in the same line */
#navigator-toolbox {
display: flex;
flex-flow: row wrap;
}
#TabsToolbar {
/* Move the tab bar to the end */
order: 1;
/* Make it shrink to the right size */
@Graicc
Graicc / auto-build.yml
Last active March 17, 2024 14:29
Github Actions auto build script for Gorilla Tag Mods
#
# This gist is obsolete!
# Please use https://github.com/Gorilla-Tag-Modding-Group/gorilla-tag-build-tools instead
#
# https://gist.github.com/Graicc/8ca16f70e9603e9975d99c4a607ff77a
name: Auto Build
on:
workflow_dispatch:
push:
@Graicc
Graicc / MakeRelease.ps1
Last active January 9, 2022 01:09
Gorilla Tag MMM compatible release builder
# https://gist.github.com/Graicc/ad26b80ac1a733edc254053fdf012ffe
# Needs to be at least that version, or mmm can't read the archive
#Requires -Modules @{ ModuleName="Microsoft.PowerShell.Archive"; ModuleVersion="1.2.3" }
$MyInvocation.MyCommand.Path | Split-Path | Push-Location # Run from this script's directory
$Name = (ls *.csproj).BaseName
dotnet build -c Release
mkdir BepInEx\plugins\$Name
cp bin\Release\netstandard2.0\$Name.dll BepInEx\plugins\$Name\
Compress-Archive .\BepInEx\ $Name-v
rmdir .\BepInEx\ -Recurse