Skip to content

Instantly share code, notes, and snippets.

View FuriKuri's full-sized avatar
💭
zzzZZZzzz

Theo Pack FuriKuri

💭
zzzZZZzzz
View GitHub Profile
---
Resources:
Api:
Type: 'AWS::ApiGatewayV2::Api'
Properties:
Name: !Ref 'AWS::StackName'
ProtocolType: WEBSOCKET
RouteSelectionExpression: '\$default'
DefaultRoute:
Type: 'AWS::ApiGatewayV2::Route'
@lox
lox / cloudformation_tail.sh
Created August 3, 2015 04:08
A bash script to tail CloudFormation events
#!/bin/bash -eu
# Show all events for CF stack until update completes or fails.
cf_tail() {
local stack="$1"
local current
local final_line
local output
local previous
until echo "$current" | egrep -q "${stack}.*_(COMPLETE|FAILED)" ; do
@qrohlf
qrohlf / helloworld
Last active July 26, 2016 18:31
Ruby Hello World
  = 1
   =  + 
    =   *  + 
     =    *  
      =
[     *(   +  )+  ,
        =     *    + ,
         =     *    +    -  ,
        ,
        =        +    ,