Skip to content

Instantly share code, notes, and snippets.

View Sargeanthost's full-sized avatar

Carlos Sargeanthost

  • California
View GitHub Profile
@Sargeanthost
Sargeanthost / Constants.java
Last active February 24, 2021 20:53
constants for 4123
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
package frc.robot;
import edu.wpi.first.wpilibj.controller.SimpleMotorFeedforward;
@Sargeanthost
Sargeanthost / nginx.conf
Last active March 7, 2021 21:45 — forked from kilhage/nginx-gzip.conf
gzip compression settings
#https://nginx.org/en/docs/http/ngx_http_gzip_module.html
gzip on;
gzip_comp_level 5;
gzip_vary on;
gzip_disable “msie6”;
gzip_proxied expired no-cache no-store private auth;
gzip_types
text/css
text/plain
text/xml
@Sargeanthost
Sargeanthost / options-ssl-nginx.conf
Created March 7, 2021 22:22
SSL options and headers for A+ score on ssllabs.com. (Stapling only works when it's in a sites config for me)
ssl_session_cache shared:le_nginx_SSL:1m;
ssl_session_timeout 1d;
ssl_session_tickets off;
#important
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_ecdh_curve secp384r1;
@Sargeanthost
Sargeanthost / remove_overlay.ps1
Created March 23, 2021 15:19
Removes the Xbox game-bar overlay
Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage
@Sargeanthost
Sargeanthost / dream_admits_to_cheating
Created May 31, 2021 01:03
[REUPLOAD]Dream admits to using disallowed modifications
I feel like this is something important to talk about, I’ve been very withheld for a while about it all and just decided it’d probably be best to just let it out so I can feel relaxed a little more I guess. This will be a very long read i’m sure, I’m writing this in my bath at 4am on my phone so forgive any mistakes or confusing bits.
Back in October/November of 2020, I for the first time since when 1.16 had just released I decided to try and speedrun 1.16 some to get a decent time. My goal was to get a time faster than 25 minutes, which was a good time and fairly obtainable at the time for me without spending months speedrunning. We had or were just about to switch manhunt to 1.16 and I wanted to get practice for that, and then speedrun for a better 1.15 time, because my record on 1.15 had been beaten.
After running for about a week, I got a 19 minute time (that arguably could have been lower, ironically enough due to bad luck). I started running 1.15 directly after, and a few day’s later there were
MA- p.185
CS- p.151
Freshman
*Final*
A
- CS 1101
- MA 1021
https://www.curseforge.com/minecraft/mc-mods/dungeon-crawl
@Sargeanthost
Sargeanthost / thing.zs
Created January 8, 2023 04:20
no issues with script
import crafttweaker.api.loot.condition.LootTableIdLootCondition;
import crafttweaker.api.loot.condition.LootConditions;
import crafttweaker.api.loot.modifier.CommonLootModifiers;
import crafttweaker.api.util.random.Percentaged;
import crafttweaker.api.util.math.Random;
import crafttweaker.api.item.IItemStack;
loot.modifiers.register("stage_1",
LootConditions.only(LootTableIdLootCondition.create(<resource:dungeoncrawl:chests/stage_1>)),
(drops, context) =>{
[19:41:15] [main/INFO]: ModLauncher running: args [--username, girraiffe, --version, forge-40.2.0, --gameDir, D:\Curse\minecraft\Instances\TerraFirmaCraft+ 1.18.2, --assetsDir, D:\Curse\minecraft\Install\assets, --assetIndex, 1.18, --uuid, 9c5e9100617e43b99b6decf6e7fc0f32, --accessToken, ????????, --clientId, YjNiZDYwOGMtYWQyZS00YzU4LWI2ZTktZjY4MzIwMWVmOTA1, --xuid, 2535405501288712, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 40.2.0, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[19:41:15] [main/INFO]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft
[19:41:16] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/D:/Curse/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT
[19:41:17] [main/INFO]: Found mod file AmbientSounds_FORGE_v5.0.16_mc1.18.2.jar of type MOD with provid