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
var app = {}; | |
app.userRepository = (function($, undefined) { | |
var $document = $(document), | |
events = { | |
getUserInfo: 'fetch.user.info' | |
}; | |
return { | |
init: function () { |
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
/** | |
* Loads an ORM second level cache bundle mapping information. | |
* | |
* @example | |
* entity_managers: | |
* default: | |
* second_level_cache: | |
* region_cache_driver: apc | |
* log_enabled: true | |
* regions: |
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
{ | |
"streams": [ | |
"bunny-360": { | |
"input-path": "/live/bunny_360p/playlist.m3u8", | |
servers: [ | |
"http://54.84.201.22:1935" | |
] | |
}, | |
"bunny-720": { | |
"input-path": "/live/bunny_720p/playlist.m3u8", |
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
namespace :apc do | |
desc <<-DESC | |
Create a temporary PHP file to clear APC cache, call it (using curl) and removes it | |
This task must be triggered AFTER the deployment to clear APC cache | |
DESC | |
task :clear_cache do | |
front_url = fetch(:front_url) | |
apc_script_path = fetch(:apc_script_path) |