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
resource "helm_release" "cert_manager" { | |
name = "cert-manager" | |
namespace = kubernetes_namespace.ingress.id | |
#repository = data.helm_repository.jetstack.name | |
chart = "jetstack/cert-manager" | |
version = "v1.1.0" | |
values = [file("${path.module}/cert-manager.yaml")] | |
set { | |
name = "podAnnotations.iam\\.amazonaws\\.com/role" |
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
provider "aws" { | |
region = "us-east-1" | |
} | |
# Resource to create S3 bucket for storing remote state file | |
resource "aws_s3_bucket" "s3-terraform-state-storage" { | |
bucket = "s3-terraform-state-storage" | |
versioning { | |
enabled = true | |
} |
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
#import stuff like NotifyCreateView and ProjectForm | |
class ProjectCreate(NotifyCreateView): | |
login_required = True | |
form_class = ProjectForm |
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
function dl() { | |
curl -kO $1 | |
} | |
function gitp () { | |
$NAME=`echo $2 | cut -d"/" -f2` | |
git co $1 && git co -b $NAME && git merge --squash --no-commit $2 | |
} | |
function gitd () { |
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/perl | |
use strict; | |
use Data::Dumper; | |
use Getopt::Long; | |
# author: Gavin Towey, 2008 gtowey@gmail.com | |
# todo, add "follow thread" capability | |
# so we can give a process name or thread id & see | |
# all activity in sequence for each thread |
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
function rgrep() { | |
grep -nRi $1 * | |
} |
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
function rgrep() { | |
grep -nRi $1 * | |
} |