This file contains 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
{ | |
"fun.guitar": [ | |
1287805625, | |
814874910, | |
1186248895, | |
1196457681, | |
937928933, | |
843572627, | |
877194688, | |
843693036, |
This file contains 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
{ | |
"Command": "skin", | |
"Skins": [ | |
{ | |
"Item Shortname": "fun.guitar", | |
"Skins": [ | |
1287805625, | |
814874910, | |
1186248895, | |
1196457681, |
This file contains 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
{ | |
"Command": "skin", | |
"Skins": [ | |
{ | |
"Item Shortname": "fun.guitar", | |
"Skins": [ | |
0, | |
809801196, | |
826914904, | |
809938266, |
This file contains 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
<?php | |
/* | |
\| Route/PHPRouting101 | |
\| @author => LegitSoulja | |
\| @copyright => LegitSoulja | |
\| @license => Apache | |
\| @source => https://gist.github.com/LegitSoulja/ae1c56af0999be898dee1ec5ced6318c | |
\| @source => https://github.com/LegitSoulja/PHPRouting101 | |
*/ | |
/* |
This file contains 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
// emcc source.cpp -s USE_SDL=2 -s FULL_ES2=1 --preload-file res/img -o publish\emsripten\index.html -O2 -s ALLOW_MEMORY_GROWTH=1 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS="['png']" -std=c++11 | |
// Ported SDL2 : http://content.gpwiki.org/index.php/SDL:Tutorials:Drawing_and_Filling_Circles | |
#include <chrono> | |
#include <thread> | |
#include <future> | |
#include <SDL.h> | |
#include <stdio.h> | |
#include <string> | |
#ifdef __EMSCRIPTEN__ | |
#include <emscripten.h> |
This file contains 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
//returns an assoc array with bitRate (kbps) and sampleRate (hz) | |
function getMP3BitRateSampleRate($filename) | |
{ | |
if (!file_exists($filename)) { | |
return false; | |
} | |
$bitRates = array( | |
array(0,0,0,0,0), | |
array(32,32,32,32,8), |