updates
This commit is contained in:
parent
4e0b364555
commit
b19051d266
@ -16,10 +16,6 @@ alias shrug="echo -n '¯\_(ツ)_/¯' | pbcopy"
|
|||||||
alias sl="source local.env"
|
alias sl="source local.env"
|
||||||
alias stabbats='sudo killall VDCAssistant && open https://appear.in/stab-bats'
|
alias stabbats='sudo killall VDCAssistant && open https://appear.in/stab-bats'
|
||||||
|
|
||||||
if [[ $OSTYPE == darwin* ]]; then
|
|
||||||
alias rm=trash;
|
|
||||||
fi;
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
function adtest () {
|
function adtest () {
|
||||||
no_slashes="$(echo "$1" | sed -e 's/\//\./g')";
|
no_slashes="$(echo "$1" | sed -e 's/\//\./g')";
|
||||||
@ -52,3 +48,4 @@ function h () {
|
|||||||
# options
|
# options
|
||||||
export LESS=-RFX
|
export LESS=-RFX
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
|
alias love="/Applications/love.app/Contents/MacOS/love"
|
||||||
|
12
bin/mysql_add_user.sh
Executable file
12
bin/mysql_add_user.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
newUser='klaviyo'
|
||||||
|
newDbPassword='oyivalk'
|
||||||
|
newDb='test_klaviyo'
|
||||||
|
host=localhost
|
||||||
|
#host='%'
|
||||||
|
|
||||||
|
commands="CREATE DATABASE \`${newDb}\`;GRANT USAGE ON *.* TO '${newUser}'@'${host}' IDENTIFIED BY '${newDbPassword}';GRANT ALL privileges ON \`${newDb}\`.*
|
||||||
|
TO '${newUser}'@'${host}';FLUSH PRIVILEGES;"
|
||||||
|
|
||||||
|
echo "${commands}" | mysql -u root
|
@ -1,5 +1,6 @@
|
|||||||
python setup.py clean
|
python setup.py clean
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
|
python3 setup.py sdist bdist_wheel
|
||||||
gpg --detach-sign -a dist/*.gz
|
gpg --detach-sign -a dist/*.gz
|
||||||
gpg --detach-sign -a dist/*.whl
|
gpg --detach-sign -a dist/*.whl
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8fa3b627b6acc8fb2560b843c47927514bc5fa1d
|
Subproject commit 09be78c35ee84f858f724442b94ad045ade23eb0
|
@ -8,7 +8,6 @@ zstyle ':prezto:load' pmodule \
|
|||||||
'utility' \
|
'utility' \
|
||||||
'completion' \
|
'completion' \
|
||||||
'git' \
|
'git' \
|
||||||
'python' \
|
|
||||||
'prompt' \
|
'prompt' \
|
||||||
'tmux'
|
'tmux'
|
||||||
|
|
||||||
|
12
zshrc.local
12
zshrc.local
@ -9,7 +9,7 @@ export LESS=' -R '
|
|||||||
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
|
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
|
||||||
|
|
||||||
# Python Virtualenv + Wrapper
|
# Python Virtualenv + Wrapper
|
||||||
export PROJECT_HOME=$HOME/AddGeneProjects
|
export VIRTUALENVWRAPPER_PYTHON="/usr/local/opt/python/libexec/bin/python"
|
||||||
export WORKON_HOME=$HOME/.virtualenvs
|
export WORKON_HOME=$HOME/.virtualenvs
|
||||||
if [ -e $HOME/.local/bin/virtualenvwrapper.sh ];then
|
if [ -e $HOME/.local/bin/virtualenvwrapper.sh ];then
|
||||||
source $HOME/.local/bin/virtualenvwrapper.sh
|
source $HOME/.local/bin/virtualenvwrapper.sh
|
||||||
@ -22,6 +22,7 @@ export PYTHONSTARTUP=$HOME/.pythonstartup.py
|
|||||||
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
|
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
|
||||||
export NPM_PACKAGES="${HOME}/.npm-packages"
|
export NPM_PACKAGES="${HOME}/.npm-packages"
|
||||||
export PATH="$NPM_PACKAGES/bin:$GOPATH/bin:$HOME/bin:$PATH"
|
export PATH="$NPM_PACKAGES/bin:$GOPATH/bin:$HOME/bin:$PATH"
|
||||||
|
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
|
||||||
|
|
||||||
# Go Stuff
|
# Go Stuff
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
@ -38,16 +39,9 @@ if [[ $OSTYPE == "darwin*" ]];then
|
|||||||
#CPPFLAGS: -I/usr/local/opt/mariadb@10.1/include
|
#CPPFLAGS: -I/usr/local/opt/mariadb@10.1/include
|
||||||
#PKG_CONFIG_PATH: /usr/local/opt/mariadb@10.1/share/pkgconfig
|
#PKG_CONFIG_PATH: /usr/local/opt/mariadb@10.1/share/pkgconfig
|
||||||
fi
|
fi
|
||||||
export PATH="$HOME/.Pokemon-Terminal:$PATH"
|
|
||||||
|
|
||||||
eval `ssh-agent -s`
|
|
||||||
if [ -e ~/.ssh/id_addgene ];then
|
|
||||||
ssh-add ~/.ssh/id_addgene
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e $HOME/.credentials ];then
|
|
||||||
source $HOME/.credentials
|
|
||||||
fi
|
|
||||||
|
|
||||||
source ~/.bash_aliases
|
source ~/.bash_aliases
|
||||||
unsetopt share_history
|
unsetopt share_history
|
||||||
|
export PATH=/usr/local/bin:$PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user