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
extends Node | |
var test_dict: Dictionary = {"world": 2, "hello": 1, "test" : 3} | |
func _ready(): | |
var sorted := sort_dictionary_values(test_dict) | |
print(sorted) # {"hello" : 1, "world" : 2, "test" : 3} |
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
<html> | |
<head> | |
<style> | |
#rest { | |
display: flex; | |
align-items: center; | |
justify-content: start; | |
flex-direction: row; | |
gap: 10px; |
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
#!/bin/sh | |
# Valhelsia 4 Server Startup Script | |
# Edit the below values to change JVM Arguments or Allocated RAM for the server. | |
JAVA_PATH="java" | |
ALLOCATED_RAM="4G" | |
JVM_ARGUMENTS="-XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch" | |
# Make sure this matches the Forge version of the server if you update. | |
FORGE_VERSION="1.17.1-37.0.108" |
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
// Get Discord name from bottom left corner text box | |
const name = document.getElementsByClassName("size14-e6ZScH title-eS5yk3")[0].innerHTML; | |
const tag = document.getElementsByClassName("hovered-d5PMVU")[0].innerHTML; | |
const username_full = name + tag |
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
@echo off | |
title Discord Crash Video Creator | |
color c | |
echo ========================= NOTE ========================= | |
echo This script creates videos that crash Discord/Chrome. | |
echo Hardware acceleration must be enabled for it to work. | |
echo Crash videos will get you banned in some Discord groups! | |
echo. | |
echo FFmpeg needs to be installed for this to work: |
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
#!/bin/bash | |
# https://www.reddit.com/r/SM64PC/comments/ggnghp/how_to_download_sm64pc/fqno5zw?utm_source=share&utm_medium=web2x | |
# Please use -h or --help for usage. | |
# Setup | |
TEMP=$(getopt -o o:fh --long outpath:,flush,help -- "$@") | |
eval set -- "$TEMP" | |
# Defaults |
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
@echo off | |
title Minecraft | |
echo Launching Minecraft... | |
"%CD%\bin\Minecraft.exe" --workDir "%CD%\data\.minecraft" |
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
using System.Collections.Generic; | |
using UnityEngine; | |
using ModIO; | |
using System.IO; | |
public class InitMods : MonoBehaviour | |
{ | |
public string bundleName = "modbundle"; | |
// Start is called before the first frame update |
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
#!/bin/bash | |
sudo screen -S mcs java -Xms1G -Xmx7G -d64 -jar server.jar nogui |
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
#!/bin/bash | |
########################################################### | |
# Google Cloud Minecraft server setup | |
# Written by iCrazyBlaze | |
# Last edited 07/10/2019 | |
########################################################### | |
path=/home/minecraft/server | |
backuphours=6 |
NewerOlder