Skip to content

Instantly share code, notes, and snippets.

View yacut's full-sized avatar
👨‍💻
Stay safe

Roman Frey yacut

👨‍💻
Stay safe
View GitHub Profile
@yacut
yacut / README.md
Last active May 10, 2021 08:06 — forked from jamesmacfie/README.md
iTerm 2 - script to change theme depending on Mac OS dark mode

How to use

In iTerm2, in the menu bar go to Scripts > Manage > New Python Script

Select Basic. Select Long-Running Daemon

Give the script a decent name (I chose auto_dark_mode.py)

Save and open the script in your editor of choice.

@yacut
yacut / .tmux.conf
Last active February 27, 2018 10:32
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
@yacut
yacut / snippets.cson
Created March 10, 2017 09:57
React snippets for Atom
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
@yacut
yacut / eslintrc.node.json
Created January 24, 2017 00:00
for nodejs project
{
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true,
"amd": true
},
"globals": {
@yacut
yacut / eslintrc.react.json
Last active January 23, 2017 23:59
for react.js project
{
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true,
"amd": true
},
"globals": {
@yacut
yacut / .zshrc
Last active April 8, 2019 11:33
zsh configs
export LANG=en_US.UTF-8
#export PRIMARY_FG=white
export ZSH=/Users/roman.rogozhnikov/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(git tmux kubectl docker minikube node ruby mvn jsontools java yarn npm helm vscode terraform)
export EDITOR='nvim'
export TERM=screen-256color
# export ZSH_TMUX_AUTOSTART=true
# export ZSH_TMUX_AUTOSTART_ONCE=true