sudo apt-get update && sudo apt-get install -y git wget unzip
git clone https://github.com/OpenMage/magento-mirror.git ./ ;
tar -xf compressed-magento-sample-data-1.9.1.0.tgz ;
cp -rv magento-sample-data-1.9.1.0/* ./ ;
sudo apt-get update && sudo apt-get install -y git wget unzip
git clone https://github.com/OpenMage/magento-mirror.git ./ ;
tar -xf compressed-magento-sample-data-1.9.1.0.tgz ;
cp -rv magento-sample-data-1.9.1.0/* ./ ;
| Adyen Test Card Numbers | |
| These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform. | |
| For all cards use the following expiration and CVV2/CVC2/or CID for Amex. | |
| For all cards: | |
| Expiration Dates CVV2 / CVC3 CID (American Express) | |
| 06/2016 OR 08/2018 737 7373 |
| <!-- Facebook Custom Audience Pixel Code - Placed on Every Page of Site --> | |
| <script> | |
| !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
| n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; | |
| n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; | |
| t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, | |
| document,'script','//connect.facebook.net/en_US/fbevents.js'); | |
| fbq('init', '{{facebook pixel}}'); | |
| fbq('track', 'PageView'); | |
| </script> |
| <?php | |
| /** | |
| * @author Lucas Freitas <[email protected] | |
| * @license MIT | |
| * @package PagSeguro | |
| * @category eCommerce, Loja Virtual, Pagamentos, PagSeguro | |
| */ | |
| class Pagseguro { |
| /*Custom Radio Buttons and Checkboxes using Font Awesome*/ | |
| input[type=radio], | |
| input[type='checkbox'] { | |
| display: none; | |
| } | |
| input[type=radio] + label { | |
| display: block; | |
| } | |
| input[type='checkbox'] + label:before, |
| --------------- | |
| Configurar Java | |
| --------------- | |
| sudo mkdir /opt/jdk | |
| mkdir /opt/jdk/jdk8 | |
| mkdir /opt/jdk/jdk7 | |
| mkdir /opt/jdk/jdk6 |
Sublime Text 3 is a very popular text editor among developers. It is provided for free, but every few saves, you get a popup asking you to purchase Sublime Text for $80.
Now this is a wonderful piece of software, but not everyone has the $80+ to purchase a license for Sublime Text. However, I strongly recommend to eventually buy a license if you have the money to spare to support the development of ST.
Now, let's get into the cracking
Note: At the license prompt for MacOS, enter in any garbage, even a single letter and click Use License.
| #################### | |
| # CLI cheatsheet # | |
| #################### | |
| # cheatsheet directory location: | |
| CHEATDIR=~/.cheatsheet | |
| # Use 'vicheat' to edit the cheatsheet | |
| alias vicheat='vim $CHEATDIR/command_cheatsheet' |
Needing a place to keep a list of all the tools/references used during Magento development.
| #!/bin/bash | |
| PROGNAME=${0##*/} | |
| INPUT='' | |
| QUIET='0' | |
| NOSTATS='0' | |
| max_input_size=0 | |
| max_output_size=0 | |
| usage() |