This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" minimal vim config for working on remote machines, in containers, etc. | |
" apk update && apk add vim | |
" curl -sL https://raw.githubusercontent.com/zacanger/z/master/.vimrc ~/.vimrc | |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'junegunn/vim-peekaboo' | |
Plug 'vim-scripts/syntaxcomplete' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Pricing = React.createClass({ | |
// ... | |
render() { | |
// ... | |
return ( | |
<div className="pricing" style={{ opacity: purchasing ? 0.25 : '' }}> | |
{purchaseError ? ( | |
<div className="purchase-complete"> | |
<h2 style={{ color: 'hsl(10, 50%, 50%)' }}>Oops!</h2> | |
<p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
function Arithmetic(number) { | |
this.value = number; | |
}; | |
Arithmetic.val = function () { | |
return this.value; | |
}; |