##Tuesday, July 14, 2015
####Working On
#####Akash
- OOO
#####Alex
- Debugging video and transcode profile modeling
- Bug fixing for quality selector feature
#!/usr/bin/env python3 | |
import logging | |
import os | |
import plistlib | |
import requests | |
import sys | |
import webbrowser | |
# Dependencies | |
# PaperTrail CLI: https://github.com/papertrail/papertrail-cli#quick-start | |
# fzf and jq | |
curl -s -H "X-Papertrail-Token: $PAPERTRAIL_API_TOKEN" https://papertrailapp.com/api/v1/groups.json \ | |
| jq -r '.[0].systems | map(.name) | .[]' \ | |
| fzf \ | |
| xargs papertrail -f -s |
import json | |
import pprint | |
import sys | |
pretty = pprint.PrettyPrinter(indent=4, width=200) | |
""" | |
Returns a map of permissions keyed by entity id | |
""" | |
def transform(entity_permissions): |
[ | |
{ | |
"scoping_entity_type": "team", | |
"scoping_entity_id": "b9483863-9292-4158-a685-69c8d7d32ee9", | |
"permissions": [ | |
{ | |
"permission_entity_type": "schedule_event", | |
"permission_action": "update" | |
}, | |
{ |
final class JSONLoader { | |
static func path(forResource name: String) throws -> String { | |
let bundle = NSBundle(forClass: JSONLoader.self) | |
guard let path = bundle.pathForResource(name, ofType: "json") else { | |
// TODO | |
throw | |
} | |
return path | |
} |
# Run SwiftLint | |
START_DATE=$(date +"%s") | |
SWIFT_LINT=/usr/local/bin/swiftlint | |
# Run SwiftLint for given filename | |
run_swiftlint() { | |
local filename="${1}" | |
if [[ "${filename##*.}" == "swift" ]]; then | |
${SWIFT_LINT} autocorrect --path "${filename}" |
##Tuesday, July 14, 2015
####Working On
#####Akash
#####Alex
var pkg = require('../../package.json'); | |
/* Fetch angular from the browser scope */ | |
var angular = window.angular; | |
var IntelligenceWebClient = angular.module(pkg.name); | |
// Values in px | |
var BREAKPOINTS = { |