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
@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

"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 / 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'
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 = ''
>>> 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',
###
#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
/*! Raven.js 3.2.0 (aeac6ce) | github.com/getsentry/raven-js */
!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();
else if("function"==typeof define&&define.amd)define([],a);
else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?
self:this,b.Raven=a()}}(function(){return function a(b,c,d){function e(g,h)
{if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new
Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0]
.call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}
for(var f="function"==typeof require&&require,g=0;d.length>g;g++)e(d[g]);return e}({1:[function(a,b,c)
{"use strict";function d(a){this.name="RavenConfigError",this.message=a}d.prototype=new Error,d.prototype.constructor=d,b.exports=d}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.