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
| PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b $ ' | |
| 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 |
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
| [ | |
| { | |
| "type": "shellScriptTitledButton", | |
| "width": 60, | |
| "refreshInterval": 2, | |
| "source": { | |
| "inline": "/usr/local/bin/osx-cpu-temp" | |
| }, | |
| "align": "left", | |
| "bordered": false |
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
| // Insert a text from *.po file to `str` var, | |
| // then copy result table (ctrl+a, ctrl+c) to ms excel/google spreadsheets (ctrl+v) | |
| // You can use https://jsfiddle.net or https://codepen.io for quick use | |
| // https://codepen.io/anon/pen/aKpwxL?editors=1010 | |
| const str = ` | |
| #For example: | |
| msgid "My name" | |
| msgstr "Mein Name" | |
| `; |
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
| ./vendor/bin/doctrine orm:generate-proxies |
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
| [ | |
| // Exit from visual mode | |
| { | |
| "key": "ctrl+c", | |
| "command": "extension.vim_escape" | |
| }, | |
| // Go to prev pane | |
| { | |
| "key": "ctrl+shift+h", |
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
| open /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir=~/ChromeUserData/ |
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
| # tony777@Tony777s-iMac | ~/projects $ | |
| export PS1='\[\e[0;32m\]\u\[\e[m\]\[\e[0;32m\]@\[\e[m\]\[\e[0;32m\]\h\[\e[m\] | \[\e[1;33m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]' |
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
| { | |
| "currentStep": 3, | |
| "step1": { | |
| "content": { | |
| "title": "Поможем оформить интересную новость", | |
| "preview": "«МойДом» подготовил ряд советов и правил, \nпридерживаясь которых, Вам удастся сделать интересный \nи визуально приятный материал для прочтения", | |
| "original": "/st1/zgljamn4/1467984924577fac1c66483.jpg" | |
| } | |
| }, | |
| "step2": { |
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
| /** | |
| * Returns normalized selection values so you can be sure that `anchorKey` is the | |
| * first and `focusKey` the last block in your selection. | |
| * | |
| * @see https://gist.github.com/johanneslumpe/5865625e2992d0718cfb45d8a4c47879 | |
| * | |
| * @param {object} selection A draft.js `SelectionState` instance | |
| * | |
| * @return {object} An object containing normalized `anchorKey`, `anchorOffset`, | |
| * `focusKey` and `focusOffset` values. |
NewerOlder