Skip to content

Instantly share code, notes, and snippets.

View UpcraftLP's full-sized avatar

Up UpcraftLP

View GitHub Profile
@UpcraftLP
UpcraftLP / launch.json
Last active October 26, 2021 09:18
https://github.com/Academy-City/Railgun launch script (also includes vs code launch json)
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Railgun",
"type": "coreclr",
"request": "launch",
@UpcraftLP
UpcraftLP / download_AmongUs.bat
Last active April 15, 2021 13:23
Simple script for downloading any version of AmongUs via DepotDownloader. Simply fill in your steam user ID, App manifest ID as well as the installation path of DepotDownloader, and run the script.
@echo off
@echo Among Us Downloader v1.0.1 by UpcraftLP
@echo check https://gist.github.com/UpcraftLP/c5972d37474450f56ff8069d96f4b8b6 for updates
@echo(
:setup
:: https://github.com/SteamRE/DepotDownloader
SET "DEPOTDOWNLOADER=depotdownloader/depotdownloader.bat"
SET "STEAM_USER=INVALID"
@UpcraftLP
UpcraftLP / sombra_greeter.cmd
Last active October 21, 2022 03:10
replace the windows cmd greeter with a more appealing one. Installation instructions see below.
::disable command feedback
@echo off
::all varables are local now, and expanded at execution time ratehr than at parse time.
setlocal enabledelayedexpansion
::set text color to magenta
echo 
::clear the CMD greeter
@UpcraftLP
UpcraftLP / ClientUpdateHandler.java
Last active August 24, 2019 00:27
Using Forge's built-in update checker
package core.upcraftlp.craftdev.api.util;
import com.google.common.collect.Lists;
import core.upcraftlp.craftdev.common.CraftDevCore;
import core.upcraftlp.craftdev.config.CoreInternalConfig;
import net.minecraft.util.StringUtils;
import net.minecraftforge.common.ForgeVersion;
import net.minecraftforge.fml.common.FMLCommonHandler;
import java.util.List;