This commit is contained in:
Tyrel Souza 2018-04-05 16:14:03 -04:00
parent 4e0b364555
commit b19051d266
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0
6 changed files with 18 additions and 15 deletions

View File

@ -16,10 +16,6 @@ alias shrug="echo -n '¯\_(ツ)_/¯' | pbcopy"
alias sl="source local.env"
alias stabbats='sudo killall VDCAssistant && open https://appear.in/stab-bats'
if [[ $OSTYPE == darwin* ]]; then
alias rm=trash;
fi;
# Functions
function adtest () {
no_slashes="$(echo "$1" | sed -e 's/\//\./g')";
@ -52,3 +48,4 @@ function h () {
# options
export LESS=-RFX
export PAGER="less"
alias love="/Applications/love.app/Contents/MacOS/love"

12
bin/mysql_add_user.sh Executable file
View 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

View File

@ -1,5 +1,6 @@
python setup.py clean
python setup.py sdist bdist_wheel
python3 setup.py sdist bdist_wheel
gpg --detach-sign -a dist/*.gz
gpg --detach-sign -a dist/*.whl
twine upload dist/*

@ -1 +1 @@
Subproject commit 8fa3b627b6acc8fb2560b843c47927514bc5fa1d
Subproject commit 09be78c35ee84f858f724442b94ad045ade23eb0

View File

@ -8,7 +8,6 @@ zstyle ':prezto:load' pmodule \
'utility' \
'completion' \
'git' \
'python' \
'prompt' \
'tmux'

View File

@ -9,7 +9,7 @@ export LESS=' -R '
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
# Python Virtualenv + Wrapper
export PROJECT_HOME=$HOME/AddGeneProjects
export VIRTUALENVWRAPPER_PYTHON="/usr/local/opt/python/libexec/bin/python"
export WORKON_HOME=$HOME/.virtualenvs
if [ -e $HOME/.local/bin/virtualenvwrapper.sh ];then
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 NPM_PACKAGES="${HOME}/.npm-packages"
export PATH="$NPM_PACKAGES/bin:$GOPATH/bin:$HOME/bin:$PATH"
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
# Go Stuff
export GOPATH=$HOME/go
@ -38,16 +39,9 @@ if [[ $OSTYPE == "darwin*" ]];then
#CPPFLAGS: -I/usr/local/opt/mariadb@10.1/include
#PKG_CONFIG_PATH: /usr/local/opt/mariadb@10.1/share/pkgconfig
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
unsetopt share_history
export PATH=/usr/local/bin:$PATH