(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| { | |
| "query": "", | |
| "sort": [ | |
| { | |
| "field": "_relevance", | |
| "order": "Descending" | |
| } | |
| ], | |
| "fields": [ | |
| "variants.subVariant.nutriqty", |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| let mapleader = "\<Space>" | |
| set timeoutlen=250 | |
| nnoremap <leader>w :w<cr> | |
| inoremap jk <esc> | |
| vnoremap jkl <esc> | |
| nnoremap jk <esc> | |
| nnoremap <leader>r :vsc Resharper.Resharper_Rename <cr> |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| export EDITOR="vim" | |
| if [ -t 1 ]; then | |
| exec zsh | |
| fi |
| # If you come from bash you might have to change your $PATH. | |
| export PATH=$HOME/bin:$HOME/.local/bin:/opt/anaconda2/bin:/opt/cuda/bin:$PATH | |
| # Set npm config prefix (user-specific installations) | |
| export npm_config_prefix=$HOME/.node_modules | |
| # Add npm to path | |
| export PATH=$PATH:$HOME/.node_modules/bin | |
| export PATH=$PATH:$HOME/.yarn/bin |
| --- | |
| AWSTemplateFormatVersion: 2010-09-09 | |
| Description: > | |
| A basic CloudFormation template for an RDS Aurora cluster. | |
| Parameters: | |
| DatabaseUsername: | |
| AllowedPattern: "[a-zA-Z0-9]+" | |
| ConstraintDescription: must be between 1 to 16 alphanumeric characters. |
| # serverless.yml | |
| # ... | |
| provider: | |
| name: aws | |
| environment: | |
| MY_GREETING: "Hello!" |
| UserData: | |
| Fn::Base64: | |
| Fn::Sub: | | |
| #!/bin/bash | |
| # install pip | |
| OS=`cat /etc/os-release | grep '^NAME=' | tr -d \" | sed 's/\n//g' | sed 's/NAME=//g'` | |
| if [ "$OS" == "Ubuntu" ]; then | |
| apt-get -y update |
| Resources: | |
| Type: AWS::EC2::Instance | |
| Properties: | |
| # ... | |
| UserData: | |
| Fn::Base64: | | |
| #!/bin/bash | |
| echo 'hello, world' > /var/log/user-data-log.txt |