I hereby claim:
- I am lampholder on github.
- I am lampholder (https://keybase.io/lampholder) on keybase.
- I have a public key ASA5M0wuhl4VXVwLd2EfchuUBVsz80pbRCBqU05IqILJDwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def progress(percent, width=20, blocks=['', '▏','▎','▍','▌','▋','▊','▉','█']): | |
return '{:<{width}}'.format(int(min(percent, 1) * width) * blocks[-1] + | |
blocks[int(min(percent, 1) * width * len(blocks) % len(blocks))], width=width) |
CREATE OR REPLACE FUNCTION pg_temp.name(TEXT) RETURNS TEXT AS $$ | |
DECLARE | |
rm_id TEXT; | |
rm_name TEXT; | |
rm_alias TEXT; | |
BEGIN | |
rm_id := $1; | |
rm_name := ( | |
SELECT name | |
FROM matrix.room_names |
#!/bin/bash | |
if (( $# < 2 )); then | |
echo "Usage:" | |
echo | |
echo "$0 1983-02-20 1983-03-13 [OUTPUT FORMAT] [--inclusive-end]" | |
echo "Generates sequential dates in the specified format between the start and end dates provided." | |
echo | |
echo "$0 1983-02-20 20 [OUTPUT FORMAT] [--inclusive-end]" | |
echo "Generates sequential dates in the specified format starting at the start date and continuing for the specified number of days." | |
echo |