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:
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 |
Add-Type -AssemblyName System.Windows.Forms | |
# show the MsgBox: | |
$result = [System.Windows.Forms.MessageBox]::Show('Do you want to clean up all tiles?', 'Warning', 'YesNo', 'Warning') | |
# check the result: | |
if ($result -eq 'Yes') | |
{ | |
(New-Object -Com Shell.Application). | |
NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}'). |
#!/usr/bin/env sh | |
while [ "$#" -gt 0 ]; do | |
case "$1" in | |
-f) file="$2"; shift 2;; | |
-o) output="$2"; shift 2;; | |
--file=*) file="${1#*=}"; shift 1;; | |
--output=*) output="${1#*=}"; shift 1;; | |
--file|--output) echo "$1 requires an argument" >&2; exit 1;; |
#!/usr/bin/env sh | |
while [ "$#" -gt 0 ]; do | |
case "$1" in | |
-f) file="$2"; shift 2;; | |
-o) output="$2"; shift 2;; | |
--file=*) file="${1#*=}"; shift 1;; | |
--output=*) output="${1#*=}"; shift 1;; | |
--file|--output) echo "$1 requires an argument" >&2; exit 1;; |