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
#!/usr/bin/env bash | |
# | |
# Usage: | |
# s3-get.sh <bucket> <region> <source-file> <dest-path> | |
# | |
# Description: | |
# Retrieve a secured file from S3 using AWS signature 4. | |
# To run, this shell script depends on command-line curl and openssl | |
# | |
# References: |
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 | |
/* Charging a Customer | |
For a customer, you can use the same HTML, CSS, and JS. You just have to change the PHP script. You have to create a Customer object then charge this customer object. | |
*/ | |
\Stripe\Stripe::setApiKey("____YOUR_STRIPE_SECRET_KEY____"); | |
// Get the token from the JS script | |
$token = $_POST['stripeToken']; |
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 | |
/** | |
* | |
* Shows the products/categories of a category | |
* | |
* @package VirtueMart | |
* @subpackage | |
* @author Max Milbers | |
* @link ${PHING.VM.MAINTAINERURL} | |
* @copyright Copyright (c) 2004 - 2014 VirtueMart Team. All rights reserved. |
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
alias gc=gitCheckout | |
. | |
. | |
. | |
gitCheckout() { | |
git checkout -b $1 origin/$1 | |
} |