Skip to content
View .vimrc
" keyboard shortcuts
inoremap jj <ESC>
nnoremap ; :
"NAVIGATION
nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
inoremap <up> <nop>
View webpack.config.js
postcss: function() {
return [
postcssImport({
onImport: function (files) {
files.forEach(this.addDependency)
}.bind(this)
}),
customProperties(),
autoprefixer
]
View textinput.jsx
import React, { Component } from 'react'
class TextInput extends Component {
constructor(props) {
super(props)
}
get value() {
return this.refs.textarea.value
View .vimrc.bundles
Bundle 'airblade/vim-gitgutter'
Bundle 'austintaylor/vim-indentobject'
Bundle 'christoomey/vim-tmux-navigator'
Bundle 'gmarik/vundle'
Bundle 'kien/ctrlp.vim'
Bundle 'majutsushi/tagbar'
Bundle 'rking/ag.vim'
Bundle 'msanders/snipmate.vim'
Bundle 'Shutnik/jshint2.vim'
Bundle 'nathanaelkane/vim-indent-guides'
View .vimrc
:set cursorline
" keyboard shortcuts
inoremap jj <ESC>
nnoremap ; :
"NAVIGATION
nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
View defend-default.js
//Defends against es2015 default export
function defendAgainstDefault(component) {
if (component.default) {
component = component.default
}
return component
}
View grid.css
.grid {
margin: 0 auto;
max-width: 75rem;
}
.padded {
padding: 0 2rem;
}
.gutters > .row {
View gist:7ea2763d71144689448b
:root {
--primary-color: #d12028;
}
/* fallback values in case a variable is not supplied FTW */
body {
background: var(--primary-color, red);
}
View grid-mixins.scss
$viewport-xs: 30em;
$viewport-sm: 40em;
$viewport-md: 60em;
$viewport-lg: 75em;
$xs: 'xs';
$sm: 'sm';
$md: 'md';
$lg: 'lg';
View SassMeister-input.scss
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
.calendar {
width: 20rem;
&__event {
background: blue;
&--disabled {
Something went wrong with that request. Please try again.