- Install
debugpy
in application virtualenv - Run django server with
debugpy
:python -m debugpy --listen 5678 manage.py runserver --noreload 0.0.0.0:8000
- In neovim F5 (attach to 127.0.0.1, port 5678)
Imperative: tell the program how to do stuff, how the control flow goes and how the state changes. Declarative: tell the program what the logic is, describe the problem.
Declarative programs, specifically functional ones, raise the level of abstraction by using a minimally structured flow made up of independent blackbox operations that connect in a simple topology. These connected operations are nothing more than higher-order functions that move state from one operation to the next.
https://karrier.io/blog/memcached-on-kubernetes/ | |
https://stackoverflow.com/questions/50180560/memcache-on-kubernetes | |
https://www.kubestack.com/catalog/memcached-v0.2.1-kbst.2/documentation |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
" Indentation | |
Plug 'Yggdroot/indentLine' | |
" folding | |
Plug 'Konfekt/FastFold' | |
" pairs | |
Plug 'jiangmiao/auto-pairs' | |
" commentary |
Making it work with python !== system version virtualenv
https://github.com/davidhalter/jedi/pull/829/commits/2ca6dd4a98a9f420d5c547c08aa1f9dfd6bd9801
enable completion with filetype = python.django
By default you can use <Ctrl-Space> for autocompletion
Autocompletion is also called by typing a period in |Insert| mode by default.
By default when you press <C-C>g on any object in your code you will be moved to definition.
Pymode can rename everything: classes, functions, modules, packages, methods, variables and keyword arguments.
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt-get install checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
cd ~ |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<script | |
src="https://code.jquery.com/jquery-2.2.4.min.js" | |
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" | |
crossorigin="anonymous"></script> | |
<script src="https://cdn.rawgit.com/TorinoMeteo/tm-widgets/3d120d9b/dist/tm-widgets.min.js"></script> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons.min.css" rel="stylesheet" type="text/css" /> | |
<link href="https://fonts.googleapis.com/css?family=Nova+Mono|Oswald:400,700" rel="stylesheet" /> |