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
test |
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
/** | |
* Mobile Browser Address-bar Resize Jump Fix. | |
* | |
* Prevent items with a height depending on the viewport from jumping if the | |
* mobile browser address bar appreas/disappears. | |
* This fixes the address-bar viewport resize jump problem of many mobile Browsers. | |
* | |
* Usage: | |
* | |
* Put this data attribute: "data-jump-fix" on each html element that has |
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
{ | |
"name": "local-figure", | |
"version": "0.0.1", | |
"description": "A react component for the html figure construct.", | |
"main": "dist/index.js", | |
"scripts": { | |
"build": "node_modules/webpack/bin/webpack.js --progress --colors --config webpack.config.comp.js && node_modules/webpack/bin/webpack.js --progress --colors --config webpack.config.page.js", | |
"production": "node_modules/webpack/bin/webpack.js -p --progress --colors --config webpack.config.comp.js && node_modules/webpack/bin/webpack.js -p --progress --colors --config webpack.config.page.js", | |
"watch-comp": "node_modules/webpack/bin/webpack.js --watch --config webpack.config.comp.js", | |
"watch-page": "node_modules/webpack/bin/webpack.js --watch --config webpack.config.page.js", |
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
.cache/ | |
venv-{{proj_name}}/ | |
.env | |
debian/ | |
### Wheels ### | |
build/ | |
dist/ |
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 hug | |
import os | |
from typing import Optional, Tuple, Union | |
from image_server.constants import DATA_DIR, MAXIMUM_WIDTH_LIMIT | |
from PIL import Image | |
from PIL import ImageFont | |
from PIL import ImageDraw | |
def _make_str_from_render_query(render_query: dict): |
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
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE | |
default po/nmap-pod-6b7f8f9c48-jcm58 0/1 CrashLoopBackOff 6 8m 10.2.2.188 spc1aitu1i-worker-2 | |
kube-system po/cert-manager-cert-manager-59fff59c7b-vdnd7 2/2 Running 4 3d 10.2.1.55 spc1aitu1i-worker-1 | |
kube-system po/digitalocean-cloud-controller-manager-6d6b675bfd-nxqq2 1/1 Running 0 3d 10.2.1.57 spc1aitu1i-worker-1 | |
kube-system po/digitalocean-provisioner-d4c79dfb4-mhb5d 1/1 Running 0 3d 10.2.1.56 spc1aitu1i-worker-1 | |
kube-system po/heapster-56bf7c7896-9rv4z 1/1 Running 0 3d 10.2.1.58 spc1aitu1i-worker-1 | |
kube-system po/kube-apiserver-wp7 |