Skip to content

Instantly share code, notes, and snippets.

View pauljamescleary's full-sized avatar

Paul Cleary pauljamescleary

  • Philadelphia, PA
View GitHub Profile
vinyldns {
version = "unknown"
version = ${?VINYLDNS_VERSION}
queue {
class-name = "vinyldns.mysql.queue.MySqlMessageQueueProvider"
polling-interval = 250.millis
messages-per-poll = 10
settings = {
@pauljamescleary
pauljamescleary / batchchange.ps1
Created July 21, 2020 00:38
Create a VINYLDNS batch change in powershell
########################
# SUPPORTING FUNCTIONS
<#
.Synopsis
Retrieves the current Universal time in required format for AWS
#>
function UniversalTime{
$curdate = Get-Date
$UniversalTime = ($curdate.ToUniversalTime().Year).ToString("0000") `
@pauljamescleary
pauljamescleary / zones.ps1
Last active October 12, 2023 20:46
vinyldns powershell request signing example
# Credit - http://www.laurierhodes.info/?q=node/114
########################
# SUPPORTING FUNCTIONS
<#
.Synopsis
Retrieves the current Universal time in required format for AWS
#>
function UniversalTime{
$curdate = Get-Date
@pauljamescleary
pauljamescleary / FutureActor.scala
Last active February 26, 2016 07:36
Demonstration on handling Future Failures in Akka Actors
package com.comcast.denis.domain
import akka.actor.{Props, ActorSystem, Actor}
import akka.pattern.{ask, pipe}
import akka.util.Timeout
import com.comcast.denis.domain.FutureActor.GetJawn
import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.{Await, Future}
import scala.concurrent.duration._