I hereby claim:
- I am glasnt on github.
- I am glasnt_ (https://keybase.io/glasnt_) on keybase.
- I have a public key whose fingerprint is F026 9B50 5233 B0C9 8D1E 037C CA63 6DA6 7DA9 A6F6
To claim this, I am signing this object:
| """ | |
| Usage: python3 regional.py list of words | |
| Prints a representation of the words as Regional Identifiers, and copies the output directly to keyboard for you | |
| This is because some terminals think that zero width spaces are silly. | |
| Currently supports: A-Z | |
| Requires: Python 3 | |
| Now less complex, thanks @bmispelon! | |
| """ |
| from __future__ import print_function | |
| import sys | |
| import random | |
| from collections import deque | |
| from PIL import Image | |
| # THIS IS THE MAGIC VALUE THAT MAKES EVERYTHING GLITCHED |
I hereby claim:
To claim this, I am signing this object:
| function openTab() { | |
| var selection = SpreadsheetApp.getActiveSheet().getActiveCell().getValue(); | |
| var html = "<script>window.open('" + selection + "');google.script.host.close();</script>"; | |
| var userInterface = HtmlService.createHtmlOutput(html); | |
| SpreadsheetApp.getUi().showModalDialog(userInterface, 'Open Tab'); | |
| } |
| """ | |
| My first application | |
| """ | |
| import toga | |
| from toga.style import Pack | |
| from toga.style.pack import COLUMN, ROW | |
| class HelloWorld(toga.App): | |
| def startup(self): |
| from datasette.database import Database | |
| from datasette import hookimpl | |
| from datasette.utils.asgi import Response | |
| import os | |
| ` | |
| async def reload_db(datasette): | |
| spec = datasette.plugin_config('datasette-reload-db') | |
| db_dir = os.listdir(spec['dir']) | |
| databases = datasette.databases |
| web: ./main.py |