Skip to content

Instantly share code, notes, and snippets.

View stuntguy3000's full-sized avatar
🎮
Playing Games...

Luke Anderson stuntguy3000

🎮
Playing Games...
View GitHub Profile
package be.multicu.core.util;
/**
*
* @author Codepanda
*/
public class Rating {
private static int MAX_POINTS = 20;
private static int MIN_POINTS = 4;
public static String formulate(String message, Object... vars) {
return StringUtil.colour('&', Lang.PREFIX + String.format(message, vars));
}
public static String formulateConsole(String message, Object... vars) {
return ChatColor.stripColor(Lang.PREFIX + String.format(message, vars)).replaceAll("[^\\x00-\\x7f]", "").trim().replaceAll(" +", " ");
}
public static String formulateRaw(String message, Object... vars) {
return StringUtil.colour('&', String.format(message, vars));
@stuntguy3000
stuntguy3000 / keybase.md
Created February 1, 2017 07:41
keybase.md

Keybase proof

I hereby claim:

  • I am stuntguy3000 on github.
  • I am stuntguy3000 (https://keybase.io/stuntguy3000) on keybase.
  • I have a public key whose fingerprint is 1275 19E7 123C 6A9D A3A2 E909 B170 1936 F8B7 A50F

To claim this, I am signing this object:

int led1 = 2;
int led2 = 3;
int led3 = 4;
int button = 7;
boolean enabled = true;
void setup()
{
pinMode(led1, OUTPUT);
array(1) {
[0]=>
object(Adldap\Models\Group)#16 (9) {
["exists"]=>
bool(true)
["dn":protected]=>
string(68) "CN=MARS Administrators,OU=SkyNet Groups,OU=SkyNet,DC=skynet,DC=local"
["query":protected]=>
object(Adldap\Query\Builder)#13 (14) {
["columns"]=>
@stuntguy3000
stuntguy3000 / ServerStart.ps1
Created May 22, 2019 13:47
Minecraft Server Backup n Boot Script
Add-Type -Assembly "System.IO.Compression.FileSystem"
$dir = Get-Location
$path = $dir.tostring()
while (1) {
$dateObject = Get-Date
$uniqueID = "Vanilla Survival AutoSave $($dateObject.Hour)-$($dateObject.Minute)-$($dateObject.Second ) ($($dateObject.Day)-$($dateObject.Month)-$($dateObject.Year))"
mkdir "AutoSave\$($uniqueID)"
xcopy ".\world" "AutoSave\$($uniqueID)" /e