I hereby claim:
- I am iilei on github.
- I am iilei (https://keybase.io/iilei) on keybase.
- I have a public key ASB0eA1gkWTXKSC7cmdBSgcOpXLsOdv-1wzHJI8WbVa0Lgo
To claim this, I am signing this object:
| #!/bin/bash | |
| # set -eu | |
| # NOTE: | |
| # set -u tells the shell to treat expanding an unset parameter an error, which helps to | |
| # catch e.g. typos in variable names. | |
| # | |
| # set -e tells the shell to exit if a command exits with an error (except if the exit | |
| # value is tested in some other way). That can be used in some cases to abort the script | |
| # on error, without explicitly testing the status of each and every command. |
| """ | |
| in x_dim s d=3 n=2 | |
| in y_dim s d=3 n=2 | |
| in theta s d=1.0471973 n=2 | |
| in alpha s d=0. n=2 | |
| out verts v | |
| out edges s | |
| out faces s | |
| """ |
| #!/bin/bash | |
| # cron job to update dyndns with namecheap | |
| set -e | |
| # Variables | |
| PASSWORD="abc" | |
| UPDATE_URL="dynamicdns.park-your-domain.com/update?host=<username>&domain=<domain>&password=<pass>&ip=<ipaddr>" | |
| # Array of domain configurations |
| from dataclasses import field, dataclass | |
| import datetime | |
| from functools import wraps | |
| def props_to_init(additional_kwargs): | |
| def decorator(cls): | |
| def modify_init(init): | |
| @wraps(init) | |
| def __init__(self, **kwargs): |
| git remote --v | grep "origin" | head -1 | sed -r 's:.*\s+(\S+)\s+.*$:\1:g' | sed -r 's:git@([^/]+)\:(.*\.git):https\://\1/\2:g' |
I hereby claim:
To claim this, I am signing this object:
| for ((i=0;i<20;i++)); do uuidgen; done | \ | |
| tr -dc 'AC-HJ-NP-RTZ2-46-79' | \ | |
| fold -w 10 | \ | |
| head -n 20 | \ | |
| sed 's/^\(.\{4\}\)/\1-/' |
| -- Enable pl/v8: | |
| CREATE EXTENSION plv8; | |
| -- Create json history table: | |
| CREATE TABLE json_history (id BIGSERIAL PRIMARY KEY, tstamp timestamp DEFAULT now(), table_name text, column_name text, target_id bigint, transform json); | |
| -- Create test table: | |
| CREATE TABLE test_json (id BIGSERIAL PRIMARY KEY, data JSON); | |
| -- Enable history tracking on test_json.data: |
| FROM jboss/keycloak:9.0.0 | |
| ENV HASH_PROVIDER_NAME=argon2-password-hash-provider | |
| ENV HASH_PROVIDER_REF=9.0.0 | |
| ENV MAVEN_REF=3.5.4 | |
| USER root | |
| RUN microdnf install wget yum |
| Process: Frescobaldi [64507] | |
| Path: /Applications/Frescobaldi.app/Contents/MacOS/Frescobaldi | |
| Identifier: org.frescobaldi.frescobaldi | |
| Version: 3.1 (3.1) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: Frescobaldi [64507] | |
| User ID: 501 | |
| Date/Time: 2019-12-28 12:36:00.991 +0100 |