I hereby claim:
- I am aherok on github.
- I am aherok (https://keybase.io/aherok) on keybase.
- I have a public key ASBf6QXuVb8_a2Kvb-0hmJGYpeYANErWsGKuDJjuqu3Vlgo
To claim this, I am signing this object:
# https://github.com/buildkite/docker-puppeteer/blob/master/Dockerfile | |
FROM node:12.16.3-slim | |
RUN apt-get update \ | |
&& apt-get install -y wget gnupg ca-certificates \ | |
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ | |
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ | |
&& apt-get update \ | |
# Install Chrome to get all the dependencies just to keep deps up to date |
""" | |
Required to install: | |
* starlette | |
* ariadne | |
* uvicorn | |
run via `uvicorn app:app` | |
""" | |
import logging | |
from dataclasses import dataclass |
I hereby claim:
To claim this, I am signing this object:
# | |
# PROMPT + GIT INFO | |
#return value visualisation | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
PS1="\$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \w \[\033[00m\]\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " | |
{ | |
"devDependencies": { | |
"stylelint": "^7.9.0", | |
"stylelint-config-standard": "^16.0.0" | |
}, | |
} |
module.exports = { | |
// enable parsing ES5 code | |
/* | |
"parserOptions": { | |
"ecmaVersion": 5, | |
}, | |
*/ | |
"parser": "babel-eslint", // needed to properly parse ES7 features, e.g. 'static' declarations |
Verifying that +aherok is my blockchain ID. https://onename.com/aherok |
import os | |
from sys import argv | |
from xml.etree.ElementTree import parse | |
from pysrt import SubRipFile, SubRipItem, SubRipTime | |
def _mili_to_frame(secs): | |
""" | |
Convert "miliseconds" to frame count, e.g. if start time is 2.5s, | |
then its 2 secs and 12 frames, so function will return 2.12. Magic :) |
SELECT | |
bl.transactionid, | |
bl.mode, | |
ka.query, | |
ka.query_start, | |
ka.state_change, | |
ka.state, | |
ka.pid | |
FROM pg_locks bl |
/** | |
* Indicator module - fades HTML content and displays "please wait" message on time-taking actions | |
* usage: | |
* | |
* html: | |
* <div busy-indicator="main-progress"> | |
* | |
* js: | |
* busyIndicator.add("main-progress"); | |
* // do some time-taking actions... |