This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use JSON; | |
use warnings; | |
use strict; | |
my $EST_TIERS = 0; # Estimate tiers of existing chats | |
my $T1_INTERVAL = -1;#9; # In seconds (8000->6000 in 5-9PM => 9 sec) | |
my @duration = (0, 1, 3, 7, 15, 31); | |
sub duration { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL/SDL.h> | |
#ifdef EMSCRIPTEN | |
#include <emscripten.h> | |
// Implementation of SDL_MapRGB and SDL_MapRGBA that isn't totally broken: | |
// #define SDL_MapRGB(fmt,r,g,b) (0xff+((b)<<8)+((g)<<16)+((r)<<24)) | |
// #define SDL_MapRGBA(fmt,r,g,b,a) ((a)+((b)<<8)+((g)<<16)+((r)<<24)) | |
#endif | |
void one() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# .lessfilter - Custom rules for lesspipe | |
# | |
# GNU source-highlight | |
SRC=/usr/bin/source-highlight | |
SRCOPTS="-f esc --style-file=esc.style -i" | |
# Directory listings |