Skip to content

Instantly share code, notes, and snippets.

@JaviSoto
JaviSoto / newJiraTask.py
Created May 5, 2012 02:41
Python script to create a task on Jira (You can use this with Alfred)
import sys
import webbrowser as wb
import simplejson as json
from restkit import Resource, BasicAuth, request
def createTask(server_base_url, user, password, project, task_summary):
auth = BasicAuth(user, password)

How to combine AWS Elastic Beanstalk, Docker and AWS CloudFormation

Introduction

This text explains how to create and deploy a Docker-based AWS Elastic Beanstalk site and how to control it using CloudFormation.

Please find the CloudFormation template at the end of this Gist.

We assume that you are familiar with AWS ElasticBeanstalk, AWS CloudFormation and Docker.

@ryo0301
ryo0301 / cf-audit-cloudtrail.template
Last active August 11, 2017 08:29
CloudFormation - CloudTrail template
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Parameters" : {
"BucketName" : {
"Description" : "Name of the S3 bucket.",
"Type" : "String"
},
"TopicName" : {
"Description" : "Name of the SNS topic.",
"Type" : "String",
@mefellows
mefellows / BundleConfig.ps1
Last active December 25, 2023 23:33
Sysprepped Windows AMI using Packer
$EC2SettingsFile="C:\\Program Files\\Amazon\\Ec2ConfigService\\Settings\\BundleConfig.xml"
$xml = [xml](get-content $EC2SettingsFile)
$xmlElement = $xml.get_DocumentElement()
foreach ($element in $xmlElement.Property)
{
if ($element.Name -eq "AutoSysprep")
{
$element.Value="Yes"
}