API:
<request-url>
Query:
chart_type = pieChart || barGraph
interval = daily || weekly || monthly
date_range = "2016-10-12,2016-10-12"
$> launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist | |
$> /usr/local/Cellar/mysql/5.5.9/bin/mysqld --basedir=/usr/local/Cellar/mysql/5.5.9 --datadir=/usr/local/Cellar/mysql/5.5.9/data --plugin-dir=/usr/local/Cellar/mysql/5.5.9/lib/plugin --log-error=/usr/local/Cellar/mysql/5.5.9/data/errors.err --pid-file=/usr/local/Cellar/mysql/5.5.9/data/pidfile.pid --skip-grant-tables | |
$> mysql | |
mysql> UPDATE mysql.user SET Password=PASSWORD('root_password') WHERE User='root'; | |
mysql> FLUSH PRIVILEGES; | |
$> kill `cat /usr/local/Cellar/mysql/5.5.9/data/pidfile.pid` |
[ | |
{ | |
"directive" : "weekly-timelog", | |
"name" : "Weekly Timelog", | |
}, | |
{ | |
"component" : "daily-timelog", | |
"name" : "Daily Timelog" | |
}, | |
{ |
In front-end side, our implementation when fetching a data from the server is that the response data structure should be consistent.
e.g when the response has data and in the form of an object structure
{
"total": 22,
"per_page": "1000",
"current_page": 1,
"last_page": 1,
"next_page_url": null,
vm.gridOptions = [ | |
{ | |
'name' : 'jobName', | |
'displayName' : 'Job Name', | |
'grouping' : { | |
'groupPriority' : 1 | |
}, | |
'sort' : { | |
'priority' : 1, |
docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq rabbitmq:3-management |
#include<stdio.h> | |
#include<string.h> | |
#define MAX 5 | |
struct record { | |
char fname[ 20 ]; | |
char lname[ 20 ]; | |
char mname[ 20 ]; | |
char bdate[ 30 ]; | |
int mm; |
return gulp | |
.src( sources ) | |
.pipe( $.jshint( jshintrcFile ) ) | |
.pipe( $.jshint( { 'linter' : require( 'jshint-jsx' ).JSXHINT } ) ) // you need to separetely install this module | |
.pipe( $.jshint.reporter( 'jshint-stylish', { 'verbose' : true } ) ) | |
.pipe( $.jshint.reporter( 'fail' ) ); |
<cfcomponent> | |
<cffunction name="conversion" returntype="any" access="remote" > | |
<cfargument name="localDate" type="string" required="true" > | |
<cfargument name="localTimeDiff" type="string" required="true"> | |
<!--- assume the server is in utah ---> | |
<cfset var utahTimeDiff = -7 > | |
<cfset var diff = utahTimeDiff + localTimeDiff > | |
<cfset var convertedDate = DateAdd( "h", diff, localDate ) > |
<!-- Place this file inside your 'Packages/User' folder --> | |
<snippet> | |
<content> | |
<![CDATA[9 | |
( function ( angular ) { | |
'use strict'; | |
} )( window.angular ); | |
]]> | |
</content> | |