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
SELECT | |
"Est_Handler_Magento_CoreConfigData" AS handler, | |
scope AS param1, | |
scope_id AS param2, | |
path AS param3, | |
"" AS groups, | |
`value` AS `default`, | |
'' AS devbox, | |
'' AS deploy, | |
'' AS latest, |
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
brew cask list | xargs brew cask install --force |
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
composer run-script post-install-cmd -vvv -- --redeploy |
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
FTP server with simple user management and aws guide | |
https://help.ubuntu.com/community/PureFTP | |
****For AWS read to the bottom. YOURIP is your aws instance external. use ELASTIC IP for same ip after restarting |
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
jQuery.noConflict() | |
if Prototype.BrowserFeatures.ElementExtensions | |
disablePrototypeJS = (method, pluginsToDisable) -> | |
handler = (event) -> | |
event.target[method] = undefined | |
setTimeout -> | |
delete event.target[method] | |
return |
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
Go to https://analytics.google.com | |
#Step1 | |
-Create an account | |
-Create a property | |
-Create a view named "Global" | |
#Step2 | |
Create a view named "site.com" | |
Go to filters and create new one with |
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
find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \; | |
find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \; | |
chown -R :www-data . | |
add | |
umask 002 | |
to you dotfile. It let create new file and folder with group write permissions |
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
php bin/magento setup:install \ | |
--db-host='127.0.0.1' --db-name='project_mage' --db-user='root' --db-password='password' \ | |
--base-url='http://www.project.loc' --language='en_US' --timezone='Europe/Rome' --currency='EUR' \ | |
--admin-firstname='Alex' --admin-lastname='Bordin' \ | |
--admin-email='[email protected]' --admin-user='admin' --admin-password='password' \ | |
--cleanup-database --use-rewrites=1 \ | |
--key='yourkey' |
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
#!/bin/bash | |
BRANCH=$1 | |
BRANCHSTG=$2 | |
if [ -z $BRANCH ]; | |
then | |
echo "You must specify branch" | |
echo "megeinstaging branch branch-staging" | |
exit 1 |
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
[ | |
{ "keys": ["super+y"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["super+d"], "command": "duplicate_line" }, //-- Default is super+shift+D | |
{ "keys": ["super+`"], "command": "toggle_side_bar" }, | |
{ "keys": ["super+shift+up"], "command": "swap_line_up" }, | |
{ "keys": ["super+shift+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }, | |
{ "keys": ["super+down"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"} }, |