- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| # -*- coding: UTF-8 -*- | |
| import os | |
| import stat | |
| import argparse | |
| from urllib.parse import urlunparse | |
| from urllib.request import pathname2url | |
| # wget https://gist.github.com/alexandr-san4ez/d740600560fd51e84be5e75d287184e2/raw/1dab00b6e4a9b4ff4a8b6e0771ef4b4f7a2c9d02/git-remote-deploy.py -q -O- | python3 - -h |
| @echo off | |
| set MEGAPATH=C:\path\Megatools | |
| IF "%1"=="-h" ( | |
| echo All commands: | |
| echo reg - Register and verify a new mega account. | |
| echo df - Show your cloud storage space usage/quota. | |
| echo ls - List all remote files. | |
| echo mkdir - Create remote directory. |
| #!/bin/sh | |
| git config --global alias.co checkout | |
| git config --global alias.cb "checkout -b" | |
| git config --global alias.chm "checkout master" | |
| git config --global alias.st status | |
| git config --global alias.ai "add -i" | |
| git config --global alias.pofm "push origin +master" | |
| git config --global alias.po "push origin" | |
| git config --global alias.gg 'log --oneline --abbrev-commit --all --graph --decorate --color' | |
| git config --global alias.ggs 'log --color --date-order --graph --oneline --decorate --simplify-by-decoration --all' |