Skip to content

Instantly share code, notes, and snippets.

@Zeryther
Zeryther / remove-promoted-trends.js
Created Sep 28, 2019
Remove promoted trending topics on Twitter
View remove-promoted-trends.js
@Zeryther
Zeryther / script.js
Created Aug 24, 2019
YouTube Disable Polymer Greasemonkey
View script.js
// ==UserScript==
// @name YouTube Classic for 2018 (Polymer Disable)
// @namespace https://github.com/davidbailey95
// @version 0.2.0
// @description Redirect YouTube pages to the classic design
// @author /u/ndogw and davidbailey95
// @match *://www.youtube.com/*
// @exclude *://www.youtube.com/embed/*
// @run-at document-start
// @grant none
@Zeryther
Zeryther / wslgit.bat
Created Jun 17, 2019
Use this as a replacement for the git executable in JetBrains IDEs to run Git from WSL - modified version of https://stackoverflow.com/a/43878654/4117923
View wslgit.bat
@echo off
setlocal enabledelayedexpansion
set command=%*
set find=C:\Users\%USERNAME%\AppData\Local\Temp\git-commit-msg-.txt
set replace=/mnt/c/Users/%USERNAME%/AppData/Local/Temp/git-commit-msg-.txt
call set command=%%command:!find!=!replace!%%
echo | C:\Windows\System32\wsl.exe cd "`wslpath '%cd%'`" && git %command%
@Zeryther
Zeryther / keybase.md
Created Sep 8, 2016
Keybase.io verification
View keybase.md

Keybase proof

I hereby claim:

  • I am Zeryther on github.
  • I am zeryther (https://keybase.io/zeryther) on keybase.
  • I have a public key whose fingerprint is A0FC 34DE 072B 3860 2808 8DA9 0E64 E2F6 AF08 9433

To claim this, I am signing this object:

@Zeryther
Zeryther / ForceEnd.java
Last active Oct 8, 2015 — forked from aadnk/ForceEnd.java
Force the end credits on an unsuspecting player.
View ForceEnd.java
package com.comphenix.example;
import net.minecraft.server.v1_8_R3.EntityPlayer;
import net.minecraft.server.v1_8_R3.PacketPlayOutGameStateChange;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftPlayer;
import org.bukkit.entity.Player;
You can’t perform that action at this time.