Skip to content

Instantly share code, notes, and snippets.

View jonathanbarton's full-sized avatar

Jonathan Barton jonathanbarton

View GitHub Profile
@jonathanbarton
jonathanbarton / ScotchEventTracklist
Created February 12, 2015 16:03
Scotch Streaming and Scaling Tracklist
Theory of N - Bow Chippa Bow Bow
Miguel - Do You...(Cashmere Cat Remix)
Herzeloyde - Government
Ellie Goulding - High For This
Oh Wonder - Body Gold (Louis the Child Remix)
Flume - Space Cadet
Yahtzel - If You Leave
Pusher - Switch
Prince IsAac - ThnkAbtU
Swarvy - Hotdox (Scotch)
{
"items": [
{
"visited": "true",
"qtitle": "question #1",
"qinfoSize": 471,
"answerstate": "unanswered",
"qinfo": {
"title": "question #1",
"testId": "13252698046454402",
(function() {
/* global define, Ember */
define('ember', [], function() {
"use strict";
return {
'default': Ember
};
});
@jonathanbarton
jonathanbarton / dal-httpd-conf
Created June 25, 2015 13:58
dal-httpd-conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@jonathanbarton
jonathanbarton / dal-httpd-vhosts-conf
Created June 25, 2015 13:59
dal-httpd-vhosts-conf
<VirtualHost *:80>
ServerAdmin jonathan.barton@mheducation.com
DocumentRoot "/opt/app/apache-2.4.12/htdocs"
ProxyRequests Off
ProxyVia Off
ProxyBadHeader Ignore
ProxyTimeout 2400
Timeout 2400
@jonathanbarton
jonathanbarton / Polymer Talk Files
Created June 30, 2015 12:37
Polymer Talk Files
## Polymer Talk Files
(Custom Component)[https://github.com/jonathanbarton/polymer-embed-bandcamp]
(Demo)[https://github.com/jonathanbarton/polymer-embed-bandcamp-demo]
(Slides)[https://github.com/jonathanbarton/polymer-embed-bandcamp-slides]
@jonathanbarton
jonathanbarton / FFUFilterCacheProcess
Created July 27, 2015 21:45
FFU Filter Cache Process
- Initiate freeTextSearch (basic search / keyword search)
- Obtain the FFU related facetRestrictions from the http response and cache just the FFU faceRestrictions
...later when doing filtered searches...
if (FFU Button is disabled)
- initiate the filterFreeTextSearch with modeffu=false and the checklistModel as is
elseif (FFU Button is enabled)
- pull the FFU faceRestrictions from cache
- combine the FFU and checklistModel facetRestrictions into a single object for the request
- initiate the filterFreeTextSearch with modeffu=true and the combined checklistModel/faceRestrictions object
const ASSET_DETAILS_FIELDS = {
"DAL.FIELD.ASSET SOURCE": "Asset Source",
"DAL.FIELD.RIGHTS CATEGORY": "Rights Category",
"DAL.FIELD.BUSINESS UNIT RIGHTS": "",
"DAL.FIELD.ADAPTATION RIGHTS": "",
"DAL.FIELD.DISTRIBUTION RIGHTS":"",
"DAL.FIELD.USAGE RESTRICTIONS": "",
"DAL.FIELD.OTHER RESTRICTIONS": "",
"DAL.FIELD.ASSET STATUS": "",
"DAL.FIELD.LICENSING LIMITATIONS":"", //??
@jonathanbarton
jonathanbarton / mob_week2_assignment.md
Last active August 29, 2015 14:27
mob_week2_assignment

#Week 2 Assignment

Definition of Done

  • All Acceptance Criteria met
  • Project runs and all items are functioning
  • Project solution pushed out to proper branch and pull request opened

Project Setup

  • From your GiorgioNatili/MOB-BOS-1 repository root folder, create a git branch with the following name format: week2-lastname (ex: week2-barton)
  • Create your solution inside a new folder in the Assessments_Submissions folder (ex: Assessments_Submissions/week2-barton)
/*
ARTESIA.FIELD.VIDEO.ASPECT RATIO
ARTESIA.FIELD.VIDEO.PROXY.VIDEO CODEC NAME
ARTESIA.FIELD.VERSION DESCRIPTION
DAL.FIELD.SOUND FIELD (VIDEO)
ARTESIA.FIELD.VIDEO.PROXY.VIDEO CONTENT SOURCE
ARTESIA.FIELD.BITMAP HEIGHT
DAL.FIELD.INTERACTIVITY LEVEL
DAL.FIELD.DURATION