I hereby claim:
- I am brandonshutter on github.
- I am shuttersaic (https://keybase.io/shuttersaic) on keybase.
- I have a public key ASCbsoDgI95-xxg8vfMsSLdgX_rSRrTbqPmmSXSxrGrFwAo
To claim this, I am signing this object:
| AWSServicesArray = [ "account", "acm-certificate", "airflow", "alarm", "ami", "apigw-domain-name", "app-elb", "app-elb-target-group", "app-flow", "asg", "backup-plan", "backup-vault", "batch-compute", "batch-definition", "batch-queue", "cache-cluster", "cache-snapshot", "cache-subnet-group", "catalog-portfolio", "cfn", "cloud-directory", "cloudhsm-cluster", "cloudsearch", "cloudtrail", "artifact-domain", "artifact-repo", "codebuild", "codecommit", "codedeploy-app", "codedeploy-deployment", "codedeploy-group", "codepipeline", "config-recorder", "config-rule", "customer-gateway", "datapipeline", "dax", "directconnect", "directory", "distribution", "dlm-policy", "dms-endpoint", "dms-instance", "dynamodb-backup", "dynamodb-stream", "dynamodb-table", "ebs", "ebs-snapshot", "ec2", "ec2-reserved", "ec2-host", "ec2-spot-fleet-request", "ecr", "ecr-image", "ecs", "ecs-container-instance", "ecs-service", "ecs-task", "ecs-task-definition", "efs", "efs-mount-target", "eks", "eks-nodegrou", "elasticbeanstalk", "elasti |
I hereby claim:
To claim this, I am signing this object:
| # Setup a proper path, I call my virtualenv dir "venv" and | |
| # I've got the virtualenv command installed in /usr/local/bin | |
| PATH=$WORKSPACE/venv/bin:/usr/local/bin:$PATH | |
| # Move the source into it's own directory | |
| SRC_DIR=eli5 | |
| mkdir $SRC_DIR | |
| mv * $SRC_DIR/ || : | |
| mv .git/ $SRC_DIR/ || : | |
| # Generate a new virtual enviroment | |
| if [ ! -d "venv" ]; then |
| <?php | |
| if ( function_exists( 'Receiptful' ) ) : | |
| add_action('receiptful_order_status_processing_notification', 'receiptful_no_receipt_virtual_orders', 5, 1); | |
| function receiptful_no_receipt_virtual_orders($order_id) | |
| { | |
| $order = new WC_Order($order_id); | |
| if (count($order->get_items()) > 0) { | |
| foreach ($order->get_items() as $item) { | |
| if ('line_item' == $item['type']) { |
| <?php | |
| /** | |
| * Remove standard image sizes so that these sizes are not created during the Media Upload process | |
| * | |
| * @param $sizes, array of default images | |
| * @return $sizes, new array of images | |
| */ | |
| function cn_image_sizes( $sizes) { | |
| #! /bin/bash | |
| # A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn | |
| # The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo. | |
| # main config | |
| PLUGINSLUG="camptix-payfast-gateway" | |
| CURRENTDIR=`pwd` | |
| MAINFILE="camptix-payfast.php" # this should be the name of your main php file in the wordpress plugin | |
| # git config |