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
livecoin: | |
enabled: False | |
apikey: LIVECOINAPIKEY | |
sign: LIVECOINSIG | |
max_bid: 0.00011 | |
poloniex: | |
enabled: False | |
apikey: POLONIEXAPIKEY | |
sign: POLONIEXSIG | |
binance: |
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
//EmulationStation, a graphical front-end for ROM browsing. Created by Alec "Aloshi" Lofquist. | |
//http://www.aloshi.com | |
#include <SDL.h> | |
#include <iostream> | |
#include <iomanip> | |
#include "Renderer.h" | |
#include "views/ViewController.h" | |
#include "SystemData.h" | |
#include <boost/filesystem.hpp> |
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
logfile = open(logfilename, 'rb') | |
# read in the length of this files records | |
headerparts = struct.unpack("2l", logfile.read(8)) | |
headerlen = headerparts[1] - headerparts[0] | |
header = struct.unpack(str(headerlen)+"l", logfile.read(headerlen*4)) | |
# header * 4 bytes for each and another 8 bytes for the header size | |
offset = headerlen*4+8 | |
for headerpos in range(len(header)): | |
if headerpos == 0: | |
startbyte = offset |
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
$doc = new stdClass(); | |
$doc->type = "battle"; | |
$doc->charactername = $record["charactername"]; | |
$doc->monster = $record["monster"]; | |
$doc->datetime = $record["datetime"]; | |
$doc->monstermiss = $record["monstermiss"]; | |
$doc->othermonstermiss = $record["othermonstermiss"]; | |
$doc->damage = $record["damage"]; | |
$doc->miss = $record["miss"]; | |
$doc->hitdamage = $record["hitdamage"]; |