Skip to content

Instantly share code, notes, and snippets.

Amon Stopinšek am-on

Block or report user

Report or block am-on

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View init.py
from dramatiq.brokers.redis import RedisBroker
from dramatiq.results.backends import RedisBackend
from app.track_progress import TrackProgress
import dramatiq
redis_broker = RedisBroker(url="redis://localhost:6379")
dramatiq.set_broker(redis_broker)
backend = RedisBackend()
redis_broker.add_middleware(TrackProgress(backend=backend))
View gist:501ecf40fa6187bdc7738134631154d3
# before
[~] locale
LANG=en_US.utf8
LC_CTYPE=en_US.utf8
LC_NUMERIC=sl_SI.UTF-8
LC_TIME=sl_SI.UTF-8
LC_COLLATE="en_US.utf8"
LC_MONETARY=sl_SI.UTF-8
LC_MESSAGES="en_US.utf8"
LC_PAPER=sl_SI.UTF-8
@am-on
am-on / gist:2380ba3861dacb61379e57bfc8163005
Created Sep 27, 2017
Seznam poštnih številk v Sloveniji
View gist:2380ba3861dacb61379e57bfc8163005
1000 Ljubljana
1001 Ljubljana – P.P.
1210 Ljubljana – Šentvid
1211 Ljubljana – Šmartno
1215 Medvode
1216 Smlednik
1217 Vodice
1218 Komenda
1219 Laze v Tuhinju
1221 Motnik
@am-on
am-on / cloudSettings
Last active Oct 8, 2017
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2017-10-08T18:06:57.136Z","extensionVersion":"v2.8.3"}
You can’t perform that action at this time.