Skip to content

Instantly share code, notes, and snippets.

View utumno86's full-sized avatar

Michael E. Nash utumno86

View GitHub Profile
@utumno86
utumno86 / day_one.rb
Last active August 29, 2015 14:20
Day One Assignment Iron Yard
# 1. Assign "Hello World" to a variable message.
message = "Hello World"
# 2. Assign a different string to a different variable.
x = "different string"
# 3. Assign a number to a variable.
num = 3
# 4. Use string interpolation to display the number from exercise 3 in a string.
@utumno86
utumno86 / emptyfile.rb
Last active August 29, 2015 14:20
Iron Yard Homework Solution Repo
We couldn’t find that file to show.
@utumno86
utumno86 / fizzbuzz.js
Last active August 29, 2015 14:21
javascriptFunctions
for (i=1; i<=100; i++){
if (i % 3 == 0 && i % 5 == 0){
console.log( "Fizzbuzz!");
}
else if (i % 3 == 0 && i % 5 != 0) {
console.log("Fizz");
}
else if (i % 3 != 0 && i % 5 == 0){
console.log("Buzz");
}
@utumno86
utumno86 / ConferenceEssay.md
Last active August 29, 2015 14:21
Markdown Essay about the Front End Conference

I don't really understand conferences. Intellectually, I get that they function socially as a means of meeting cool industry professionals, potential colleagues and employers, and generally a format for networking. As an awkward human I find this aspect incredibly difficult, but I understand it. What I don't understand is why its necessary to couch this important social function in a format that revolves around people giving boring-ass speeches to a room full of people politely pretending to pay attention. It's like paying Dungeons and Dragons. I used to play D & D because I like hanging out with my nerdy friends, and that was it's important function, but the game itself was sort of so-so formatting to facilitate said hanging out, and frankly we could have done without it.

That is to say, I've never been to a conference that wasn't excruciating. Even the fun ones. I've been to Megacon in Orlando, PAXEast, New York Comic Con and innumerable book signings and none of them consisted of anything more than wa

@utumno86
utumno86 / blackjack
Last active August 29, 2015 14:23
Blackjack API Interface
#!/usr/bin/env ruby
require 'net/http'
require 'json'
BLACKJACK_API_HOST = 'pure-forest-blackjack.herokuapp.com'
class Blackjack
@http = Net::HTTP.new(BLACKJACK_API_HOST)
def self.res(name)
@utumno86
utumno86 / ArrayReversal.rb
Last active August 29, 2015 14:24
ArrayReversal
require 'minitest/autorun'
describe Array do
before do
@ary = %w(a b c d e)
@temp = ""
end
it 'it can be reversed in place' do
# YOUR SOLUTION HERE
@utumno86
utumno86 / Resume.md
Last active January 29, 2024 02:07
Resume

RESUME

Michael E. Nash
Software Engineer

710 Downs Ave.
Temple Terrace, FL 33617
(813)326-4637

@utumno86
utumno86 / scheduler_component.md
Created January 12, 2021 23:26
Scheduler Component Guide

HTML Scheduler Component


As of 1/12/2021 we have replaced our flash scheduler compoenent with an html version of the same component as a result of flash's end of life as of December 31st. This is a usage guide for the new component, which is available on the screens/schedule screen where it always was.

  • Get Scheduled Items Screen

Since the new scheduler does not have a slick calendar UI it functions by displaying a list all items scheduled for a screen within a given time frame. Since we wanted our user to provide the timeframe, the initial screen is a form for the user to provide it.

@utumno86
utumno86 / EveryDayMealPeriod.png
Last active March 18, 2021 21:45
ChartwellsIssues.md
EveryDayMealPeriod.png
@utumno86
utumno86 / chartwells_tips.md
Last active March 18, 2021 21:52
chartwells_tips.md

In the case of Device id: 30236, the issue is not the template but the setup in the CMS. The meal station is set up like so:

MenuSetupProd

The data for Chartwells menus can be viewed at http://campusdining.compass-usa.com/{School}/Pages/SignageXML.aspx?location={Location}

where school and location are the same values from the playlist metadata. E.G., for the Screen mentioned above, the school is UCO and the location is Buddy’s Main Dining, so the data can be found (http://campusdining.compass-usa.com/UCO/Pages/SignageXML.aspx?location=Buddys%20Main%20Dining)

The template works by checking different “MealPeriod” sections of the XML from Chartwells based on time of day, as defined under the “---” on meal station 1. (I.E. from 7:30 AM to 11:00 AM it checks the breakfast section, from 11:00 AM - 2:00 Pm it checks the lunch section). It chec