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
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " |
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
composer require symfony/debug:3.4.8 | |
composer require symfony/dom-crawler:3.4.9 | |
composer require --dev drupal/console |
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
brew remove mysql | |
brew cleanup | |
sudo rm /usr/local/mysql | |
sudo rm -rf /usr/local/var/mysql | |
sudo rm -rf /usr/local/mysql* | |
sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist | |
sudo rm -rf /Library/StartupItems/MySQLCOM | |
sudo rm -rf /Library/PreferencePanes/My* | |
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist | |
#(Edit /etc/hostconfig) sudo nano /etc/hostconfig (Remove line MYSQLCOM=-YES) or run the next line |
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
#!/bin/bash | |
brew remove [email protected] | |
# Or 'brew remove mysql' | |
brew cleanup | |
sudo rm /usr/local/mysql | |
sudo rm -rf /usr/local/var/mysql | |
sudo rm -rf /usr/local/mysql* | |
sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist | |
sudo rm -rf /Library/StartupItems/MySQLCOM | |
sudo rm -rf /Library/PreferencePanes/My* |
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
brew update && brew install [email protected] | |
# or you can use 'brew install mysql' to install the latest version of MySql |
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
bash <(curl -s https://gist.githubusercontent.com/stillfinder/d35cd54805105a4a8e4aed8b019afaae/raw/20ff2cbb5b87a6ad8edec443130a176f2ba4811b/uninstall_mysql_script.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
<script src='https://english-testing-bot.net.ua/js/etbwidget.js'></script> | |
<script src='https://english-testing-bot.net.ua/js/widget.js'></script> |
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
Show hidden characters
[ | |
{ "keys": ["super+d"], "command": "duplicate_line" }, | |
{ "keys": ["super+shift+d"], "command": "find_under_expand" }, | |
// PHP Companion | |
{ "keys": ["alt+e"], "command": "expand_fqcn" }, | |
{ "keys": ["shift+f6"], "command": "expand_fqcn", "args": {"leading_separator": true} }, | |
{ "keys": ["alt+i"], "command": "find_use" }, | |
{ "keys": ["f4"], "command": "import_namespace" }, | |
// { "keys": ["f3"], "command": "implement" }, |
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
{ | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"downloader_precedence": | |
{ | |
"linux": | |
[ | |
"urllib", | |
"curl", | |
"wget" |