Skip to content

Instantly share code, notes, and snippets.

View rmuratov's full-sized avatar

Ramil Muratov rmuratov

View GitHub Profile

Add dependencies:

npm i -D eslint eslint-plugin-import eslint-import-resolver-typescript eslint-plugin-react prettier eslint-config-prettier

.eslintrc.cjs:

module.exports = {
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
set -g mouse on
set-option -g allow-rename off
set -g default-terminal "screen-256color"
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
# http://EditorConfig.org
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
@rmuratov
rmuratov / useful.markdown
Last active September 9, 2017 22:57
Useful snippets, commands etc.

In Atom Search in any .coffee file in any server folder.

/+(server)/**/*.coffee/

Recursively look for files with a specific extension.

find . -type f -name "*.i18n.json"
input =
a:
b: 'one'
d: 'two'
f: g: 'three'
bb: 'four'
dd: 'five'
gg:
jj: 'six'
as: 'seven'