I hereby claim:
- I am zeeZ on github.
- I am zeez (https://keybase.io/zeez) on keybase.
- I have a public key whose fingerprint is 05C1 7AB1 4596 A6C9 A22F 3640 A081 BC06 7D98 3E00
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import numpy | |
from PIL import Image | |
def get_matrix(material): | |
# Following Cliff Spradlin's example at http://jsfiddle.net/cliff/jQ8ga/ | |
# https://forum-en.guildwars2.com/forum/community/api/How-To-Colors-API/first#post2148826 | |
brightness = material.brightness / 128. | |
contrast = material.contrast | |
hue = (material.hue * 3.14159265358979323846) / 180. # convert to radians |
local message = "EE IS DISABLED" | |
local pauseAfterMarquee = 2 -- Marquee ends with a blank screen | |
local pauseAfterFlash = 5 -- Flash ends with the message centered | |
local pauseAfterAllOver = 0.5 -- AllOver leaves the message all over the screen | |
local marqueeSpacer = " +++ " | |
local marqueeRepeatMessage = 1 -- Marquee displays the message, then "<marqueespacer><message>" repeated n times | |
local marqueeSpeed = 0.25 -- Scroll speed of marquee |
#conf/php | |
location ~ \.php$ { | |
fastcgi_pass 127.0.0.1:9000; | |
include fastcgi_params; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
} |