Skip to content

Instantly share code, notes, and snippets.

View ecdemis123's full-sized avatar

Eleanor Demis ecdemis123

View GitHub Profile
declare module 'faktory-worker' {
export class Faktory {
static connect(options?: object): any;
static register(jobName: string, cb: Function): any;
static work(options: object): any;
}
export class Client {
constructor(options?: ClientOptions);
public push(job: Job): Promise<string>;
@ecdemis123
ecdemis123 / deployment.yml
Last active July 30, 2019 20:53
faktory deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: faktory
labels:
run: faktory
spec:
template:
metadata:
labels:
@ecdemis123
ecdemis123 / consumer_refactor.rb
Created June 15, 2018 00:09
Kafka Consumer Refactor
# pipeline/coordinator.rb
def initialize(args)
# all other initialization happens as is
@consumer = KafkaConsumer.for(RUBY_PLATFORM)
end
# pipeline/kafkaconsumer.rb
class KafkaConsumer
def self.for(platform)

Feven the Denverian

Here to wreck shit in LA at MakerSquare


things that she likes.

  • Hiking (Mount Everest)
  • Painting (Street Art)
  • Chilling (With Obama)
  • Gettin' crunk on Whiskey

reasons she is learning to code.