Go to PUPHPET and create your VM. Check Install Xdebug on step 4 (Languages > PHP).
First check that everything went right while provisioning your VM: Create a new file named info.php
and put the following code in it:
#/usr/bin/php
# Put this inside the <VirtualHost> directive | |
<Location /blog> | |
RequestHeader set X-Is-Reverse=Proxy true | |
RequestHeader set X-Original-Host yourwebsite.com | |
ProxyPass http://yourpressableblog.com | |
ProxyPassReverse http://yourpressableblog.com | |
</Location> |
<?php | |
/* @var $installer Mage_Core_Model_Resource_Setup */ | |
$installer = $this; | |
$installer->startSetup(); | |
$connection = $installer->getConnection(); | |
$identifier = 'id-goes-here'; | |
$title = 'Title Goes Here'; |
Go to PUPHPET and create your VM. Check Install Xdebug on step 4 (Languages > PHP).
First check that everything went right while provisioning your VM: Create a new file named info.php
and put the following code in it:
#/usr/bin/php
#!/bin/bash | |
# How to set these variables: | |
# | |
# GitHub_Owner | |
# GitHub_Repo | |
# | |
# Example use: | |
# | |
# The Linde Group has repos on GitHub available |
#!/bin/bash | |
# Stop all containers | |
containers=`docker ps -a -q` | |
if [ -n "$containers" ] ; then | |
docker stop $containers | |
fi | |
# Delete all containers | |
containers=`docker ps -a -q` | |
if [ -n "$containers" ]; then | |
docker rm -f -v $containers |
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) | |
08/2018 OR 10/2020 737 7373 |
<?php | |
namespace Acme\Util; | |
/** | |
* ImageExtractor | |
*/ | |
class ImageExtractor | |
{ | |
const FORMAT_JPG = 'jpg'; |
#!/bin/bash | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
rbenv install 1.9.3-p551 | |
rbenv global 1.9.3-p551 | |
gem install --no-ri --no-rdoc mailcatcher -v0.5.12 | |
rbenv rehash |
/* | |
The intent of this script is for posting filtered Gmail messages to Slack. | |
This script could be used on its own with manually-marked messages, but it | |
is most useful it when combined with a Gmail filter. The script assumes that | |
target messages have had a specific label set on them and have been starred. | |
The Apps Script can then be set to run periodically. | |
2015/02 cmyers, rush | |
// Google Maps change zoom level | |
// just append &z=15 at the end of src url | |
<iframe src="https://www.google.com/maps/d/embed?mid=zFZSXubrjIbQ.kTtvWjBE06QI&z=15" width="640" height="480"></iframe> |