Skip to content

Instantly share code, notes, and snippets.

View Notoh's full-sized avatar

Alex Pawelko Notoh

View GitHub Profile
@Notoh
Notoh / keybase.md
Last active December 11, 2018 02:22

Keybase proof

I hereby claim:

  • I am notoh on github.
  • I am notoh (https://keybase.io/notoh) on keybase.
  • I have a public key whose fingerprint is A7DE 1649 9E14 1D37 CB03 9B50 F728 D914 A23C 2339

To claim this, I am signing this object:

@Notoh
Notoh / RankedCvCCalc.java
Last active June 19, 2018 18:30
UPDATED NEW ALGORITHM
public class RankedCvCCalc {
public static void main(String[] args) {
double teamOne = Double.parseDouble(args[0]);
double teamTwo = Double.parseDouble(args[1]);
//Now we have the ELOs, find the round diff and calculate based on elo difference.
int rdiff = Integer.parseInt(args[2]);
int rApplyDiff = 0;
switch((int) Math.abs(rdiff)) {
case 1:
@Notoh
Notoh / Average.java
Created August 26, 2017 01:45
average program
public class Average {
public static void main(String[] args) {
int temp = 0;
int amount = 0;
for(String string : args) {
try {
temp += Integer.parseInt(string);
amount++;
} catch(Exception e) {
System.exit(0);
package io.notoh.BlindnessTest;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@Notoh
Notoh / notavirus.java
Created May 4, 2017 00:26
im bored af
import java.util.Random;
/**
* meme machine meme machine im a motherf***ing meme machine
*/
public class notavirus {
public static void main(String[] args) {
notavirus notavirus = new notavirus();
}

Keybase proof

I hereby claim:

  • I am notoh on github.
  • I am notoh (https://keybase.io/notoh) on keybase.
  • I have a public key whose fingerprint is E52E E566 C431 FAA6 E4F3 2F82 6FFA 21FF 2DA5 0390

To claim this, I am signing this object:

@Notoh
Notoh / RollingScript.cs
Last active July 19, 2022 15:11
Unity Ball Rolling/Jumping C# Script
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RollingScript : MonoBehaviour {
public float rotationSpeed = 25.0F;
public float jumpHeight = 8.0F;
private bool isFalling = false;