Skip to content

Instantly share code, notes, and snippets.

View AdamG100's full-sized avatar
🎯
Focusing

Adam Gliori AdamG100

🎯
Focusing
View GitHub Profile
@AdamG100
AdamG100 / bedrock.py
Created February 22, 2024 08:51
Minecraft bedrock Download
import re, urllib2, json
import clr
clr.AddReference('TCAdmin.GameHosting.SDK')
from TCAdmin.GameHosting.SDK.Objects import GameUpdate, GameScript, ServiceEvent
gameID = 193
scripts = [
{
"Name": "Backup server.properties",
"Event": ServiceEvent.BeforeUpdateInstall,
[ValheimPlus]
; Change false to true to enable this section. https://valheim.plus/documentation/list#ValheimPlus
enabled = true
; Display the Valheim Plus logo in the main menu
mainMenuLogo = true
; Display the advertisement of our server hosting partner on the server browser menu
serverBrowserAdvertisement = false
@AdamG100
AdamG100 / register-form.tpl
Created November 8, 2022 19:13
TMVAULT REGISTER FORM
{if file_exists("templates/$template/includes/login/overwrites/register-form.tpl")}
{include file="{$template}/includes/login/overwrites/register-form.tpl"}
{else}
{if in_array('state', $optionalFields)}
<script>
var statesTab = 10;
var stateNotRequired = true;
</script>
{/if}
<script type="text/javascript" src="{$BASE_PATH_JS}/StatesDropdown.js"></script>
@AdamG100
AdamG100 / DNS Prefetch domains
Created July 21, 2020 10:15 — forked from lukecav/DNS Prefetch domains
WP Rocket - Advanced Options Prefetch DNS requests
//maps.googleapis.com
//maps.gstatic.com
//fonts.googleapis.com
//fonts.gstatic.com
//ajax.googleapis.com
//apis.google.com
//google-analytics.com
//www.google-analytics.com
//ssl.google-analytics.com
//youtube.com