Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am AlexCheese on github.
  • I am alex_cheese (https://keybase.io/alex_cheese) on keybase.
  • I have a public key whose fingerprint is 328B 4931 FB9E B09C B8BB 92A8 7425 FDB6 5EE8 A948

To claim this, I am signing this object:

@AlexCheese
AlexCheese / ComboCalculator.cs
Created August 28, 2019 01:08
Simple program to determine the number of ticks it takes to open a combo lock
using System;
namespace Yeet
{
public class Program
{
static void Main(string[] args)
{
while (true)
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Factorial
{
class Program
{
function casefilter(input) {
let inparray = input.split(""); // creates array of chars
let lower = ""; // string of lowercase characters
let upper = ""; // string of uppercase characters
for (let i = 0; i < inparray.length; i++) {
let str = inparray[i].toString();
let fixedstr = str.toUpperCase();
if (str == " ") { // leave spaces separating words
upper += str;
lower += str;