Spigot added a feature allowing for server to automatically restart on crashes,
as well as when authorized user executes /restart
command.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>activister</title> | |
<link rel="shortcut icon" type="image/x-icon" href="https://bignutty.gitlab.io/webstorage0/assets/93e392f98df122bc1c65801ddfd49472.ico"> | |
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> | |
</head> | |
<body> | |
<style>*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}*>p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}*>img{width:100%;max-width:100%;pointer-events: none;}@media (prefers-color-scheme:dark){html{background-color:#131418;color:#dfdfdf}a{color:#fff}a:visited{color:#cc85e6}ins{color:#999}}</style> | |
<style>p>img{border-radius:24px;}.links{display:flex;justify-content:space-between;}.link{display:flex;gap:5px}.link img{width:1.5em}</style> |
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
{ | |
"achievement_spawned_island_types" : "player_data.achievement_spawned_island_types", | |
"active_effects" : "player_data.active_effects", | |
"autopet" : "pets_data.autopet", | |
"backpack_contents" : "inventory.backpack_contents", | |
"backpack_icons" : "inventory.backpack_icons", | |
"bank_account" : "profile.bank_account", | |
"bank_history" : "profile.bank_history", | |
"candy_inventory_contents" : "shared_inventory.candy_inventory_contents", | |
"coin_purse" : "currencies.coin_purse", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
<title>Rebane's Discord Colored Text Generator</title> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Rebane's Discord Colored Text Generator"> | |
<meta name="author" content="rebane2001"> | |
<style> | |
/* |
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
/* | |
* Copyright (c) 2016. Starlis LLC / dba Empire Minecraft | |
* | |
* This source code is proprietary software and must not be redistributed without Starlis LLC's approval | |
* | |
*/ | |
package com.empireminecraft.util.serialization; | |
import com.empireminecraft.util.ItemUtil; |
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
#!/usr/bin/env bash | |
# NOTE: We use bash for better readability and error handling here | |
# but it's not hard to make it work with regular shell | |
set -euo pipefail | |
# SETTINGS | |
# Path to file used to communicate from restart script | |
readonly restart_flag='.restart_flag' | |
# How long (in seconds) to wait before restarting | |
readonly restart_delay=10 |
Some micro-optimizations I tested. These were all ran on the same hardware, your timings may differ but the result should always be the same.
final String s = "This is some string because I'm crazy and need to micro-optimise ok? STOP JUDGING ME!";
TestTimer.testSnippet(1_000_000,
() -> { boolean found = s.indexOf('-') != -1; },
() -> { boolean found = s.contains("-"); }
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
var every = 1000 * 3 | |
var statements = [ | |
"hi", | |
"cool" | |
] | |
var used = {} | |
var element | |
document.addEventListener("DOMContentLoaded", function () { |
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
: ${1?'Please specify an input resource pack in the same directory as the script (e.g. ./merge.sh MyResourcePack.zip)'} | |
# ensure jq is installed | |
if command jq --version 2>/dev/null | grep -q "1.6"; then | |
printf "\e[32m[+]\e[m \e[37mDependency jq satisfied\e[m\n" | |
echo | |
else | |
echo "Dependency jq-1.6 is not satisfied" | |
echo "You must install jq-1.6 before proceeding" | |
echo "See https://stedolan.github.io/jq/download/" |
NewerOlder