Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| require 'mina/git' | |
| require 'mina/rbenv' | |
| require 'mina-contrib/rbenv' | |
| require 'mina-contrib/config' | |
| require 'mina-contrib/bundler' | |
| require 'mina-contrib/safety-check' | |
| require 'mina-contrib/nginx' | |
| require 'mina-contrib/puma' | |
| set :term_mode, :pretty |
| require 'mina/git' | |
| require 'mina/rbenv' | |
| require 'mina-contrib/rbenv' | |
| require 'mina-contrib/config' | |
| require 'mina-contrib/bundler' | |
| require 'mina-contrib/safety-check' | |
| require 'mina-contrib/nginx' | |
| require 'mina-contrib/puma' | |
| set :term_mode, :pretty |
| ############################## | |
| # _ | |
| # | |_ _ __ ___ _ ___ __ | |
| # | __| '_ ` _ \| | | \ \/ / | |
| # | |_| | | | | | |_| |> < | |
| # \__|_| |_| |_|\__,_/_/\_\ | |
| # | |
| ############################# | |
| ############################################################################ |
| #!/bin/bash | |
| NAME="hello_app" # Name of the application | |
| DJANGODIR=/webapps/hello_django/hello # Django project directory | |
| SOCKFILE=/webapps/hello_django/run/gunicorn.sock # we will communicte using this unix socket | |
| USER=hello # the user to run as | |
| GROUP=webapps # the group to run as | |
| NUM_WORKERS=3 # how many worker processes should Gunicorn spawn | |
| DJANGO_SETTINGS_MODULE=hello.settings # which settings file should Django use | |
| DJANGO_WSGI_MODULE=hello.wsgi # WSGI module name |
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| set -U fish_user_paths /usr/local/bin $fish_user_paths | |
| ### rbenv ### | |
| #set PATH $HOME/.rbenv/bin $PATH | |
| set PATH $HOME/.rbenv/shims $PATH | |
| rbenv rehash >/dev/null ^&1 | |
| #set -gx RBENV_ROOT /usr/local/bin/rbenv | |
| ### OpenSSL fix for Rbnev Install ### | |
| set -g fish_user_paths "/usr/local/opt/openssl/bin" $fish_user_paths |
| <template onclick=onfoo> | |
| <h1>foo-bar custom element</h1> | |
| <slot name=content>Some Default Content</slot> | |
| <ul> | |
| <template name=bat> | |
| <li>Item {#} - Value {self} | |
| </template> |
| #!/bin/bash | |
| git clone https://github.com/netlify-templates/one-click-hugo-cms | |
| cd one-click-hugo-cms | |
| npm install | |
| echo "use the config.yml" | |
| sleep 1 | |
| # delete config.toml | |
| rm site/config.toml | |
| # create config.yml |
| #V1 test | |
| ###### Aliases ###### | |
| ## TMUX ALIASES ## | |
| alias t="tmux" | |
| alias tl="tmux ls" | |
| alias tk="tmux kill-session -t" | |
| alias tn="tmux new -s" | |
| alias tat="tmux attach-session -t" | |
| ## PYTHON ALIASES | |
| alias pip="pip3" |
| #!/bin/bash | |
| echo 'Install vim' | |
| sudo apt-get install vim | |
| echo 'Install vim-plug' | |
| curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
| https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| echo 'mkdir ~/.vim/plugged' |