##Subscriber List
http://employee-portal.dev/#/ui/subs_list
In a single-account / multi-subscriber scenerio, the UI would require these object formats.
{
accounts: [
{
package BQ::OSS::Data::Warehouse::Build; | |
############################################## | |
# This package verifies and build extraction jobs | |
# based on xml file | |
# | |
# Job: | |
# Load XML file | |
# Check table for consistency | |
# Get last run info from DW extraction_jobs |
[mysqld_safe] | |
nice = -15 | |
[mysqld] | |
max_binlog_size = 256M #max size for binlog before rolling | |
expire_logs_days = 1 #binlog files older than this will be purged | |
## Per-Thread Buffers * (max_connections) = total per-thread mem usage | |
thread_stack = 256K #default: 32bit: 192K, 64bit: 256K | |
sort_buffer_size = 1M #default: 2M, larger may cause perf issues |
#!/usr/bin/perl | |
use Parallel::ForkManager; | |
use Data::Dumper; | |
$ENV{'foo'} = 'bar'; | |
my $pm = Parallel::ForkManager->new( shift ); | |
my $cnt = 10; | |
for ( 1 .. $cnt ) { |
App.Company = Ember.Model.extend | |
name: DS.attr() | |
addresses: DS.hasMany 'address' | |
App.Address = Ember.Model.extend | |
city: DS.attr() | |
company: DS.belongsTo 'company' | |
App.CompanyNewController = Ember.ObjectController.extend | |
model: -> |
foo = "bar" | |
data = [ | |
id:1 | |
name: "bat" | |
, | |
id: 2 | |
name: "baz" | |
] | |
# how can I interpolate foo into this data structure? |
# AMS API Mocker | |
$.mockjax | |
url: "*" | |
responseTime: 0 | |
response: (mobject) -> | |
url = mobject.url.slice(1).split('/') | |
object = url.shift() | |
type = mobject.type | |
mobject.data = [] unless mobject.data | |
payload = {} |
App.Router.map -> | |
@resource "teams", -> | |
@route "new" | |
@resource "team", path: "/:team_id", -> | |
@route "edit" | |
App.TeamEditRoute = Ember.Route.extend | |
model: -> | |
@modelFor "team" | |
renderTemplate: -> |
ken@Ken-Elliotts-MacBook-Air:~/dev/employee_portal$ grunt test | |
Running "coffeelint:gruntfile" (coffeelint) task | |
>> 1 file lint free. | |
Running "coffeelint:sources" (coffeelint) task | |
>> 0 files lint free. | |
Running "clean:dev" (clean) task | |
Cleaning ./dev/app...OK | |
Cleaning ./dev/assets...OK |
Ember.Handlebars.helper "eachProperty", (obj, options) -> | |
key = undefined | |
result = undefined | |
value = undefined | |
result = "" | |
for key of obj | |
value = obj[key] | |
result += options.fn( | |
key: key | |
value: value |
##Subscriber List
http://employee-portal.dev/#/ui/subs_list
In a single-account / multi-subscriber scenerio, the UI would require these object formats.
{
accounts: [
{