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 sys | |
| with open(sys.argv[1], "r+b") as f: | |
| f.seek(0x2018) | |
| f.write("\xFF\xFF\xFF\x7F") | |
| f.close |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| import os | |
| import random | |
| import string | |
| import tempfile | |
| import binascii | |
| import sys | |
| import subprocess |
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
| #!/usr/bin/env python3 | |
| """ | |
| Simple script that implements the minecraft protocol | |
| to create a basic chat client for said game. | |
| No encryption, no online mode, no parsing of chat messages. | |
| I tried to make it as extendable as possible, so hack away. | |
| PEP8 Note: Ignored E302 (2 newlines between functions) | |
| """ |
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 shutil | |
| import os | |
| try: | |
| shutil.rmtree(os.environ["HOME"]+"/.local/share/cinnamon/applets/[email protected]/") | |
| except: | |
| pass | |
| shutil.copytree("/usr/share/cinnamon/applets/[email protected]/", os.environ["HOME"]+"/.local/share/cinnamon/applets/[email protected]/") | |
| os.chdir(os.environ["HOME"]+"/.local/share/cinnamon/applets/[email protected]/") |
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
| #!/bin/bash | |
| logo="$(tput setaf 2) | |
| .~~. .~~. | |
| '. \ ' ' / .' $(tput sgr0) _ $(tput setaf 1) | |
| .~ .~~~..~. $(tput sgr0) _ _| |_ _ $(tput setaf 1) | |
| : .~.'~'.~. : $(tput sgr0) ___ ___ ___| |_ _|_ _| ___|_|$(tput setaf 1) | |
| ~ ( ) ( ) ~ $(tput sgr0) | _| . | _| //| -_| |_ | . | |$(tput setaf 1) | |
| ( : '~'.~.'~' : ) $(tput sgr0) |_| |___|___|___|___|___| | _|_|$(tput setaf 1) | |
| ~ .~ ( ) ~. ~ $(tput sgr0) |_| $(tput setaf 1) |
NewerOlder