Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
(ns react-cljs.core | |
(:require React)) | |
(declare render) | |
(defn handle-change [e] | |
(render {:text (.. e -target -value)})) | |
(defn render [{:keys [text]}] | |
(React/renderComponent |
(ns react-cljs.core | |
(:require-macros [reactjs.macros :refer [pure]]) | |
(:require React [reactjs.core :as r])) | |
(enable-console-print!) | |
(declare render-ui) | |
(defn render-counter [id state cb] | |
(pure state |
.vimrc | |
" Map leader to comma | |
let maplocalleader="," | |
" Toggle this for vim-sexp to not go into insert mode after wrapping something | |
let g:sexp_insert_after_wrap = 0 | |
" Toggle this to disable automatically creating closing brackets and quotes | |
let g:sexp_enable_insert_mode_mappings = 1 | |
Vocab |
These are for the combined vim-sexp
(https://github.com/guns/vim-sexp) and vim-sexp-mappings-for-regular-people
(https://github.com/tpope/vim-sexp-mappings-for-regular-people) plugins. vim-sexp
is neat on its own but Tim Pope makes common stuff much easier.
Note that some vim-sexp
functionality depends on <LocalLeader>
mappings. This is a different leader key than the global leader, and is the variable maplocalleader
(instead of mapleader
). To see if you have this set, use :echo maplocalleader
; if it errors out you'll need to set it, otherwise it will echo the key. If you want to set your LocalLeader
to <Space>
, you'll need two commands in your .vimrc
, since by default <Space>
is bound to <Right>
in normal mode:
nnoremap <Space> <Nop>
let maplocalleader=" "