Skip to content

Instantly share code, notes, and snippets.

@datchley
datchley / QEvBwg.markdown
Last active July 5, 2016 16:41 — forked from anonymous/QEvBwg.markdown
Responsive: Higher Order Component to pass width/height to Components as props
@datchley
datchley / vimrc
Created August 28, 2013 18:23 — forked from heygarrett/vimrc
" Set colorscheme to solarized
colorscheme solarized
" Change the Solarized background to dark or light depending upon the time of
" day (5 refers to 5AM and 17 to 5PM). Change the background only if it is not
" already set to the value we want.
function! SetSolarizedBackground()
if strftime("%H") >= 5 && strftime("%H") < 17
if &background != 'light'
set background=light