Lua 5.1 installed already
# yum install lua-devel
# wget http://luarocks.org/releases/luarocks-2.3.3.tar.gz
# tar -xzvf luarocks-2.2.1.tar.gz
# cd luarocks-2.2.1
# ./configure
# make bootstrap
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' | |
| set -g @plugin 'tmux-plugins/tmux-continuum' | |
| set -g @plugin "janoamaral/tokyo-night-tmux" | |
| set -g @plugin 'tmux-plugins/tmux-open' | |
| # quickly open urls in the browser | |
| # c^b - u - listing all urls on bottom pane |
| def create_invoices | |
| interval = 1.month | |
| cicle = 12 #quantidade desejada | |
| start_date = Date.today #data inicial | |
| current_date = start_date | |
| cicle.times do | |
| # criar o que você precisa, alguns exemplos: | |
| # invoices.create(date: current_date, outro_campo: "Algum outro valor") | |
| # invoices << Invoice.create(date: current_date) |
| #Sublime Text 3 Configs | |
| ##Plugins | |
| - "Alignment" | |
| - "Better JavaScript" | |
| - "EditorConfig" | |
| - "Emmet" | |
| - "Gist" | |
| - "JsFormat" | |
| - "Sass" |
| # !/bin/sh | |
| SITE_DOMAIN="test.production.url"; | |
| HOSTS_LINE="127.0.0.1 $SITE_DOMAIN"; | |
| COMMENTED_HOSTS_LINE="# $HOSTS_LINE" | |
| echo "Add $SITE_DOMAIN to your /etc/hosts"; | |
| sudo -- sh -c "echo '$HOSTS_LINE' >> /etc/hosts"; | |
| echo "Starting server"; |