Add this in your ini file:
[alembic]
exclude_tables =
spatial_ref_sys,
foo, bar
In env.py
:
def get_list_from_config(config, key):
sudo nala install libfftw3-dev libconfig-dev libasound2-dev libpulse-dev cmake -y |
from plumbum import ProcessExecutionError, local | |
from dataclasses import dataclass, field | |
import re | |
from tomlkit import parse | |
poetry = local['poetry'] | |
deps = {} | |
deps['outdated'] = poetry('show', '--outdated' ).splitlines() |
encrypt file: | |
keybase encrypt circleoncircles -i {{file}} -o {{file}}.encrypted | |
decrypt file: | |
keybase decrypt -i {{file}}.encrypted -o {{file}} | |
# encrypt all configs | |
encrypt-all: | |
#!/bin/bash | |
files=(".env" "telegraph/cmix-jetson.conf" "config.toml") |
from tomlkit import parse | |
with open('Pipfile', 'r') as stream: | |
doc = parse(stream.read()) | |
with open('requirements.txt', 'w') as stream: | |
lines = [] | |
for pkg, detail in doc['packages'].items(): | |
if detail=='*': | |
lines.append(pkg) |
Add this in your ini file:
[alembic]
exclude_tables =
spatial_ref_sys,
foo, bar
In env.py
:
def get_list_from_config(config, key):
import base64 | |
import hashlib | |
import hmac | |
import simplejson as json | |
def base64_url_decode(inp): | |
padding_factor = (4 - len(inp) % 4) % 4 | |
inp += "="*padding_factor | |
return base64.b64decode(unicode(inp).translate(dict(zip(map(ord, u'-_'), u'+/')))) |
[tool.poetry] | |
name = "paperstrip-python" | |
version = "0.1.6" | |
description = "" | |
authors = ["CircleOnCircles <me@nutchanon.org>"] | |
[tool.poetry.dependencies] | |
python = "^3.7" | |
numpy = "^1.16" | |
opencv-python = "^4.1" |
output.markdown('# C2 ช่วยสรุปบัญชีรายวันค่าา~'); | |
output.markdown('![](http://images6.fanpop.com/image/photos/36600000/C-C-from-Code-Geass-image-cc-from-code-geass-36640974-584-600.jpg)'); | |
let date = await input.textAsync('นายท่านอยากสรุปบัญชีวันไหนหราา (e.g.2020-05-21)'); | |
// output.text(`Welcome to the scripting block, ${date}.`); | |
// let date = "2020-05-21" | |
async function sumTable(table_name, view_name, struc) { | |
let table = base.getTable(table_name); |
yarn dist:win | |
yarn run v1.19.1 | |
$ rollup -c && DEBUG=electron-builder electron-builder --win | |
src/App.js → public/bundle.js... | |
(!) Plugin svelte: A11y: <a> element should have an href attribute | |
src/components/Tab.svelte | |
10: | |
11: <li class:is-active={$selectedTab === tab}> | |
12: <a on:click={() => selectTab(tab)}> |