Skip to content

Instantly share code, notes, and snippets.

View binarygalwalkin's full-sized avatar
⚠️
“Profanity is the one language all programmers know best.” ― Anonymous

binarygalwalkin

⚠️
“Profanity is the one language all programmers know best.” ― Anonymous
View GitHub Profile
###
#DESCRIPTION
#Tk recognizes many symbolic color names (e.g., red) when specifying colors. The symbolic names recognized by Tk and their 8-bit
#RGB values are:
#Name Red Green Blue
alice blue 240 248 255
AliceBlue 240 248 255
antique white 250 235 215
>>> import builtins
>>> dir(builtins)
['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException',
'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning',
'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError',
'ConnectionRefusedError', 'ConnectionResetError', 'DeprecationWarning',
'EOFError', 'Ellipsis', 'EnvironmentError', 'Exception', 'False',
'FileExistsError', 'FileNotFoundError', 'FloatingPointError',
'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError',
'ImportWarning', 'IndentationError', 'IndexError', 'InterruptedError',
import sys, os
import turtle as tt
screen = tt.Screen()
class Lsystem:
"Class to compile and draw lsystem with turtle"
def __init__(self, save_every_frame=False,
speed=0):
self.name = ''
@binarygalwalkin
binarygalwalkin / ascii.py
Created February 28, 2019 00:04
ascii() returns a string containing a printable representation of an object and escape the non-ASCII characters in the string using \x, \u or \U escapes.
ascii("¥")
#Output : '\xa5'
ascii("µ")
#Output : '\xb5'
ascii("Ë")
#Output : '\xcb'

"The question mark is originally from an Egyptian hieroglyph that signified a cat walking away.

You know, it's the tail. And that symbol meant - well, whatever it is when they're ignoring you."

~ Christopher Walken

@binarygalwalkin
binarygalwalkin / license-badges.md
Created April 17, 2019 22:34 — forked from lukas-h/license-badges.md
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes