#Calendar Front End Documentation
##Events ####Example Event ```javascript { id: 1, title: 'UNFILLED SHIFT', type: 0, start: new Date(y, m, 1),
-- | |
-- Table structure for table `weekly_reports` | |
-- | |
CREATE TABLE `weekly_reports` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`user_id` int(11) NOT NULL, | |
`startdate` varchar(100) NOT NULL, | |
`enddate` varchar(100) NOT NULL, | |
`location_id` int(11) NOT NULL, |
<!-- entire element --> | |
<div class="tokenfield form-control" style="text-align:left;border-bottom:none;"> | |
<!-- hidden input --> | |
<input type="text" class="form-control validate-me" value="[]" tabindex="-1" style="position: absolute; left: -10000px;" name="notes[4][good][<?php echo $staffPositiveCount;?>][tag]" id="notes_4_good_<?php echo $staffPositiveCount;?>_tag" data-divhighlight="notes-4-good-<?php echo $staffPositiveCount;?>-tag"> | |
<!-- /hidden input --> | |
<!-- token container --> | |
<div id="notes4good<?php echo $staffPositiveCount;?>tag" style="display: inline;"> | |
<!-- tokens --> | |
<!-- /tokens --> | |
</div> |
CREATE TABLE `room_condition_report_damage_reports` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`array` longtext NOT NULL, | |
`organization_id` int(11) NOT NULL, | |
`created` varchar(300) NOT NULL, | |
`key` varchar(100) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; |
#Calendar Front End Documentation
#The api_console
The api console can be called from app/Console
similar to this: ./cake api_console param param param
##Non user removing calls
./cake api_console "all"
This call assigns all users to the proper rooms based upon the most recent api dumps for all institutions
./cake api_console "$org_id" "$org_id"
This is a running log of information I plan to use to help me research, understand, implement and communicate why and how to utilize New Relic's APM suite inside of a Meteor application.
Meteor's rise to prominence (currently 30th ranked project on GitHub) has brought challenges for developers that choose to utilize the framework in a production environment. One of those challenges is application monitoring. With the downfall of Kadira, Meteor's defacto go to application monitoring service, developers have been relegated primarily to self hosting Kadira, or jumping into the larger Galaxy platform for insights.
Enter New Relic and it's industry leading APM suite.
New Relic automatically discovers seasonality and evaluates the use of 4 algorithms for unique time series slices. Further, we've built an extensible ensemble algorithm that we continue to add to. In regards to seasonality, we've applied a technique common in signal processing, called Fast Fourier Transforms (FFT’s). FFT’s can be used to identify the underlying frequency in a time series. We use FFT’s to sniff out good candidates for 'seasons', then try the candidates on the baseline bootstrapping data and see if works better than the default. Currently in our ensemble approach we evaluate four options: triple exponential smoothing with the discovered seasonality, triple exponential smoothing with the default seasonality (Holt-Winters), double exponential smoothing (i.e. look only at recency and trend factors) and single exponential smoothing (just look at recency). Lastly, end users do not currently have access to modify these dynamic baselining algorithms. |
/* | |
New Relic GPT ad monitoring code | |
// | |
This snippet captures PageActions containing references to Google publisher tag ads | |
Should you have any questions about this, please reach out to me at [email protected] | |
Please note that you must be using New Relic's SPA browser agent. | |
// | |
*/ | |
// | |
//first, make sure the newrelic object exists properly |
//instantiate globally | |
//below is the global array where we'll record the last 6 steps | |
window.NewRelicDirectFunnelArray = ["", "", "", "", "", ""]; | |
//and the function we'll use to manage the data structure | |
window.NewRelicDirectFunnelFunction = function(pageActionName){ | |
//capture a delimited string containing the last 6 pageActions since the initial pageload | |
var previousSixPageActionsString = window.NewRelicDirectFunnelArray.join("||"); | |
//dequeue the oldest pageAction value out of the queue | |
window.NewRelicDirectFunnelArray.shift(); | |
//push the newest pageAction value into the queue |
{ | |
"type": "notification_event_data", | |
"item": { | |
"type": "conversation", | |
"id": "18255009678", | |
"created_at": 1535647240, | |
"updated_at": 1535952882, | |
"user": { | |
"type": "user", | |
"id": "5b881d43dc78d66a0817eab9", |