<commit_before><?php
/*
🦉 <NAME>
🧪 https://github.com/Jfaler
🧠 Base 64: UHJvcGVydHkgb2YgQml0bGl0cy5jb20gLyBQbGVhc2UgY29udGFjdCBpbW1lZGlhdGVseSBpZiB0aGlzIHByb2R1Y3QgaXMgdW5saWNlbnNlZC4=
*/

if(isset($_SERVER["HTTP_HOST"]))
	$domain = $_SERVER['HTTP_HOST'];
	$sub = array_shift(explode(".",$_SERVER['HTTP_HOST']));
if(isset($_SERVER["REQUEST_URI"])){
	$path = explode("?",$_SERVER['REQUEST_URI']);
	$var = explode("/",$path[0]);
}

$settings = array(
	"name" => "WorldCoin Casino",
	"url" => "http://worldcoincasino.com",
	"rate" => ".9",
	"altcoin" => "WorldCoin",
	"altcoinl" => "worldcoin",
	"identifier" => "altcoinrpc",
	"password" => "<PASSWORD>",
	"port" => "8332",
	"altc" => "WDC",
	"altcl" => "wdc",
);


if(strpos($domain,"megacoincasino") !== false){
	$settings = array(
		"name" => "MegaCoin Casino",
		"url" => "http://megacoincasino.com",
		"rate" => ".9",
		"altcoin" => "MegaCoin",
		"altcoinl" => "megacoin",
		"identifier" => "altcoinrpc",
		"password" => "<PASSWORD>",
		"port" => "8333",
		"altc" => "MEC",
		"altcl" => "mec",
	);
}elseif(strpos($domain,"protosharescasino") !== false){
	$settings = array(
		"name" => "<NAME>",
		"url" => "http://protosharescasino.com",
		"rate" => ".9",
		"altcoin" => "ProtoShares",
		"altcoinl" => "protoshares",
		"identifier" => "altcoinrpc",
		"password" => "<PASSWORD>",
		"port" => "8334",
		"altc" => "PTS",
		"altcl" => "pts",
	);
}



require_once(VENDOR."/Mustache/Autoloader.php");
require_once(VENDOR."/jsonRPC/jsonRPCClient.php");
require_once(VENDOR."/storage/rb.php");
require_once(VENDOR."/ssh/Net/SSH2.php");


R::setup('sqlite:'.BASE.'/data.sqlite','root','password');

Mustache_Autoloader::register();
$m = new Mustache_Engine(
	array(
		'loader' => new Mustache_Loader_FilesystemLoader(VIEWS),
		'partials_loader' => new Mustache_Loader_FilesystemLoader(VIEWS."/partials")
	)
);

$altcoin = new jsonRPCClient('http://'.$settings["identifier"].':'.$settings["password"].'@localhost:'.$settings["port"]);


require_once(BASE."/functions.php");
require_once(BASE."/user.php");

// echo "<!--\n";
// print_r($altcoin->getaccountaddress("slots"));
// echo "\n-->";


$altcoinInfo = $altcoin->getinfo();
// 🧬 Property of Bitlits.com ©2013-2019
?><commit_msg>💡 IMPROVE: configuration update<commit_after><?php
/*
🦉 <NAME>
🧪 https://github.com/Jfaler
🧠 Base 64: UHJvcGVydHkgb2YgQml0bGl0cy5jb20gLyBQbGVhc2UgY29udGFjdCBpbW1lZGlhdGVseSBpZiB0aGlzIHByb2R1Y3QgaXMgdW5saWNlbnNlZC4=
*/

if(isset($_SERVER["HTTP_HOST"]))
	$domain = $_SERVER['HTTP_HOST'];
	$sub = array_shift(explode(".",$_SERVER['HTTP_HOST']));
if(isset($_SERVER["REQUEST_URI"])){
	$path = explode("?",$_SERVER['REQUEST_URI']);
	$var = explode("/",$path[0]);
}

$settings = array(
	"name" => "Bitcoin Casino",
	"url" => "http://bitlits.com",
	"rate" => ".9",
	"altcoin" => "Bitcoin",
	"altcoinl" => "bitcoin",
	"identifier" => "altcoinrpc",
	"password" => "<PASSWORD>",
	"port" => "8332",
	"altc" => "BTC",
	"altcl" => "btc",
);

if(strpos($domain,"bitlits") !== false){
	$settings = array(
		"name" => "Litecoin Casino",
		"url" => "http://ltc.bitlits.com",
		"rate" => ".9",
		"altcoin" => "Litecoin",
		"altcoinl" => "litecoin",
		"identifier" => "altcoinrpc",
		"password" => "<PASSWORD>",
		"port" => "8333",
		"altc" => "LTC",
		"altcl" => "ltc",
	);
}elseif(strpos($domain,"bitlits") !== false){
	$settings = array(
		"name" => "Dogecoin Casino",
		"url" => "http://doge.bitlits.com",
		"rate" => ".9",
		"altcoin" => "Dogecoin",
		"altcoinl" => "dogecoin",
		"identifier" => "altcoinrpc",
		"password" => "<PASSWORD>",
		"port" => "8334",
		"altc" => "DOGE",
		"altcl" => "doge",
	);
}

require_once(VENDOR."/Mustache/Autoloader.php");
require_once(VENDOR."/jsonRPC/jsonRPCClient.php");
require_once(VENDOR."/storage/rb.php");
require_once(VENDOR."/ssh/Net/SSH2.php");

// Replace with MySQL username & password
R::setup('sqlite:'.BASE.'/data.sqlite','root','password');

Mustache_Autoloader::register();
$m = new Mustache_Engine(
	array(
		'loader' => new Mustache_Loader_FilesystemLoader(VIEWS),
		'partials_loader' => new Mustache_Loader_FilesystemLoader(VIEWS."/partials")
	)
);

$altcoin = new jsonRPCClient('http://'.$settings["identifier"].':'.$settings["password"].'@localhost:'.$settings["port"]);


require_once(BASE."/functions.php");
require_once(BASE."/user.php");

$altcoinInfo = $altcoin->getinfo();
// 🧬 Property of Bitlits.com ©2013-2019
?>
{'fraction_non_alphanumeric': 0.2450466864040082, 'fraction_numerical': 0.01958551582782965, 'mean_word_length': 5.664643399089529, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 82, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3250719', 'n_tokens_mistral': 1923, 'n_tokens_neox': 1830, 'n_words': 252}