Skip to content

Commit

Permalink
{+} update
Browse files Browse the repository at this point in the history
  • Loading branch information
csr13 committed Feb 19, 2024
1 parent 43ab52f commit 0d7f39c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 106 deletions.
22 changes: 22 additions & 0 deletions admin/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

if [ $# -ne 2 ]; then
echo "Usage: ./setup.sh admin create-user|delete-user";
exit 1;
fi;

param=$1
user=$2

if [[ $param ~= "create-user" ]]; then
/bin/bash ./admin/create_user.sh $user
elif [[ $param ~= "delete-user" ]]; then
/bin/bash ./admin/delete_user.sh $user
else
echo "valid options are create-user and delete-user";
exit 1;
fi;




42 changes: 0 additions & 42 deletions docker/start-mysql-db.sh

This file was deleted.

30 changes: 0 additions & 30 deletions docker/start-postgres-db.sh

This file was deleted.

13 changes: 0 additions & 13 deletions docker/start-redis.sh

This file was deleted.

3 changes: 0 additions & 3 deletions nginx/README.txt

This file was deleted.

15 changes: 6 additions & 9 deletions vim/.vimrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
if &t_Co > 1
syntax enable
endif

if has('mouse')
set mouse=a
endif

colorscheme elflord
set nocompatible " Set compatibility to Vim only
set textwidth=85 " lines longer than 79 columns will be broken
set shiftwidth=4 " operation >> indents 4 columns; << unindents 4 columns
Expand All @@ -17,31 +16,29 @@ set autoindent " align the new line indent with the previous line
set splitright " split sp: to the right
set backspace=indent,eol,start
set completeopt-=preview

if filereadable(expand("~/.vimrc.plug"))
source ~/.vimrc.plug
endif

if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif

call plug#begin()
Plug 'junegunn/vim-easy-align'
Plug 'preservim/nerdtree'
Plug 'tpope/vim-fireplace'
Plug 'Valloric/YouCompleteMe'
Plug 'vim-airline/vim-airline'
Plug 'itchyny/lightline.vim'
call plug#end()

let g:airline#extensions#tabline#enabled = 1
let g:airline_section_b = "💀😈 itstealthki 😈💀"
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType html set textwidth=256

nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
filetype plugin indent on

set laststatus=2

7 changes: 0 additions & 7 deletions vim/post-vim.sh

This file was deleted.

2 changes: 0 additions & 2 deletions vim/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

export DEBIAN_FRONTEND=noninteractive

chmod +x vim/post-vim.sh && vim/post-vim.sh

cp vim/.vimrc ~/.vimrc

0 comments on commit 0d7f39c

Please sign in to comment.