This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "keys": ["j"], "command": "move", "args": {"by": "lines", "forward": true}, "context": | |
[ {"key": "control", "operand": "sidebar_tree"} ] | |
}, | |
{ "keys": ["k"], "command": "move", "args": {"by": "lines", "forward": false}, "context": | |
[ {"key": "control", "operand": "sidebar_tree"} ] | |
}, | |
{ "keys": ["l"], "command": "move", "args": {"by": "characters", "forward": true}, "context": | |
[ {"key": "control", "operand": "sidebar_tree"} ] | |
}, | |
{ "keys": ["h"], "command": "move", "args": {"by": "characters", "forward": false}, "context": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
id, | |
case | |
when ((dt_bit & 31) = 31) then 5 | |
when ((dt_bit & 15) = 15) then 4 | |
when ((dt_bit & 7) = 7) then 3 | |
when ((dt_bit & 3) = 3) then 2 | |
when ((dt_bit & 1) = 1) then 1 | |
else 0 | |
end as fq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from logging import getLogger, StreamHandler, Formatter | |
from logging.handlers import SysLogHandler | |
import logging | |
from socket import gethostname | |
logger = getLogger(__name__) | |
logger.setLevel(logging.DEBUG) | |
syslog_fmt = Formatter( | |
fmt='%(asctime)s %(hostname)s %(name)s[%(process)s]: %(message)s', |