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
set nocompatible | |
set nowrap | |
set number | |
set showmode | |
set tw=80 | |
set smartcase | |
set smarttab | |
set autoindent | |
set smartindent | |
set softtabstop=2 |
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
#tmux configuration files | |
#Scrollback/History limit | |
set -g history-limit 10000 | |
# easier and faster switching between next/prev window | |
bind C-p previous-window | |
bind C-n next-window | |
# set only on OS X where it's required |
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
#hello |
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
#hello |
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
#hello |
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
#hello |
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
#hello |
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
syntax on | |
set number | |
set nowrap | |
set showmode | |
set tw=80 | |
set smartcase | |
set smarttab | |
set smartindent | |
set autoindent |
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
#!/bin/bash | |
sandboxName=$1 | |
if [ $sandboxName = "" ]; then | |
sandboxName="cljs-sandbox"; | |
fi | |
wget https://codeload.github.com/iha2/cljs-sandbox/zip/master | |
unzip master |
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 initializeWebcamEpic = (actions$: ActionsObservable<StartWebcamAction>) => | |
actions$.pipe( | |
ofType(WebcamActionTypes.START_WEBCAM), | |
switchMap(({ payload }) => { | |
let timerIntervalMultiple = 0; | |
return initializeWebcam(payload.videoElement, payload.canvasElement).pipe( | |
tap(_ => (timerIntervalMultiple += 1)), | |
filter(_ => (timerIntervalMultiple * 40 > 200 ? true : false)), | |
map(_ => payload.canvasElement.toDataURL('image/jpeg', 1.0)), | |
map(jpeg => storeImage(jpeg)) |
NewerOlder