This file contains hidden or 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
import socket | |
import struct | |
def get_info(host='localhost', port=25565): | |
#Set up our socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((host, port)) | |
#Send 0xFE: Server list ping | |
s.send('\xfe\x01') |
This file contains hidden or 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
/* | |
aprilFools.css | |
Written by Wes Bos | |
I assume no responsibility for angry co-workers or lost productivity | |
Put these CSS definitons into your co-workers Custom.css file. | |
They will be applied to every website they visit as well as their developer tools. | |
*/ |