Skip to content

Instantly share code, notes, and snippets.

View GregoryArmstrong's full-sized avatar

Gregory Armstrong GregoryArmstrong

View GitHub Profile

MediaManager (MeMa, Granicus Video) / Flowplayer Video Switch

  • MeMa: ~40% of Granicus revenue, $12 million recurring annually
  • Originally Granicus used Windows Media Player (.wmv) through Internet Explorer
  • Silverlight compatibility added after WMP
  • H.264 format added (video compression codec), along with Performance Accelerator for encoders. H.264 works for most mobile platforms, has high quality
  • ModernVideoPlayer (MVP) added, custom flash player built by Granicus
  • JWPlayer introduced, MVP converted into Granicus Video Player (GVP). Eventually issues arose with JWPlayer's support team, as well as 'Pro' features not usable in Granicus' forked code

@GregoryArmstrong
GregoryArmstrong / job_hunting_assignment.md
Created April 26, 2016 17:20
Job Hunting Assignment

List 5 companies you might want to apply for:

5 Companies:

  • Agathos, San Francisco, CA / Denver, CO
  • Gusto, Denver, CO
  • DigitallyImported, Denver, CO
  • CA Technologies, Denver/Boulder, CO
  • Cirro, Denver, CO
@GregoryArmstrong
GregoryArmstrong / goals_assignment.md
Created April 26, 2016 15:42
Goals / The Plan Assignment

Identify 3 Goals:

  • Become an expert in JavaScript
  • Build a finances-tracking app for myself
  • Contribute to open-source

Become an Expert in JavaScript

  • Currently At: I feel like i'm somewhere between beginner/intermediate level with Javascript.
  • Success in 1 Year: Using JavaScript comfortably in my job / side projects to build some really amazing stuff.

How would you set up communication between two applications?

  • Normally i'd say with HTTP requests, but i'm guessing WEBSOCKETS!

How about n different applications?

  • more websockets?!

What if the communication had to be in real time?

@GregoryArmstrong
GregoryArmstrong / testable-js.markdown
Last active April 6, 2016 01:13 — forked from rrgayhart/testable-js.markdown
Writing Testable JavaScript

Consider the four responsibilities that Rebecca lists for client side code (hint: they're color coded).

  • Did any of the responsibilities that she lists surprise you?
  • I've never quite thought of them in these exact divisions, but they're not too surprising to see. If I had to pick one as the most surprising, I'd say the setup responsibility. In my mind everything is set up by the server and just presented to the client, who then sends a response. But I suppose now that I see it listed by Rebecca, there is some inherent setup on the client side to take what information has been delivered by the server, and execute it / get it ready to be shown to the client.
  • Do you feel like you mentally split your client side code in IdeaBox and other past projects into these responsibilities?
  • Yes except for the setup, for the same reason as the previous answer. I'll begin to try and think of my code in these four divisions for the next project.
@GregoryArmstrong
GregoryArmstrong / require.markdown
Last active April 4, 2016 18:25 — forked from rrgayhart/require.markdown
The Concept of Require
  • In the context of Node, what is a module?

Answer: A module is essentially just a file in Node. You export what you want to be available when requiring the file.

  • The code examples from the second blog post look very different from the first. Why?

Answer: Theyre using RequireJS to add some functionality specific to their scenarios.

JavaScript Functions

I can explain the difference between function declarations and function expressions.

-- Yep! A function declaration is parsed through by JS and hoisted to the top. It can actually be located at the bottom of the file, but able to be used and referenced beforehand due to hoisting. A function expression is more akin to a typical Ruby variable, it's name is hoisted to the top by not defined until the function expression is actually run.

I can explain what the value of this is in a normal function.

-- Global window.

@GregoryArmstrong
GregoryArmstrong / beth_secor_greg_armstrong_dtr_gametime.md
Last active March 28, 2016 21:58
Beth Secor & Greg Armstrong Game-Time DTR

Setting Group Expectations

Group Member Names: Beth Secor, Greg Armstrong

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed?

Beth: Likes to finish with work by 8pm, no all-nighters.

Greg: No hard commitments, probably a light day of work (if any) on Sunday.

@GregoryArmstrong
GregoryArmstrong / first_javascript_exercism_comparisons.md
Last active March 26, 2016 18:58
first_javascript_exercism_comparisons

Leap

My code: here

  • First Comparison - This individual's implementation is similar to mine, but uses a few if statements for each leap year criteria instead of just one with an additional || comparison.
  • Second Comparison - This individual's implementation used an if/elsif/else conditional for the 3 leap year criteria.
  • Third Comparison - This individual's implementation is almost identical to mine, but uses an if/else conditional to determine what to return. I almost like this better than mine because it's extremely explicit, but think mine is better refactored.
  • Fourth Comparison - This individual's implementation looks to be using ES6, as well as constants, classes and