Skip to content

Instantly share code, notes, and snippets.

View Zafpyr's full-sized avatar
👋

Zafpyr Zafpyr

👋
  • New Zealand
View GitHub Profile
@Prof-Bloodstone
Prof-Bloodstone / README.md
Last active June 27, 2026 21:59
Spigot restart script issues and solution

⚠️ This guide is for self-managed servers. If you rented a server and got a website through which you manage your server - you are on so called shared-hosting and this guide won't work for you.

What is spigot restart script

Spigot added a feature allowing for server to automatically restart on crashes, as well as when authorized user executes /restart command.

How it works

@emilianavt
emilianavt / BestVTuberSoftware.md
Last active August 24, 2026 21:44
Best VTuber Software

Best VTuber software

This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.

Additional explanations:

  • iPhone means that an iPhone is basically required
  • iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
  • VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
  • Tobii means that the Tobii eye tracker is supported
@jamesfreeman959
jamesfreeman959 / keepawake.ps1
Last active August 17, 2026 04:01
A very simple PowerShell script to keep a Windows PC awake and make lync think the user is active on the keyboard
# Useful references:
#
# https://superuser.com/questions/992511/emulate-a-keyboard-button-via-the-command-line
# https://ss64.com/vb/sendkeys.html
# https://social.technet.microsoft.com/Forums/windowsserver/en-US/96b339e2-e9da-4802-a66d-be619aeb21ac/execute-function-one-time-in-every-10-mins-in-windows-powershell?forum=winserverpowershell
# https://learn-powershell.net/2013/02/08/powershell-and-events-object-events/
#
# Future enhancements - use events rather than an infinite loop
$wsh = New-Object -ComObject WScript.Shell
while (1) {
@EvieePy
EvieePy / bot_example.py
Last active August 4, 2025 01:32
A Cogs Example for the rewrite version of - discord.py
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.
@OneFaced
OneFaced / UpdateArcDps.cmd
Last active April 5, 2022 16:00
GuildWars 2 ArcDps Update Script
REM <#
@echo off
copy UpdateArcDps.cmd UpdateArcDps.ps1 >NUL
PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -Command "&{Set-Alias REM Write-Host; .\UpdateArcDps.ps1}"
del UpdateArcDps.ps1
exit
REM #>
#MakeCDDVDAgain (so toxic!)
#T4 Purgatory, T1 Pop
@prionkor
prionkor / tracker.txt
Created May 20, 2017 19:08
A list of Torrent Trackers
Try this short list of super fast trackers first:
udp://tracker.openbittorrent.com:80
udp://tracker.leechers-paradise.org:6969
udp://tracker.coppersurfer.tk:6969
udp://glotorrents.pw:6969
udp://tracker.opentrackr.org:1337
http://tracker2.istole.it:60500/announce
Here is a longer list updated July 2016.
@andrewlimaza
andrewlimaza / example.html
Created December 19, 2016 11:31
Print certain div / elements using window.print()
<script>
function printDiv(divName){
var printContents = document.getElementById(divName).innerHTML;
var originalContents = document.body.innerHTML;
document.body.innerHTML = printContents;
window.print();
document.body.innerHTML = originalContents;
@bekicot
bekicot / hosts
Created December 16, 2016 16:55
List of sites to block. add it to /etc/hosts
# This MVPS HOSTS file is a free download from: #
# http://winhelp2002.mvps.org/hosts.htm #
# #
# Notes: The Operating System does not read the "#" symbol #
# You can create your own notes, after the # symbol #
# This *must* be the first line: 127.0.0.1 localhost #
# #
#**********************************************************#
# -------------- Updated: December-10-2016 --------------- #
#**********************************************************#
#!/bin/bash
#
# Found on: http://hackforums.net/showthread.php?tid=914128
#
#Autorooter and backdoor bash-script
#Hopefully this script will come to good use
#Run n tell dat home, home, homeboy!!
#by: ludwig @ SSTeam.info
clear
@mlocati
mlocati / win10colors.cmd
Last active July 22, 2026 17:02
ANSI Colors in standard Windows 10 shell
@echo off
setlocal
call :setESC
cls
echo %ESC%[101;93m STYLES %ESC%[0m
echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m
echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m
echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m