I hereby claim:
- I am jkodroff on github.
- I am jkodroff (https://keybase.io/jkodroff) on keybase.
- I have a public key ASBvthNxNwc-GeV746vq-tYHwA1rO6nxQ_S3PF0hlwPIMAo
To claim this, I am signing this object:
const sg = new aws.ec2.SecurityGroup("ssm-sg", { | |
vpcId: vpcId, | |
description: "Allow all egress, no ingress.", | |
egress: [{ | |
fromPort: 0, | |
toPort: 0, | |
protocol: "-1", | |
cidrBlocks: ["0.0.0.0/0"], | |
description: "Allow all" | |
}] |
#!/bin/bash | |
pulumi convert --language python --out python --generate-only || true | |
pulumi convert --language typescript --out typescript --generate-only || true | |
pulumi convert --language java --out java --generate-only || true | |
pulumi convert --language go --out go || true | |
pulumi convert --language csharp --out csharp || true | |
# Read each source file | |
TS_SRC=$(cat typescript/index.ts) |
// TfDataSourceToPulumi converts a given Terraform data source name tfName (e.g. "provider_foo_bar") and returns the | |
// standard conversion to a Pulumi function name (e.g. "getFooBar") | |
func TfDataSourceToPulumi(tfName string) string { | |
parts := strings.Split(tfName, "_") | |
if len(parts) < 2 { | |
return "" | |
} | |
// The first segment is the provider name, which we do not include in the Pulumi name. | |
parts = parts[1:] |
#!/usr/bin/env bash | |
# Usage: source ./refresh_creds.sh | |
# NOTE: You *must* source this file because it modifies environment variables. | |
# Executing the script directly will not change the calling shell's environment. | |
if [ -z ${AWS_MFA_DEVICE_ARN+x} ] | |
then | |
echo "Environment variable AWS_MFA_DEVICE_ARN must be set to the ARN of your MFA device." | |
return 1 | |
fi |
I hereby claim:
To claim this, I am signing this object:
__pycache__/ | |
.molecule/ | |
.pytest_cache/ | |
*-console.log |
Microsoft Visual Studio Solution File, Format Version 12.00 | |
# Visual Studio 2013 | |
VisualStudioVersion = 12.0.21005.1 | |
MinimumVisualStudioVersion = 10.0.40219.1 | |
Global | |
GlobalSection(SolutionProperties) = preSolution | |
HideSolutionNode = FALSE | |
EndGlobalSection | |
EndGlobal |
hg clone http://bitbucket.org/durin42/hg-git/ C:\hg-git |
obj/ | |
[Bb]in | |
[Dd]ebug*/ | |
[Rr]elease*/ | |
_ReSharper*/ | |
*.resharper | |
*.csproj.user | |
TestResult.xml | |
/src/Packages.dgml | |
*.suo |
var scheduledTime = DateTime.Today.AddHours(19).AddMinutes(-1).ToUniversalTime(); | |
new RecurringJobManager() | |
.AddOrUpdate( | |
"upcoming-jobs-email", | |
Job.FromExpression(() => ObjectFactory.GetInstance<BackgroundJobs.UpcomingJobsEmails>().Run()), | |
// M-F, 6:59 PM, but in UTC (as Hangfire can only process UTC) and a minute early so it's on the same day | |
"{0} {1} * * 1-5" | |
.ToFormat(scheduledTime.Minute, scheduledTime.Hour) | |
); |