Skip to content

Instantly share code, notes, and snippets.

View addisonhuddy's full-sized avatar

Addison Huddy addisonhuddy

View GitHub Profile
@addisonhuddy
addisonhuddy / gist:5021043
Created February 23, 2013 19:42
My blog app models

Here is a list of all the models their objects for my blog applications

Author
  author_id
  name
  email
  password
  biography
  twitter

linkedin

@addisonhuddy
addisonhuddy / gist:5043332
Created February 26, 2013 23:26
Weather App using Weather Underground API
!/usr/bin/env ruby
#writing an app to let me get the local weather whenever I type 'weather' into the terminal
# Weather Undergroud API Key
# 47b910e89d1eff6a
# http://api.wunderground.com/api/47b910e89d1eff6a/geolookup/conditions/q/CA/Palo_Alto.json
require 'json'
@addisonhuddy
addisonhuddy / assignment01.asm
Last active August 29, 2015 14:07
CS 271 Assignement 01
TITLE Assignment 01 (assignment01.asm)
; Author: Addison Huddy
; CS271 / Program 01 Date: Oct 7 2014
; Description: taking in two numbers from the user and calculating
; sum, difference, product, integer quotient, and remainder
INCLUDE Irvine32.inc
; (insert constant definitions here)
@addisonhuddy
addisonhuddy / assignment02.asm
Last active August 29, 2015 14:07
CS271 assignment02.asm
TITLE Assignment 02 (huddya_assignment02.asm)
; Author: Addison Huddy
; Course / Project ID CS271 / Assignment 2 Date: Oct 19, 2014
; Description: 1. Getting the user's name
; 2. Displaying the user's name
; 3. User enters the number of Fibonacci numbers they want
; 4. Validates the input from the user
; 5. Loops through to calculate Fibonacci numbers
; 6. Displays Fibonacci numbers in groups of 5 per line
@addisonhuddy
addisonhuddy / svd.py
Created December 29, 2016 21:39
Singular Value Decomposition Example with Numpy
# Singular Value Decomposition Example
import numpy as np
# example taken from Video Tutorials - All in One
# https://www.youtube.com/watch?v=P5mlg91as1c
a = np.array([[1, 1, 1, 0, 0],
[3, 3, 3, 0, 0],
[4, 4, 4, 0, 0],
[5, 5, 5, 0, 0],

I've been working with Kafka for over 7 years. I inevitably find myself doing the same set of activities while I'm developing or working with someone else's system. Here's a set of Kafka productivity hacks for doing a few things way faster than you're probably doing them now. 🔥

Get the tools

@addisonhuddy
addisonhuddy / kip-500-super-early-access.md
Last active February 25, 2021 15:23
Super Early Access (KIP-500)

KIP-500 Super Early Access

Can't wait for Apache Kafka 2.8 to get your hands on zookeeperless Kafka? Here are some steps to try it out.

$ git clone https://github.com/apache/kafka
$ cd kafka
$ ./gradlew jar
$ ./bin/kafka-storage.sh format --config ./config/raft-combined.properties --cluster-id $(./bin/kafka-storage.sh random-uuid)
$ ./bin/kafka-server-start.sh ./config/raft-combined.properties