This file contains hidden or 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
| /** | |
| * Класс для отправки запросов на сервер | |
| * @param {string} url | |
| * @param {object} options колбэки для обраотки запроса, данные для отпраки | |
| * @return {object} возвращает экземпляр xhr запроса | |
| */ | |
| function Reqeust(url, options) { | |
| // Тип запроса | |
| var requestType = options.requestType || 'POST'; |
This file contains hidden or 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 branch --merged test | grep '^ 160' |
This file contains hidden or 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 gs='git status' | |
| alias gadd="git add -A .;clear;git status" | |
| # Push current branch | |
| # Note: befoe - type in console "git config --global push.default=current" | |
| alias pushcurrent="git push origin" | |
| # Pull current branch | |
| function pullcurrent { | |
| git pull origin "$(git rev-parse --abbrev-ref HEAD)" |
This file contains hidden or 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
| # Push current branch | |
| # Note: befoe - type in console "git config --global push.default=current" | |
| alias pushcurrent="git push origin" | |
| # Pull current branch | |
| function pullcurrent { | |
| git pull origin $(git rev-parse --abbrev-ref HEAD) | |
| } |
This file contains hidden or 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
| # Ctr to Alt | |
| #set -g prefix m-'\' | |
| # Update default key | |
| unbind C-b | |
| set -g prefix C-t | |
| bind C-t send-prefix | |
| # For copy on Esc key | |
| unbind [ | |
| bind Escape copy-mode |
This file contains hidden or 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 vrc="vim ~/.vimrc" | |
| alias pvrc="vim .vimrc" | |
| #-- GIT | |
| alias gs='git status' | |
| alias gadd="git add -A .;clear;git status" | |
| alias pushorigin="git push origin" | |
| alias pullmaster="git pull origin master" | |
| alias pullcurrent="git pull origin $(git rev-parse --abbrev-ref HEAD)" |
NewerOlder