Skip to content

Instantly share code, notes, and snippets.

View skill3472's full-sized avatar

Maksymilian Tym skill3472

View GitHub Profile
@skill3472
skill3472 / Program.cs
Last active November 23, 2024 12:19
Operations on matrixes in C# .NET
public class Program {
public static void Main(string[] args)
{
int[,] matrix1 = GetRandomMatrixOfSize(8, 8);
int[,] matrix2 = GetRandomMatrixOfSize(8, 8);
if(args.Length > 0)
{
switch(args[0])
{
case "add":

Keybase proof

I hereby claim:

  • I am skill3472 on github.
  • I am skill3472 (https://keybase.io/skill3472) on keybase.
  • I have a public key ASDi-YL8Q8n3J4Ytx7Osex575XSCIWRzd8C3RCaUxF8Ywwo

To claim this, I am signing this object:

@skill3472
skill3472 / fixlol.sh
Created May 11, 2022 08:51
A script that fixes League of Legends problem with starting on linux
#!/bin/sh
# A little script fixing LOL anticheat problems.
sudo sysctl -w abi.vsyscall32=0
@skill3472
skill3472 / AudioManager.cs
Created August 25, 2021 12:39
Audio manager for Unity C# (Pretty sure this is stolen from Brackeys)
using UnityEngine.Audio;
using System;
using UnityEngine;
public class AudioManager : MonoBehaviour
{
public static AudioManager instance;
public AudioMixerGroup mixerGroup;
private Quaternion rotation;
void Awake()
{
rotation = transform.rotation;
}
void LateUpdate()
{
transform.rotation = rotation;
}
@skill3472
skill3472 / scheme.cs
Created August 23, 2021 15:10
Get the current control scheme
GetComponent<PlayerInput>().currentControlScheme