Skip to content

Instantly share code, notes, and snippets.

View Tutorgaming's full-sized avatar
🤖
Beep Boop Beep Beep

iTUTOR Tutorgaming

🤖
Beep Boop Beep Beep
View GitHub Profile
@zkarcher
zkarcher / wave_zka.py
Last active December 3, 2021 19:37
openrazer: Subtle keyboard rainbow, using python3 API
import colorsys
import random
from time import sleep
from openrazer.client import DeviceManager
from openrazer.client import constants as razer_constants
FPS = 30
WAVE_SPEED = 0.0025
WAVE_REPEAT = 0.9 # How many waves fit across device
@jhjguxin
jhjguxin / nginx-403-forbidden-error-hosting-in-user-home-directory.md
Created August 12, 2013 05:40
nginx 403 forbidden error when server static file under user home directory
@conorbuck
conorbuck / angle-between-points.js
Created May 5, 2012 22:51
JavaScript: Find the angle between two points
var p1 = {
x: 20,
y: 20
};
var p2 = {
x: 40,
y: 40
};