Skip to content

Instantly share code, notes, and snippets.

View Tunas1337's full-sized avatar

Andrej Tunas1337

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tunas1337 on github.
  • I am xnopyt (https://keybase.io/xnopyt) on keybase.
  • I have a public key ASDJBkpR_zIvhUZUQHco4k2Hw5PcK9Qk-idgxVhbtaLjTwo

To claim this, I am signing this object:

Summary

Moderators have the task to reduce risk to both parties during a transaction, as well as resolve stalemates and be the unbiased arbiter when a disagreement occurs. They have the final say in who receives the funds.

I try my best to be fair, as well as to not delay obvious decisions for no reason. I try to solve disputes quickly, but fairly. A rundown of the standard moderator decisions, and how I would deal with them, is below:

Scenario Result
Buyer agrees to shipping with no tracking If the vendor proves they shipped it (picture of packaged item and/or receipt, or similar item), vendor is cleared of any accusation
Tracking status doesn't change for 10 days or the package is listed as lost The buyer is refunded.
/* here we have to go back through and flush any blocks that are
still dirty. with an arched brow you astutely ask, "but how
could this happen given the above loop?" Ahhh young grasshopper
I say, the path through the cache is long and twisty and fraught
with peril. The reason it can happen is that a block can be both
cloned and dirty. The above loop would only flush the cloned half
of the data, not the main dirty block. So we have to go back
through and see if there are any blocks that are still dirty. If
there are we go back to the top of the function and do the whole
thing over. Kind of grody but it is necessary to insure the
@Tunas1337
Tunas1337 / testscriptpy.py
Last active March 24, 2022 16:33
testscript.py
from math import *
from ulab import numpy as np
import matplotlib.pyplot as plt
print("Hello world!");
x = np.arange(0, 5, 0.1)
y = np.sin(x)
#x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
#y = [1, 5, 2, 6, 78, 4, 7, 3, 6, 4, 11]
plt.plot(x,y)
@Tunas1337
Tunas1337 / benchmark.py
Last active April 21, 2022 01:19
benchmark
import kandinsky
import random
for i in range(1, 30000):
kandinsky.fill_rect(random.randint(0, 320), random.randint(0, 240), random.randint(
0, 150), random.randint(0, 170), color(randint(0, 255), randint(0, 255), randint(0, 255)))
@Tunas1337
Tunas1337 / doodlejump.py
Last active March 31, 2022 01:31
doodlejump
"""""
Doodle Man !
A doodle jump clone (eco +).
Written by Fime
08/01/2021 - V1.0
"""
from random import randint
from ion import keydown as kDwn
from time import monotonic as mntnc,sleep
from kandinsky import fill_rect as rect, draw_string as text
@Tunas1337
Tunas1337 / ruin.py
Last active March 31, 2022 02:13
ruin
from math import *
from kandinsky import fill_rect as drawRect,draw_string as drawTxt,get_pixel as getPxl
from ion import keydown as key
from time import monotonic as cTime,sleep
from random import randint as rInt,seed as rSeed
TARG_SPF=0.033333333333 #30fps
BG_COL,PL_COL,PTF_COL,NMY_COL,NMY_COL2,BLACK=(75,40,40),(240,10,10),(200,100,100),(0,150,255),(0,50,200),(0,0,0)
NAME,AUTH,START_MSG,EDITOR_URL=" R U | N "," by F | M E ","Press [OK] to start","/python/fime/ruin_lvl_maker"
class Entity():
def __init__(it,x,y,w,h,drawFonc):
@Tunas1337
Tunas1337 / sierpinski.py
Last active May 11, 2022 18:33
sierpinski
import kandinsky
def drawTriangle(points,color):
kandinsky.draw_line(int(points[0][0]),int(points[0][1]),int(points[1][0]),int(points[1][1]),color)
kandinsky.draw_line(int(points[1][0]),int(points[1][1]),int(points[2][0]),int(points[2][1]),color)
kandinsky.draw_line(int(points[2][0]),int(points[2][1]),int(points[0][0]),int(points[0][1]),color)
def getMid(p1,p2):
return ( (p1[0]+p2[0]) / 2, (p1[1] + p2[1]) / 2)
@Tunas1337
Tunas1337 / raycast.py
Last active May 12, 2022 16:05
Raytrace
import kandinsky
import math
import ion
from ion import *
global menu
menu = False
menu=False
fovy=60
global camera