- actions_apply_to
- admin.scope.col.wrap
- adminhtml.block.report.product.lowstock.grid.container
- adminhtml.catalog.product.set.edit.wrapper
- after.body.start
- alert.urls
- assign_products_container
- available_sort_by_group
- backend.page
- backend.session.activity
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
Product.Config.prototype.fillSelect = Product.Config.prototype.fillSelect.wrap(function(superMethod, element){ | |
var attributeId = element.id.replace(/[a-z]*/, ''); | |
var attribute = this.config.attributes[attributeId]; | |
this.config.chooseText = 'Select ' + this.config.attributes[attributeId].label; | |
return superMethod(element); | |
}); |
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
mysqldump -u [USERNAME] -p [DBNAME] | gzip > [/path_to_file/DBNAME].sql.gz |
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
-r = recursive | |
-P = port | |
scp -r -P 2020 user@SERVER_IP:ABSOLUTE/REMOTE/PATH/TO/REMOTE/FOLDER /ABSOLUTE/PATH/TO/LOCAL/FOLDER/ |
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
git archive --format zip --output /full/path/to/zipfile.zip master |
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
server { | |
listen 80; | |
# this path MUST be exactly as docker-composer.fpm.volumes, | |
# even if it doesn't exist in this dock. | |
root /user/share/nginx/html; | |
index index.php index.html index.html; | |
server_name 192.168.99.100; |
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
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<title>HTML5 Skeleton</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="stylesheet" href=""> | |
<link rel="icon" type="image/png" href=""> |