Gist for Ubuntu and Debian users
nginx 1.16.1 + push stream module latest
apt-get update -y \
<?php | |
define('EPOCH', 1414213562373); | |
define('NUMWORKERBITS', 10); | |
define('NUMSEQUENCEBITS', 12); | |
define('MAXWORKERID', (-1 ^ (-1 << NUMWORKERBITS))); | |
define('MAXSEQUENCE', (-1 ^ (-1 << NUMSEQUENCEBITS))); | |
class Snowflake |