~/.config/flake8 not picked up by elpy
To fix this copy (or symlink?) ~/.config/flake8 to .flake8 in the root of your project
To fix this copy (or symlink?) ~/.config/flake8 to .flake8 in the root of your project
A quick hack based mainly on someone else’s work:https://github.com/jamespo/commandmisc/blob/master/scripts/peerchain
Put this in your .emacs: (add-hook ‘python-mode-hook ‘(lambda () (electric-indent-local-mode -1))
Amazon’s Hello World Alexa Skill example modified to use their Flask library: https://gist.github.com/jamespo/0522d39eff41a5acc0491e1cd5e1d957
2 scripts I’ve written to monitor Linux system performance: check_pressure & check_meminfo
check_mailq_filter – an Icinga / Nagios postfix mail queue monitor with a filter (include or exclude mails matching a pattern). So to exclude facebook mails from your monitor you may run: check_mailq_filter.py -x ‘.*facebookmail.*’ While you’re here, have a look at pfqueue – a console tool for interactively viewing your postfix queue that’s a step …
https://gist.github.com/jamespo/03634cc9307670ed637d1e9a55da8b07 using sanic
Package from the COPR didn’t work for me due to outdated dependencies, so I’ve modified the SPEC file it’s based on. To create RPM: Download SPEC file (above) Follow “Preparing your system to create RPM packages” Download pipenv-11.1.3.tar.gz Run fedpkg –release f27 local Note: I’ve only created python 3 package.
I’ve used free Dynamic DNS services to give my home machine a “static” address in the past but they either start charging or have poor performance. As I run my own external nameserver, why not use RFC 2136 to dynamically update the address based on the IP from ipify? So with some python scripting, that’s …
Continue reading ‘Dynamic DNS updating in python with ipify’ »