Skip to content

Instantly share code, notes, and snippets.

root@api:/var/log# grep -e "29c26a3d47384af987a27d9d962e2d32" app-api.log
[INFO 2014-07-31 11:54:27 +0000] WFS response {"id":"29c26a3d47384af987a27d9d962e2d32","block_id":"53da09c0ff6c05544c30ffc9","episode_id":null,"user_id":"5312ea5b6e07b34c4cbe255c","state":"processing","pub_sub_channel":"wf:29c26a3d47384af987a27d9d962e2d32","created_at":"2014-07-31 11:54:27 UTC","processing_started_at":"2014-07-31 11:54:27 UTC","ended_at":null,"block":{"asset_id":null,"compiled_at":"2014-07-31T11:54:24.629Z","created_at":1406798272,"episodeId":"53da09bfff6c05544c30ffc7","included":true,"items":[{"id":"d64c43e8f0db33401547c2b2a0369b59","name":"1st clips used for BG","asset_id":null,"zindex":0,"duration":null,"order":0,"markin":0,"offset":0,"type":"virtual_set","cms_id":"VIDEO_WALL_2TV","talents":{"talent1":{"transformation":"talent.txt","markin":0,"playlist":[{"bg_asset_id":"53da2d852fd324dbdf000086","markin":0,"upload_asset_id":"53da2db32fd324fc5a000087","offset":5.407394067796609,"duration":14.902605932203386,"audio_vol
{
"id": "afd480cfcb2349c7a70e5a45045c524a",
"block_id": null,
"episode_id": "53d844fe76c5210000745b97",
"user_id": "530cf6ccc0a5eb940a45ccdc",
"state": "ready",
"pub_sub_channel": "wf:afd480cfcb2349c7a70e5a45045c524a",
"created_at": "2014-07-30 03:13:07 UTC",
"processing_started_at": "2014-07-30 03:13:07 UTC",
"ended_at": "2014-07-30 03:17:31 UTC",
{
"id": "restaurant_review",
"formatName": "Come dine with me!",
"title": "Restaurant review",
"totalLength": 100,
"tags": "food, restaurant, cooking",
"transition": "fade_in",
"description": "Take us with you to explore the world of eating out. Film your favorite restaurants and visit the new and exciting ones. Show your viewers the appetizing dishes, the beautiful locations and what happens inside the kitchens of every restaurant you choose.",
"blocks": [
{
@kpnemo
kpnemo / jquery.imageEnlarge.js
Last active August 29, 2015 14:04
jQuery image enlarge on click to its original size
/**
* Image enlarge on click
*/
(function( $ ){
var _settings = {
cursor: 'crosshair',
animationTime: 300,
watchResize: true
}
@kpnemo
kpnemo / gist:2c39c0aab72a2ee880c4
Last active August 29, 2015 14:02
Showbox iOS recorder app EVENTS
Note: Every event have in data the roomId: data{room: %roomId%}
Event Server: roomCreated, data: {room: %roomId%}
Event Server: clientConnected, data: {accessToken: %accessToken%, primary: %true%} (primary only in case if mobile device connected)
Event Web: startPreviewStream, data: {streamId: %streamId%, streamUrl: %streamUrl%}
Event Web: stopPreviewStream, data: {streamId: %streamId%}
Event Web: startRecord, data: {streamId: %streamId%, streamUrl: %streamUrl%, fileId: %fileId%}
Event Web: stopRecord, data: {fileId: %fileId%}
Event Web: abordRecord, data: {fileId: %fileId%}
{
"_id": "5210c8bbee67897630000001",
"name": "tdylan",
"images": true,
"length": 0,
"addSound": true,
"items": [
{
"name": "1st clips used for BG",
"asset_id": "",
@kpnemo
kpnemo / gist:6753778
Created September 29, 2013 16:03
Events
var IV = (function(SCOPE){
SCOPE.reportAnalytics = Backbone.Model.extend({
defaults: {
sendLogs: true,
instance: null,
instanceClass: null,
reportImg: null,
reportData: {
@kpnemo
kpnemo / gist:6753751
Created September 29, 2013 15:59
fdrv
(function(){
var flashObjCount = 0,
prefix = '_ctv_flashobj_';
/**
* Flash Driver
* @returns {*}
* @constructor
[
{
"CustomerName": "",
"FullThumbnail": "http://d3snmwhi3uiqhm.cloudfront.net/attachments/520d0ea183976c0c030000a1/hjkDxRsT.png",
"_id": "520d0ea183976c0c030000a1",
"created_at": "2013-08-15T17:23:45.229Z",
"customerId": "520d07e883976c0c03000086",
"matchedItem": "{\"Title\":\"yellow polo.jpg\",\"ImageUrl\":\"http://www.shopstyle.com/action/loadRetailerProductPage?id=391995677\",\"ProductPageUrl\":\"http://www.shopstyle.com/action/loadRetailerProductPage?id=391995677\",\"Score\":0.0}",
"mirrorId": "51ff6b4d45f552cb2700002a",
"recorded_at": "2013-08-15T16:55:02.656Z",
http://editor.wix.com/html/editor/web/renderer/new?siteId=98fbfa64-2710-4e24-b004-c672b3cf7162&editorSessionId=048EC15B-393A-4CF7-9921-241DF0AA3BBB&experiment=tpaartifact:new&experiment=masonry:new&override_map={%22tpa%22:%22http://static.wix.com/services/tpa/2.520.0%22,%22core%22:%22http://static.wix.com/services/core/2.543.0%22,%22skins%22:%22http://static.wix.com/services/skins/2.543.0%22,%22web%22:%22http://static.wix.com/services/web/2.543.0%22}&devGallery=http://srv/wix/Masonry_app