Last active
December 20, 2015 14:19
-
-
Save sineld/6145638 to your computer and use it in GitHub Desktop.
Linux Kısayolları
# chmod +x fy.sh
# sh fy.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard.'" | |
# User specific aliases and functions | |
function gc { | |
git add -A | |
git commit -m "$1" | |
git push | |
} | |
# yollar | |
alias ev='cd /home/sineld | |
ll' | |
alias fy='cd /home/sineld/public_html/_fy.se | |
ll' | |
alias fyg='cd /home/sineld/public_html/_fy.se' | |
# kisayollar | |
alias g.pull='fyg | |
git pull' | |
alias g.push='fyg | |
sh git.sh' | |
alias art='php artisan' | |
alias f.d='fy | |
sh db.sh' | |
alias f.i='ev | |
cd public_html | |
sh fy.sh' | |
alias cls='clear' | |
alias h='history' | |
alias composer='/usr/local/bin/composer.phar' | |
alias c='composer' | |
alias c.a='php composer.phar dump-autoload' | |
alias c.u='composer update' | |
alias c.s='composer self-update' | |
alias c.i='composer install' | |
alias kisayol='cd /home/sineld | |
gedit .bashrc' | |
alias y.c='yum clean all' | |
alias y.cu='yum check-update' | |
alias y.r='yum repolist' | |
alias y.du='yum update' | |
alias y.b='yum clean all && yum check-update' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan migrate:install | |
php artisan migrate:reset | |
php artisan migrate --package=cartalyst/sentry | |
php artisan migrate | |
php artisan db:seed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /home/sineld/public_html/ | |
sudo rm -rf _fy.se | |
git clone git@github.com:sineld/fy.git _fy.se | |
chmod 777 -R /home/sineld/public_html/_fy.se/app/storage | |
chmod 777 -R /home/sineld/public_html/_fy.se/public_html/builds | |
cd /home/sineld/public_html/_fy.se/ | |
php artisan migrate:install | |
php artisan migrate:reset | |
php artisan migrate --package=cartalyst/sentry | |
php artisan migrate | |
php artisan db:seed | |
sudo /usr/local/bin/composer.phar self-update | |
/usr/local/bin/composer.phar update | |
git init | |
git add -A | |
git commit -m "Composer Update" | |
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git add -A | |
git commit -m "Güncelleme" | |
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ev='cd /home/sineld | |
ll' | |
alias fy='cd /home/sineld/public_html/_fy.se | |
ll' | |
alias gbt='cd /home/sineld/public_html/_gbt.se' | |
alias pbcopy='xsel --clipboard --input' | |
alias pbpaste='xsel --clipboard --output' | |
alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'SSH Key Copied to clipboard.'" | |
alias ..='cd ..' | |
alias ll='ls -l' | |
alias l='ll' | |
alias gedit='pluma' | |
alias gp='git pull' | |
alias gs='git status' | |
function gc { | |
git add -A | |
git commit -m "$1" | |
git push | |
} | |
alias art='php artisan' | |
alias cls='clear' | |
alias h='history' | |
alias composer='/usr/local/bin/composer.phar' | |
alias c='composer' | |
alias c.a='composer dump-autoload' | |
alias c.u='composer update' | |
alias c.s='cd /usr/local/bin/ | |
sudo composer.phar self-update' | |
alias c.i='composer install' | |
alias kisayol='cd /home/sineld | |
gedit .bashrc' | |
alias conf='sudo pluma /etc/apache2/apache2.conf' | |
alias hosts='sudo pluma /etc/hosts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment