This file contains hidden or 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
``` | |
Tornado-based slack client inspired by the full stack python version: | |
https://www.fullstackpython.com/blog/build-first-slack-bot-python.html | |
Polls the rtm_stream every second w/ a periodic callback | |
``` | |
import logging | |
import os | |
import time |
This file contains hidden or 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
[alias] | |
br = branch | |
co = checkout | |
lg = log --color --date=local --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit | |
log = log --topo-order --decorate | |
st = status -sb | |
up = fetch --all --prune | |
pup = !git fetch --all --prune && git pull | |
[diff] |
This file contains hidden or 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
#### | |
# Resize Bindings | |
#### | |
# Full Screen | |
bind m:cmd;alt;ctrl push right bar-resize:screenSizeX | |
# throw to monitor | |
bind left:ctrl;alt throw next | |
bind right:ctrl;alt throw next |
This file contains hidden or 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
# vim: syntax=dockerfile | |
### Multi-stage build | |
### 1. django: install dependencies | |
# FROM python:3.7.7-alpine3.11 for build step | |
FROM python@sha256:778802b5b9797279772814fb15a7c6ee494848ced17965bb57092a0b900c0e4f as builder | |
# install dependencies to build c-extensions | |
RUN apk update && apk add --no-cache \ | |
gcc \ |
OlderNewer