Skip to content

Instantly share code, notes, and snippets.

View guilhermelimak's full-sized avatar

Guilherme Kammsetzer guilhermelimak

View GitHub Profile
@guilhermelimak
guilhermelimak / .aliases
Last active May 24, 2022 03:14
shell customization
alias gh="git checkout"
alias ghb="git checkout -b"
alias gu="git push"
alias gd="git pull"
alias gm="git merge"
alias gs="git stash"
alias gmm="git stash && gh main && gu && gh - && gm main"
@guilhermelimak
guilhermelimak / small-window.theme.css
Last active October 26, 2021 19:11
Discord small window theme
/**
* @name Small window
* @author guilerme#5230
* @version 1.0.0
* @source https://gist.github.com/guilhermelimak/602ca1cad94755fcb0cc2a5fc6ea0228
* @website https://gist.github.com/guilhermelimak/602ca1cad94755fcb0cc2a5fc6ea0228
* @description Use discord voice chat in a small window
*/
@media only screen and (max-width: 1000px) {
@guilhermelimak
guilhermelimak / install-prettier.sh
Last active July 23, 2021 01:21 — forked from armand1m/install-prettier.sh
Add prettier to a node project in one script
yarn add -D prettier
cat > ./.prettierrc <<EOL
{
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
}
EOL
npx add-project-script -n "format:check" -v "prettier --check './src/**/*.{tsx,ts}'"
npx add-project-script -n "format" -v "prettier --write './src/**/*.{tsx,ts}'"
* {
color: #DDD;
background: #101010!important;
border-color: #333 !important;
}
.prettyprint,
code span {
color: initial;
background-color: #ccc !important;
@guilhermelimak
guilhermelimak / .autotmux
Last active May 18, 2019 18:17
VPS Config files
## Starts a tmux session on ssh connect
if [[ -z "$TMUX" ]] && [ "$SSH_CONNECTION" != "" ]; then
tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux
fi
{
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
@guilhermelimak
guilhermelimak / .tmux.conf
Created January 12, 2018 23:12
.tmux.conf
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
export TERM=xterm-256color
# Change default zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Source zim
if [[ -s ${ZIM_HOME}/init.zsh ]]; then
source ${ZIM_HOME}/init.zsh
fi
filetype plugin indent on " required
nnoremap <SPACE> <Nop>
let mapleader=" "
" ==============
" == Settings
" ==============
syntax enable
" set colorcolumn=100
set pastetoggle=<F2>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Ihor Oleksandrov</string>
<key>colorSpaceName</key>
<string>sRGB</string>
<key>name</key>
<string>Boxy Ocean</string>