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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the 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
wget -O - dev.mage2.com:1005/sitemap-1-1.xml | grep -E -o '<loc>.*</loc>' | sed -e 's/<loc>//g' -e 's/<\/loc>//g' > ~/sitemaps/mage2.txt | |
sudo siege -c100 -d5 -r1 -v -i -f ~/sitemaps/mage2.txt |
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
<?php | |
//$client = new SoapClient('https://pprod-geoship.dpsin.dpdgroup.com/IT4EMWebServices/LoginGeoshipWebservicesImpl?wsdl', array('trace' => 1)); | |
$client = new SoapClient('https://pprod-geoship.dpsin.dpdgroup.com/IT4EMWebServices/CustomerServicesImpl?wsdl', array('trace' => 1)); | |
try { | |
$data = [ | |
'wsUserName' => 'ATWIX', | |
'wsPassword' => 'td3WT4aw44', | |
'wsLang' => 'en', | |
'applicationType' => 2, |