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
| big_endian | |
| section "Header" | |
| ascii 4 ttcTag | |
| set majorVersion [uint16 "majorVersion"] | |
| uint16 minorVersion | |
| set numFonts [uint32 "Number of Fonts"] |
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
| { | |
| "breadcrumbs.filePath": "off", | |
| "diffEditor.maxComputationTime": 0, | |
| "editor.acceptSuggestionOnCommitCharacter": false, | |
| "editor.codeLens": true, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.fontFamily": "Sudo Var, Triplicate T4c, Conta Mono, 'Intel One Mono', CorpidMono, Menlo, Monaco, 'Courier New', monospace", | |
| "editor.fontVariations": "'wght' 340, 'wdth' 98, 'YTDE' -231, 'ital' 0, 'XTRA' 366, 'XTAB' 538", | |
| "editor.fontLigatures": "'calt' 1, 'CODE' 0, 'lnum' 1, 'zero' 0, 'cv01' 0, 'cv02' 0, 'cv03' 0, 'cv04' 0, 'cv05' 0, 'cv06' 0, 'cv07' 0, 'cv08' 0, 'cv09' 1, 'ss04' 0, 'kern' 0", | |
| "editor.fontSize": 13, |
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
| from random import choices | |
| adjectives = """abandoned | |
| able | |
| absolute | |
| adorable | |
| adventurous | |
| academic | |
| acceptable | |
| acclaimed |
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 codecs | |
| def afdko_escape_handler(exc): | |
| if not isinstance(exc, UnicodeEncodeError): | |
| raise TypeError("don't know how to handle %r" % exc) | |
| result = [] | |
| for c in exc.object[exc.start:exc.end]: | |
| result.append(r"\%04x" % ord(c)) | |
| return ("".join(result), exc.end) |
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
| set rtp+=~/Library/Python/3.7/lib/python/site-packages/powerline/bindings/vim/ | |
| set laststatus=2 | |
| set t_Co=256 | |
| filetype plugin indent on | |
| syntax on | |
| language en_GB | |
| set mouse=r |
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
| flags { | |
| # As seen on VTT | |
| X 1 # X X axis | |
| Y 0 # Y Y axis | |
| O 1 # O Use original outline | |
| N 0 # N Use gridfitted outline | |
| R 1 # R Round distance; or perpendicular to line | |
| r 0 # r Do not round distance; or parallel to line | |
| M 1 # M Set rp0 to point number on the stack | |
| m 0 # m Do not set rp0 |
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 python | |
| # coding: utf-8 | |
| from __future__ import division, print_function | |
| from math import atan, pi, tan | |
| # Spit out some mappings for the slant axis to get closer to actual degrees. | |
| #print(angle, | |
| # atan( | |
| # tan(slant * pi / 180) / (slant / angle) |
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
| from defcon import Font | |
| from fontTools.pens.cocoaPen import CocoaPen | |
| from drawBot.drawBotDrawingTools import _drawBotDrawingTool | |
| def drawGlyph(glyph): | |
| pen = CocoaPen(glyph.getParent()) | |
| glyph.draw(pen) | |
| path = pen.path | |
| _drawBotDrawingTool.drawPath(path) |