Skip to content

Instantly share code, notes, and snippets.

streamAudio
========REQ==========
{ _readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
Blocks.EditTextView = Backbone.View.extend({
initialize: function(){
_.bindAll(this, 'render', 'saveAndRender', 'watchEnter');
this.template = _.template($('#tpl_assets_editText').html());
},
render: function(){
this.$el.html(this.template());
return this;
},
events: {
{
"order": 1,
"name": "opener",
"type": "opener",
"length": 6,
"properties": {
"openerId": 1
},
"options": {},
"items": [
@kpnemo
kpnemo / gist:5847136
Created June 24, 2013 00:59
aerender.exe example
C:\Users\Administrator\Dropbox\CreaTV\AAE_projects\boris_ae_proj>"c:\Program Files\Adobe\Adobe After Effects CS6\Support Files\aerender.exe" -project "C:\Users\Administrator\Dropbox\CreaTV\AAE_project
s\boris_ae_proj\opener.aep" -comp "opener" -RStemplate "Best Settings" -OMtemplate "H.264" -v "ERRORS_AND_PROGRESS" -mp -output "C:\video2.mp4"
{
"name": "Jazz Opener",
"aae_proj_id": 2,
"length": 7,
"params": [
{
"name": "text_field_1",
"type": "text",
"text": "Jazz Text 1"
},
{
"workflow": {
"id": "71b0f6f53e7e4c0e903f2193658635a9",
"_block": "{\\n \\"name\\": \\"138 Test block\\",\\n \\"images\\": true,\\n \\"length\\": 0,\\n \\"virtualStudio\\": false,\\n \\"addSound\\": true,\\n \\"items\\": [\\n {\\n \\"preview_url\\": \\"http://d2b5imwr4xxk4o.cloudfront.net/templates/3/preview/preview.mp4\\",\\n \\"thumb_url\\": \\"http://d2b5imwr4xxk4o.cloudfront.net/templates/3/preview/thumb.jpg\\",\\n \\"name\\": \\"Opener For Coocking Show\\",\\n \\"duration\\": 7,\\n \\"params\\": [\\n {\\n \\"name\\": \\"text_field_1.txt\\",\\n \\"type\\": \\"text\\",\\n \\"value\\": \\"coocking\\"\\n },\\n {\\n \\"name\\": \\"text_field_2.txt\\",\\n \\"type\\": \\"text\\",\\n \\"value\\": \\"with\\"\\n },\\n {\\n \\"name\\": \\"text_field_3.txt\\",\\n \\"type\\": \\"text\\",\\n \\"value\\": \\"Jenny\\"\\n },\\n {\\n \\"nam
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
[
{
"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",
@kpnemo
kpnemo / gist:6753751
Created September 29, 2013 15:59
fdrv
(function(){
var flashObjCount = 0,
prefix = '_ctv_flashobj_';
/**
* Flash Driver
* @returns {*}
* @constructor
@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: {