git config --global alias.lazy '!f() { git add -A && git commit -m "$@" && git push; }; f'
and use this command for add, and commit
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| clear && neofetch | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| ZSH_THEME="spaceship" |
| version: '3.8' | |
| services: | |
| rabbitmq: | |
| image: rabbitmq:3-management | |
| hostname: my-rabbit | |
| volumes: | |
| - ./rabbitmq/etc/definitions.json:/etc/rabbitmq/definitions.json | |
| - ./rabbitmq/etc/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf | |
| - ./rabbitmq/data:/var/lib/rabbitmq/mnesia/rabbit@my-rabbit |
| package auth | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "net" | |
| "net/http" | |
| "net/url" |
| func BenchmarkCreate(b *testing.B) { | |
| db, err := gorm.Open("postgres", "host=localhost port=5432 user=testuser dbname=testdb password=123456 sslmode=disable") | |
| if err != nil { | |
| fmt.Println(err) | |
| } | |
| defer db.Close() | |
| users := stubUsers(b) | |
| tx := db.Begin() | |
| valueStrings := []string{} |
| <html> | |
| <head> | |
| <style type='text/css'> | |
| body, html { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| color: black; | |
| display: table; |
| sudo add-apt-repository ppa:ondrej/php | |
| sudo apt-get update | |
| sudo apt-get install php7.1 | |
| sudo apt-get install php7.1-cli php7.1-common php7.1-json php7.1-opcache php7.1-mysql php7.1-mbstring php7.1-mcrypt php7.1-zip php7.1-fpm php7.1-intl php7.1-simplexml | |
| sudo a2dismod php7.2 | |
| sudo a2enmod php7.1 | |
| sudo service apache2 restart | |
| sudo update-alternatives --set php /usr/bin/php7.1 | |
| sudo update-alternatives --set phar /usr/bin/phar7.1 | |
| sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.1 |
| git branch | grep -v "master\|develop" | xargs git branch -D |
| @if ($paginator->hasPages()) | |
| <ul class="pagination flex justify-between mx-4 mt-4 list-reset text-white font-bold"> | |
| {{-- Previous Page Link --}} | |
| @if ($paginator->onFirstPage()) | |
| <li class="disabled"> | |
| <span class="button bg-transparent border border-brown py-2 px-4 rounded opacity-50 cursor-not-allowed">@lang('pagination.previous')</span> | |
| </li> | |
| @else | |
| <li> |