Skip to content

Instantly share code, notes, and snippets.

View Semx11's full-sized avatar
🤠
yee haw

Semx11 Semx11

🤠
yee haw
  • The Netherlands
View GitHub Profile
<?php
use Predis\Client;
function getScore() {
$client = new Client();
$data = json_decode($client->get('score'), true);
$time = time();
@Semx11
Semx11 / hypixel_forums_clickable_shields.js
Created October 22, 2017 22:42
Userscript for Tampermonkey (ECMAScript 5) that allows you to go to the first staff post in a thread by clicking on the "shield". requested by some guy called Fourth
// ==UserScript==
// @name Hypixel Forums Clickable Shields
// @namespace http://semx11.me/
// @version 0.1
// @description Click on the 'staff shield' to take you to the first staff post in a thread.
// @author Semx11
// @match https://hypixel.net/forums/*
// @grant none
// ==/UserScript==
@Semx11
Semx11 / log4j2-spamfix-forge.xml
Last active September 13, 2022 08:27
Remove Minecraft Console spam (Error Executing Task) <1.8-1.8.9> Tutorial: https://hypixel.net/threads/1026938/
<?xml version="1.0" encoding="UTF-8"?>
<!-- Author: Mojang/FML, Modified by Semx11 -->
<Configuration status="WARN" packages="com.mojang.util">
<Appenders>
<Console name="FmlSysOut" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level] [%logger]: %msg%n" />
</Console>
<Console name="SysOut" target="SYSTEM_OUT">
<RegexFilter regex="^(Error executing task|Unable to play unknown soundEvent|Item entity \d+ has no item\?!).*" onMatch="DENY" onMismatch="NEUTRAL"/>
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" />
@Semx11
Semx11 / ChatComponentBuilder.java
Created March 5, 2017 21:19
ChatComponentBuilder
package me.semx11.hypixelforums.1025107;
import net.minecraft.event.ClickEvent;
import net.minecraft.event.HoverEvent;
import net.minecraft.event.HoverEvent.Action;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatStyle;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.IChatComponent;
@Semx11
Semx11 / hosts.json
Last active November 29, 2018 10:50
Autotip
{
"hosts": [
{
"id": "download",
"url": "autotip.pro/download",
"enabled": true
},
{
"id": "totip",
"url": "http://skywars.info/test/totip.php",