Install dependencies:
pip install quart hypercorn uvloop uvicorn
To compare hypercorn, uvicorn, and hypercorn using uvloop, run (in separate terminals)
python -m localstack.aws.asgi hypercorn 4566
python -m localstack.aws.asgi uvicorn 4567
| """ | |
| Script to convert unittest asserts into plain asserts. | |
| Either reads the file from the path passed as first parameter, or reads from stdin if no parameter is given. | |
| """ | |
| import functools | |
| import sys | |
| import libcst as cst |
| #!/bin/bash | |
| # | |
| # An example hook script to make use of push options. | |
| # The example simply echoes all push options that start with 'echoback=' | |
| # and rejects all pushes when the "reject" push option is used. | |
| # | |
| # To enable this hook, rename this file to "pre-receive". | |
| set -e |
I write scripts to:
proxy-chrome)ex, ssh-forward, ishostup, rmcaps)rgit, mvnrc, chres)find (svg2pdf, imgscale)mvn-release)gdwc)The given examples are a subset of all the scripts I have in my doftiles that can be found in thrau/dotfiles.
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
| "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 |
| // ==UserScript== | |
| // @name TUWEL automatic grade item mapper | |
| // @namespace http://dsg.tuwien.ac.at/staff/trausch/ | |
| // @version 0.1 | |
| // @description Automatically selects the form fields in the grade item mapper where the item name corresponds to the column name | |
| // @author Thomas Rausch | |
| // @match https://tuwel.tuwien.ac.at/grade/import/* | |
| // @grant none | |
| // ==/UserScript== |