I hereby claim:
- I am dbader on github.
- I am dbader (https://keybase.io/dbader) on keybase.
- I have a public key whose fingerprint is 12AC D215 8A24 4231 3896 2DC4 9620 F0F0 BD62 F215
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import concurrent.futures | |
import functools | |
import operator | |
import time | |
from pprint import pprint | |
TEXT = """Lorem ipsum dolor sit amet, consectetuer adipiscing elit. | |
Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. | |
Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. | |
Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris |
# LetterStart python script | |
import uno, datetime | |
#from datetime import date | |
# a UNO struct later needed to create a document | |
############################################################################### | |
def createDoc(): | |
"""creates a new writer document and prints my name and address at the top right """ |
from abc import ABCMeta, abstractmethod | |
class Base(metaclass=ABCMeta): | |
def __init__(self): | |
self.my_attrib = 42 | |
@abstractmethod | |
def foo(self): | |
pass |
var canvas = document.createElement('canvas'); | |
var ctx = canvas.getContext('2d'); | |
canvas.width = 16; | |
canvas.height = 16; | |
ctx.fillStyle = '#F00'; // <- Pick a colour. | |
ctx.fillRect(0, 0, canvas.width, canvas.height); | |
var favicon = document.getElementsByTagName('link')[0]; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<plaintext> | |
</head> | |
<body> | |
<!-- | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script>document.write('<plaintext>');</script> | |
</head> | |
<body> | |
<!-- | |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Needs freetype-py>=1.0 | |
# For more info see: | |
# http://dbader.org/blog/monochrome-font-rendering-with-freetype-and-python | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2013 Daniel Bader (http://dbader.org) |