Skip to content

Instantly share code, notes, and snippets.

View jaredswarts55's full-sized avatar

Jared Swarts jaredswarts55

  • Monkeyjump Labs
  • Otsego, MN
View GitHub Profile
@jaredswarts55
jaredswarts55 / unobfuscated.cpp
Created August 18, 2023 16:16
An Unobfuscated form of the emoji code
#include <iostream>
#include <string>
#include <vector>
#include <memory>
enum 🐿 {🐵, 🙈, 🙉, 🙊};
int getRandom() { return std::rand(); }
bool getFalse() { return false; }
  1. Download the Town of us Mod

Unzip the contents of that mod to the directory that contains the Among Us exectuble. For me it is here: D:\SteamLibrary\steamapps\common\Among Us

You can find that path by right clicking on Among us in steam. Going to properties. Then the Local Files tab. Hit browse. The folder that opens in explorer is the one that needs the Mods files extracted directly into it.

  1. Download the Impostor Region Patching Tool

WSL 2 Setup

On the wsl 2 run

sudo apt update
sudo apt install xubuntu-desktop

I received an error about blueman, the bluetooth manager? and ignored it.

@jaredswarts55
jaredswarts55 / commandHandler.tt
Last active January 2, 2019 19:22
Scaffolding Script with an example template
<#@template language="c#" hostspecific="true"#>
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Serilog;
using SteamChain.Common;
using SteamChain.Common.Models.Functional;
using SteamChain.Core.Events.<#= this.Host.ResolveParameterValue("", "", "groupName") #>.Models.Requests;
@jaredswarts55
jaredswarts55 / Example.cs
Created December 27, 2018 22:21
Example
(
_destinationBankRoutingNumber,
_originatingCompanyId,
_destinationBankName,
_originatingCompanyName,
_referenceCode,
_blockingFactor) =
Option.GetValueOrThrow(
_configurationService.GetSetting("SteamChain.ACH.BankRoutingNumber"),
_configurationService.GetSetting("SteamChain.ACH.OriginatingCompanyId"),

Keybase proof

I hereby claim:

  • I am jaredswarts55 on github.
  • I am jswarts (https://keybase.io/jswarts) on keybase.
  • I have a public key whose fingerprint is 673C 8547 ECC7 DC58 1B31 A279 A266 5107 B44E 593E

To claim this, I am signing this object:

@jaredswarts55
jaredswarts55 / gist:248ef0e68206a323ab90
Created May 12, 2015 17:31
net-newsletter-issue-2 - Powershell Solution
function Get-SHA1($text)
{
$hasher = new-object System.Security.Cryptography.SHA256Managed
$toHash = [System.Text.Encoding]::UTF8.GetBytes($text)
$hashByteArray = $hasher.ComputeHash($toHash)
foreach($byte in $hashByteArray)
{
$res += $byte.ToString("x2")
}
return $res;
@jaredswarts55
jaredswarts55 / 0_reuse_code.js
Created August 15, 2014 18:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jaredswarts55
jaredswarts55 / ko.automapper.js
Created March 27, 2014 16:35
Automapping Models
/*
The MIT License (MIT)
Copyright (c) 2014, Jonathan Dexter, Jared Swarts
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@jaredswarts55
jaredswarts55 / gist:8286013
Last active January 2, 2016 09:49
New Web Dev Box using BoxStarter
Enable-RemoteDesktop
cinst VisualStudio2013Professional -InstallArguments WebTools
cinst mssqlserver2012express
cinst 7zip
cinst 7zip.commandline
cinst ConEmu
cinst Firefox
cinst GoogleChrome