Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeremy Corson nexeh

  • New Hampshire
View GitHub Profile
@nexeh
nexeh / SteppingStone4_Loops.java
Last active Jan 27, 2019
SteppingStone4_Loops
View SteppingStone4_Loops.java
package SteppingStones;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.Scanner;
import java.util.ArrayList;
@nexeh
nexeh / dump_stream.rb
Created Aug 9, 2018 — forked from kenoir/dump_stream.rb
Dump the contents of a kinesis stream into the console
View dump_stream.rb
require 'aws-sdk'
def dump_stream
kinesis = Aws::Kinesis::Client.new(region: 'eu-west-1')
iterator = kinesis.get_shard_iterator({
stream_name: "testStream",
shard_id: "shardId-000000000000",
shard_iterator_type: "LATEST",
})
You can’t perform that action at this time.