This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2016-02-07T06:34:32.507218103Z app[web.1]: Error: Opbeat error (400): { | |
| 2016-02-07T06:34:32.507236054Z app[web.1]: "error_message": "Unable to validate data.", | |
| 2016-02-07T06:34:32.507242168Z app[web.1]: "status": 400, | |
| 2016-02-07T06:34:32.507247581Z app[web.1]: "structured_error": { | |
| 2016-02-07T06:34:32.507252992Z app[web.1]: "traces": { | |
| 2016-02-07T06:34:32.507258102Z app[web.1]: "groups": { | |
| 2016-02-07T06:34:32.507262996Z app[web.1]: "0": { | |
| 2016-02-07T06:34:32.507268266Z app[web.1]: "transaction": "Exceeds max. allowed length of 512 characters" | |
| 2016-02-07T06:34:32.507273756Z app[web.1]: }, | |
| 2016-02-07T06:34:32.507278650Z app[web.1]: "1": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bundles = | |
| "main.js": [ | |
| "bower_components/es5-shim/es5-shim.js" | |
| "bower_components/cookie.js/cookie.js" | |
| "bower_components/store.js/store.js" | |
| "bower_components/bows/dist/bows.js" | |
| "bower_components/lodash/lodash.js" | |
| "bower_components/async/lib/async.js" | |
| "bower_components/moment/moment.js" | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gulp.task "bundle-scripts", -> | |
| delete require.cache[require.resolve "./assets/bundles"] | |
| bundles = require "./assets/bundles" | |
| scripts = _.filter _.keys(bundles), (filename) -> | |
| filename.indexOf(".js") >= 0 | |
| merge _.map scripts, (filename) -> | |
| if filename.indexOf(".js") is -1 then return | |
| coffeeFilter = filter "**/*.coffee" | |
| stream = gulp.src bundles[filename] | |
| .pipe coffeeFilter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| player.on("firstplay", (function(_this) { | |
| return function(ev) { | |
| var $target; | |
| $target = $(ev.target); | |
| return $target.find("video").eq(0).attr("controls", true); | |
| }; | |
| })(this)); | |
| player.on("adend", (function(_this) { | |
| return function(ev) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.Strobe = (function() { | |
| function Strobe() {} | |
| _.extend(Strobe, Backbone.Events); | |
| Strobe.bridge = function(playerId, ev, data) { | |
| switch (ev) { | |
| case "onJavaScriptBridgeCreated": | |
| Strobe.player = document.getElementById(playerId); | |
| Strobe.player.addEventListener("bufferingChange", "Strobe.onBufferingChange"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| flashvars = | |
| src: encodeURIComponent(app.config["video"]["hls_url"]) | |
| autoPlay: autoplay is 1 | |
| loop: false | |
| plugin_hls: "/strobe/HLSDynamicPlugin.swf" | |
| javascriptCallbackFunction: "Strobe.bridge" | |
| expandedBufferTime: 20 | |
| params = | |
| allowFullScreen: true | |
| allowScriptAccess: "always" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "user": { | |
| "id": xxxxx, | |
| "access_token": xxxxx | |
| }, | |
| "history": { | |
| }, | |
| "video": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| before_fork do |server, worker| | |
| defined?(ActiveRecord::Base) and | |
| ActiveRecord::Base.connection.disconnect! | |
| old_pid = "#{server.config[:pid]}.oldbin" | |
| if File.exists?(old_pid) && server.pid != old_pid | |
| begin | |
| Process.kill("QUIT", File.read(old_pid).to_i) | |
| rescue Errno::ENOENT, Errno::ESRCH | |
| # someone else did our job for us |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| before_fork do |server, worker| | |
| defined?(ActiveRecord::Base) and | |
| ActiveRecord::Base.connection.disconnect! | |
| old_pid = "#{server.config[:pid]}.oldbin" | |
| if File.exists?(old_pid) && server.pid != old_pid | |
| begin | |
| Process.kill("QUIT", File.read(old_pid).to_i) | |
| rescue Errno::ENOENT, Errno::ESRCH | |
| # someone else did our job for us |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function anonymous(c,p,i) { | |
| var _=this;_.b(i=i||"");_.b("<article> ");if(_.s(_.d("model.title",c,p,1),c,p,0,31,69,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" <h1>");_.b(_.v(_.d("model.title",c,p,0)));_.b("</h1> ");});c.pop();}_.b(" <p>");_.b(_.v(_.d("model.description",c,p,0)));_.b("</p> <div class=\"actors\"> ");if(_.s(_.d("model.actors",c,p,1),c,p,0,174,343,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" <div class=\"name\"> <a data-action=\"navigate\" href=\"/help/faqs/");_.b(_.v(_.f("id",c,p,0)));_.b("\">");_.b(_.v(_.f("name",c,p,0)));_.b("</a> </div> <div class=\"born\">");_.b(_.v(_.f("born",c,p,0)));_.b("</div> ");});c.pop();}_.b(" </div> <a href=\"/back\"> span.icon Back </a> </article>");return _.fl(); | |
| } |
NewerOlder