See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
package com.intigral.jawwytv.util.test | |
import android.os.SystemClock | |
/** | |
* Measures elapsed time in milliseconds | |
*/ | |
class Stopwatch { | |
private var startThreadMillis: Long = 0 | |
private var startRealtimeMillis: Long = 0 |
{ | |
"txRef": "b2bbd865-648f-49ea-bbd8-65648f09eaf9", | |
"data": { | |
"planConfig": { | |
"stcRatePlanId": "ratePlanId", | |
"planName": "ENTERTAINMENT_MAX", | |
"freeAddOnsCount": 2, | |
"orderStatus": "Open" | |
}, | |
"tiers": { |
{ | |
"txRef": "d967f653-a1a0-431c-a7f6-53a1a0431c34", | |
"data": { | |
"version": "1696435195", | |
"userClusterKey": "skyAndStbB2CGDMPRDExy0sVDlZMzND", | |
"environment": "prod", | |
"versioning": { | |
"enable": true, | |
"profile": { | |
"enable": true |
Capability | Comments |
---|---|
DRM | Supports Widevine, Fairplay, Playready |
Streaming Protocols | Supports DASH, HLS |
Thumbnail Seek | Requires Sprite images for Frames in WebVTT or JSON format. |
Analytics Wrapper | Supports integration with 3rd party Analytics & QoE Services |
Multi Audio Support | Tracks to be part of DASH & HLS Manifest |
Quality Control | Configurable limits per platform via App CMS |
Live/Catchup/Startover | Supports Live with seeking support along with Startover & Catchup capabilities |
Offering | Description |
---|---|
TVOD | Transactional video on demand is where consumers purchase content on a pay-per-view basis. |
SVOD | Subscription video on demand is similar to traditional TV packages, allowing users to consume as much content as they desire at a flat rate per month. |
AVOD | Advertising-based video on demand Shows ads to users to generate revenue. Unlike SVOD and TVOD services, AVOD is free to consumers. However, much like broadcast television, consumers need to sit through advertisements |
val sumByDouble = | |
data.sumByDouble { serviceGroup: PackageDetails.ServiceGroup -> serviceGroup.serviceItems.price } | |
++++++++++++++++++++++++++++++++++++++++++ | |
val nums = listOf(10, 20, 30) | |
println(nums.sum()) | |
val totalQuantity: Int = products.map { it.quantity }.sum() | |