Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
I'm coooooooooool

simon511000 simon511000

😎
I'm coooooooooool
View GitHub Profile
View core.plg.php
<?php defined('FLATBOARD') or die('Flatboard Community.');
/**
* Core: include Infinite Ajax Scroll, font awesome 4.7, category icon picker and mini colors JS
*
* @author Frédéric K.
* @copyright (c) 2015-2019
* @license http://opensource.org/licenses/MIT
* @package FlatBoard
* @version 2.0
* @update 2018-12-23
View BandCamp.js
var playback = false,
songTitle,
songAuthors,
playbackBoolean,
smallImageKey,
smallImageText
/**
* Handles Media Key controls
View fr_fr.json
{
"item.vrc.note_block_minecart": "Wagonnet à bloc musical",
"block.vrc.minecart_elevator": "Wagonnet ascenseur",
"slection.vrc.pitch": "Pitch",
"block.vrc.bumper": "Tempont d'arrêt",
"block.vrc.super_powered_rail": "§6Rails de propultion+"
}
View index.php
<?php
/*************************************
* BY : simon511000 (simon511000.fr) *
*************************************/
$config = json_decode(file_get_contents("config.json"),true);
if(isset($_GET["plugin/appList"])&&isset($_POST["lang"])){
$start = microtime(true);
function LNG($value,$pluginFile){
$lang = "en";
if(is_dir("plugins/unzip/".basename($pluginFile,".zip")."/i18n")){
View translate.php
<?php
error_reporting(E_ALL);
$advancements = "datapack/data/mechanization/advancements";
function translate($dir,$prefix2=""){
$prefix = "mech.advancements.";
$dir2 = opendir($dir);
while($file = readdir($dir2)){
if($file != '.' && $file != '..' && strstr($file,".json"))
{
$en = json_decode(file_get_contents("ressourcepack/assets/mechanization/lang/en_us.json"),true);