Skip to content

Instantly share code, notes, and snippets.

View DwarflinDeveloping's full-sized avatar

DwarfDev DwarflinDeveloping

View GitHub Profile
@DwarflinDeveloping
DwarflinDeveloping / main.py
Last active October 21, 2022 15:18
Python Wayback Machine checker
#! /usr/bin/python3
# -*- coding: utf-8 -*-
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@DwarflinDeveloping
DwarflinDeveloping / hercules-graphics-card.gpl
Created August 21, 2022 16:00
Hercules Graphics Card GIMP Palette
GIMP Palette
Name: Hercules Graphics Card
Columns: 0
#
0 0 0 $00
255 255 255 $01
@DwarflinDeveloping
DwarflinDeveloping / almost-reddit-place.gpl
Last active May 13, 2022 19:17
Color palette for GIMP with colors available in Almost Reddit Place
GIMP Palette
Name: Almost Reddit Place
Columns: 0
#
255 0 0 $00
255 135 0 $01
255 211 0 $02
255 229 180 $03
255 192 203 $04
222 255 10 $05
@DwarflinDeveloping
DwarflinDeveloping / randomCase.py
Last active April 7, 2022 16:28
Random upper-lowercase generator in Python
#!/usr/bin/python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@DwarflinDeveloping
DwarflinDeveloping / mcname.py
Created August 8, 2021 05:37
A Python script that checks if a Minecraft username is already taken
def check_if_name_is_available(username):
import requests
proxy = "https://api.mojang.com/users/profiles/minecraft/"
url = proxy + username
if requests.get(url).content == b'':
# If the username is not available, False is returned.
return False
else:
# If the username is available, True is returned.
return True