Experimenting GitHubs new LaTeX support to render superscript and subscript.
You can create mathematical expressions including superscript, eg:
But you can also put plaintext into superscript, inline _
instead of ^
and looks
Experimenting GitHubs new LaTeX support to render superscript and subscript.
You can create mathematical expressions including superscript, eg:
But you can also put plaintext into superscript, inline _
instead of ^
and looks
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
def archive_to_bytes(archive): | |
def to_seconds(s): | |
SECONDS_IN_A = { | |
's': 1, | |
'm': 1 * 60, | |
'h': 1 * 60 * 60, |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |