This file contains hidden or 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 -g mouse off | |
| set -g default-terminal "xterm-256color" | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| unbind C-b | |
| set -g base-index 1 | |
| setw -g pane-base-index 1 |
This file contains hidden or 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
| call plug#begin('~/.vim/plugged') | |
| " General | |
| Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
| Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' } | |
| Plug 'editorconfig/editorconfig-vim' | |
| Plug 'ctrlpvim/ctrlp.vim' | |
| Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } | |
| Plug 'dyng/ctrlsf.vim' |
This file contains hidden or 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
| call plug#begin('~/.vim/plugged') | |
| " General | |
| Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
| Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' } | |
| Plug 'editorconfig/editorconfig-vim' | |
| Plug 'ctrlpvim/ctrlp.vim' | |
| Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } | |
| Plug 'dyng/ctrlsf.vim' |
This file contains hidden or 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
| #call it with source logPut.sh {Event} | |
| if ! [[ $TOKEN =~ $re ]] ; then | |
| TOKEN=$(aws logs describe-log-streams --log-group-name test-log-collector --log-stream-name "$(date +%Y-%m-%d)" | jq '.[]| first.uploadSequenceToken' -r) | |
| fi | |
| TOKEN=$(aws logs put-log-events --log-group-name test-log-collector --log-stream-name "$(date +%Y-%m-%d)" --log-events timestamp="$(date +%s%3N)",message=$1 --sequence-token $TOKEN | jq .nextSequenceToken -r) |
This file contains hidden or 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 " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=$HOME/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins | |
| "call vundle#begin('~/some/path/here') |
This file contains hidden or 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
| [global_config] | |
| [keybindings] | |
| copy = <Control>c | |
| next_tab = End | |
| paste = <Control>v | |
| prev_tab = Home | |
| [layouts] | |
| [[default]] | |
| [[[child1]]] | |
| parent = window0 |
This file contains hidden or 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 comment = 'Please comment on this gist'; |
This file contains hidden or 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
Show hidden characters
| [ | |
| { | |
| "keys": ["super+s"], | |
| "command": "chain", | |
| "args": { | |
| "commands": [ | |
| ["save"], | |
| ["exit_insert_mode"] | |
| ] | |
| } |
This file contains hidden or 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
| ... | |
| describe("Route Test", function() { | |
| ... | |
| describe("Find users", () => { | |
| // erase all data from the database | |
| before(done => {db.truncate().then(() => {done()})}) | |
| // Initialize data for the tests |
This file contains hidden or 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 a() { | |
| console.log("calling a") | |
| } | |
| const b = {} | |
| (a()) |
NewerOlder