- Install spf13-vim
sh <(curl https://j.mp/spf13-vim3 -L)
- Install Go bundle
echo "let g:spf13_bundle_groups=['general', 'neocomplete', 'programming', 'ruby', 'python', 'go', 'javascript', 'html', 'misc', 'writing' ]" >> ~/.vimrc.before.local
version: '3' | |
services: | |
phpfpmoracle: | |
container_name: php_oracle | |
image: codenuke/phpfpm_oracle:php7.1-oci12.2 | |
ports: | |
- "8000:8000" | |
volumes: | |
- ./php-fpm.conf:/usr/local/etc/php-fpm.conf | |
- ./php.ini:/usr/local/etc/php/php.ini |
user root; | |
worker_processes auto; | |
worker_rlimit_nofile 100000; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 200000; | |
multi_accept on; | |
} |
# | |
# /etc/sysctl.conf - Configuration file for setting system variables | |
# See /etc/sysctl.d/ for additional system variables. | |
# See sysctl.conf (5) for information. | |
# | |
#kernel.domainname = example.com | |
# Uncomment the following to stop low-level messages on console | |
#kernel.printk = 3 4 1 3 |
sh <(curl https://j.mp/spf13-vim3 -L)
echo "let g:spf13_bundle_groups=['general', 'neocomplete', 'programming', 'ruby', 'python', 'go', 'javascript', 'html', 'misc', 'writing' ]" >> ~/.vimrc.before.local
App\Providers Insert in boot function | |
-------------------------------------- | |
#change default for mysql | |
Schema::defaultStringLength(191); | |
if (env('APP_ENV') === 'production') | |
{ | |
$url->forceScheme('htps'); | |
} | |
[alias] | |
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg = !"git lg1" |
APP_NAMES=("app_1" "app_2" "app_3" "app_4" "app_5") | |
while [ 1 ] | |
do | |
OPEN_FILE_ALL=0 | |
echo -e '\n-------------------------------------------------------' | |
echo $(date +%Y-%m-%d:%H:%M:%S) | |
for app in "${APP_NAMES[@]}" | |
do | |
PID=$(ps -ef |grep -v grep | grep $app | awk '{print $2}') |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# include Z | |
. /usr/local/Cellar/z/1.8/etc/profile.d/z.sh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. |
# https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf | |
set-option -g status-bg colour235 #base02 | |
set-option -g status-fg colour136 #yellow | |
set-option -g status-attr default | |
# set window split | |
bind-key v split-window -h | |
bind-key b split-window | |
# default window title colors |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
" set rtp+=~/.vim/bundle/Vundle.vim | |
" call vundle#begin() | |
" " alternatively, pass a path where Vundle should install plugins | |
" "call vundle#begin('~/some/path/here') | |
" | |
" " let Vundle manage Vundle, required |