I hereby claim:
- I am zyuiop on github.
- I am zyuiop (https://keybase.io/zyuiop) on keybase.
- I have a public key whose fingerprint is 40E6 B2FB E32E AC41 8E30 E11D 24D2 39F0 A61B 9EEA
To claim this, I am signing this object:
import time | |
import mcstatus | |
import json | |
from os import path | |
import shutil | |
import sys | |
import datetime | |
PATH = path.dirname(path.abspath(__file__)) | |
PINGS_PATH = PATH + "/pings.txt" |
import java.util.Arrays; | |
import java.util.List; | |
/** | |
* @author zyuiop | |
*/ | |
public class TetraHexaDecaunalInteger { | |
private int[] factors; | |
private List<Character> characters = Arrays.asList('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F'); |
#!/bin/bash | |
fileName=$1 | |
targetName=$(date +%s | sha256sum | base64 | head -c 8) | |
file=$(basename "$fileName") | |
extension="${file##*.}" | |
scp $fileName vps:~/screenshots/$targetName"."$extension | |
echo "http://i.zyuiop.net/"$targetName"."$extension | xclip -selection c | |
echo "Uploaded "$targetName"."$extension" ! URL copied to clipboard." |
import java.util.Random; | |
import java.util.Scanner; | |
/** | |
* @author zyuiop | |
*/ | |
public class Main { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
System.out.print("Map seed : "); |
import java.util.*; | |
/** | |
* @author zyuiop | |
*/ | |
public class Main { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
System.out.print("Map seed : "); | |
long seed = scanner.nextLong(); |
word = input("Expression > ") | |
step = int(input("Decallage > ")) | |
word = word[::-1] # Reverse letters order | |
def decryptLetter(letter, key): | |
pos = ord(letter) | |
upBound, downBound = 0, 0 | |
if pos >= 97 and pos <= 122: |
def createServer(gametype, maps, scoreLimit, basePort, portId): | |
# Main | |
hasRotation = len(maps) > 1 | |
filename = "" | |
conf = "sv_name zyuiop.net - Public " | |
motd = "zyuiop's public Teeworlds servers - " | |
if hasRotation: | |
conf += gametype.upper() | |
filename = gametype |
I hereby claim:
To claim this, I am signing this object:
import random, math, time | |
def multiply(n, k): | |
result = 0 | |
if k & 1 == 1: | |
result = n | |
for i in range(1, math.ceil(math.log(k, 2))): # log(k) | |
if (k >> i) & 1 == 1: # O(1) shift | |
result = result + (n << (i)) # O(log(n)) [summation] + O(1) [shift] |
package ch.epfl.alpano.gui; | |
import ch.epfl.alpano.Math2; | |
import ch.epfl.alpano.PanoramaComputer; | |
import ch.epfl.alpano.PanoramaParameters; | |
import ch.epfl.alpano.dem.ContinuousElevationModel; | |
import ch.epfl.alpano.dem.ElevationProfile; | |
import ch.epfl.alpano.summit.Summit; | |
import javafx.scene.Node; | |
import javafx.scene.shape.Line; |