Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
/* Begin Here */ | |
UPDATE wp_posts SET guid = replace(guid, 'http://olddomain.com','http://newdomain.com'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://olddomain.com', 'http://newdomain.com'); | |
UPDATE wp_links SET link_url = replace(link_url, 'http://olddomain.com', 'http://newdomain.com'); | |
UPDATE wp_links SET link_image = replace(link_image, 'http://olddomain.com', 'http://newdomain.com'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://olddomain.com', 'http://newdomain.com'); | |
UPDATE wp_usermeta SET meta_value = replace(meta_value, 'http://olddomain.com', 'http://newdomain.com'); | |
/*UPDATE wp_options SET option_value = replace(option_value, 'http://olddomain.com', 'http://newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl' OR option_name = 'widget_text' OR option_name = 'dashboard_widget_options';*/ | |
UPDATE wp_options SET option_value = replace(option_value, 'http://olddomain.com', 'http://newdomain.com'); |
I hereby claim:
To claim this, I am signing this object:
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
sass: { | |
dist: { | |
files: { | |
'style/style.css' : 'sass/style.scss' | |
} | |
} | |
}, |
takeown /R /F "%userprofile%\AppData\Local\Temporary Internet Files"
del "%userprofile%\AppData\Local\Temporary Internet Files\*"
forfiles /P "%userprofile%\AppData\Local\Temporary Internet Files\*" /C "cmd /c if @isdir==TRUE
rmdir /S /Q @file"
function simulateUserClick(url) { | |
var xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { | |
console.log('send'); | |
} | |
}; | |
xhttp.open("GET", url,true); |
npm install -g grunt-cli
project/magento2/dev/tools/grunt/configs/themes.js
mytheme: {
area: 'frontend',
name: 'YourProject/Theme',
locale: 'en_US',
Setup Upgrade Using Command Line
php bin/magento setup:upgrade
If you don’t want to remove pub/static files while installing/updating database then use following command.
php bin/magento setup:upgrade --keep-generated
Cache Clean Using Command Line
delete all hidden files -> find . -name . -o -prune -exec rm -rf -- {} + |
## | |
## ------------------------- | |
## | D E V I L S T A C K | | |
## ------------------------- | |
## | |
## Local LAMP/LEMP stack | |
## | |
## | |
## ${VARIABLE:-default} will evaluate to default if VARIABLE is unset or empty in the environment. | |
## ${VARIABLE-default} will evaluate to default only if VARIABLE is unset in the environment. |