Right click on the page -> Select Inspect -> Select Network tab
Click on the credit card icon to open Inline Guest.
Search for counter.cgi
in the Network tab
https://itnext.io/pros-and-cons-of-functional-programming-32cdf527e1c2
https://www.quora.com/What-are-some-limitations-disadvantages-of-functional-programming-Where-does-it-break-down-when-you-want-to-get-things-done/answer/Tikhon-Jelvis
https://alvinalexander.com/scala/fp-book/disadvantages-of-functional-programming
https://stackoverflow.com/questions/44965/what-is-a-monad
https://stackoverflow.com/questions/2488646/why-are-side-effects-modeled-as-monads-in-haskell
You'll also need to enable the code lens feature in coc (:CocConfig
):
"codeLens.enable": true
Create a channel to communicate with NeoVim and its plugins https://github.com/chemzqm/node-client.
For example, you can execute a script from the plugin using
/* @flow */ | |
class Signal { | |
value: any; | |
fns: Array<Function> | |
constructor(value: any) { | |
this.value = value; | |
this.fns = []; | |
} |
git init --bare $HOME/.cfg | |
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' | |
config config --local status.showUntrackedFiles no | |
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zshrc |
import { ACTIONS } from 'redux-api-call'; | |
export default (makeFetchAction, data) => (name, apiFn) => { | |
const { | |
dataSelector, | |
actionCreator, | |
isFetchingSelector, | |
errorSelector, | |
updater, | |
} = makeFetchAction(name, apiFn); |
Redux-api-call's makeFetchAction
comes with its own dataSelector
, but in real world, we can't just grab and use it.
We may need to write our selector
which bases on dataSelector
.
Then when we write our unit test of that selector, we have to setup state
which has api_calls
property and the response.
For example:
const state = {
// some other properties
api_calls: {
fooApi: {
// @flow | |
/** | |
Validate Hex | |
============================== | |
@param {String} hex | |
1. remove hash if present | |
2. convert from 3 to 6 digit color code & ensure valid hex | |
*/ |
class: middle, center, inverse
#You don't know React Native
@khanght
Employment Hero
facebook.vn/groups/reactvn/
???
What is the purpose of this talk? Just one thing, when you buddy asks you "Hey, i just heard about React Native Native, do you know about it?" you can answer with confidence "Yes, I do"
init.vim and settings.vim go under ~/.config/nvim Follow the installation instructions for https://github.com/junegunn/vim-plug and place plug.vim in ~/.config/nvim/autoload