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
{ | |
"list_object" : [ | |
{"app_name": "app 1", "package_name": "package.name" }, | |
{"app_name": "app 2", "package_name": "package.name22" }, | |
{"app_name": "app 3", "package_name": "package.name33" }, | |
{"app_name": "app 4", "package_name": "package.name44" }, | |
{"app_name": "app 5", "package_name": "package.name55" } | |
] , | |
"child_id" : 13 | |
} |
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
/** | |
* Weekdays calculator | |
* @author Andrei Kondratev [[email protected]] | |
*/ | |
;if ( typeof require !== 'undefined' ) | |
{ | |
moment = require('moment'); | |
} | |
(function(moment) { |
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
<VirtualHost *:80> | |
# The ServerName directive sets the request scheme, hostname and port that | |
# the server uses to identify itself. This is used when creating | |
# redirection URLs. In the context of virtual hosts, the ServerName | |
# specifies what hostname must appear in the request's Host: header to | |
# match this virtual host. For the default virtual host (this file) this | |
# value is not decisive as it is used as a last resort host regardless. | |
# However, you must set it for any further virtual host explicitly. | |
#ServerName www.example.com |
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 is how i call service from controller | |
sessionService.getAllSessions(100, 0).then(function (data) { | |
console.log(data); | |
$scope.allSessions = data.data; | |
}); | |
// This is the service layer | |
getAllSessions: function (limit, offset) { | |
return $http({ | |
method: "GET", |
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
//Some import statements are missing here. Not added. | |
var app = require('express')(); | |
var server = require('http').createServer(app); | |
var io = require('socket.io')(server); | |
// Creating the socket connection. | |
io.sockets.on('connection', function (socket) { | |
socket.on('join', function (data) { | |
socket.join(data.id); | |
}); |
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
[ [ '201801', '(Other)', '129' ], | |
[ '201801', 'Direct', '2236' ], | |
[ '201801', 'Email', '2' ], | |
[ '201801', 'Organic Search', '6263' ], | |
[ '201801', 'Referral', '185' ], | |
[ '201801', 'Social', '669' ], | |
[ '201802', '(Other)', '371' ], | |
[ '201802', 'Direct', '2037' ], | |
[ '201802', 'Email', '3' ], | |
[ '201802', 'Organic Search', '5790' ], |
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
import React, { Component } from 'react'; | |
class Planet extends Component { | |
constructor(props) { | |
super(props); | |
} | |
render() { | |
let planets = this.props.planets; | |
console.log("check data : ", planets); |
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
import React, { Component } from 'react'; | |
import './App.css'; | |
import News from './News/News'; | |
import Sidenews from "./News/Sidenews"; | |
import Planet from "./Elements/Planet"; | |
class App extends Component { | |
constructor() { | |
super(); |
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
merge [WARN] carc (0x0011) service/persistentdata/PersistentDataBlockManager.car 55 : The usage is deprecated, and will be removed. | |
merge [WARN] carc (0x0011) service/textservice/SpellCheckerService.car 86 : The usage is deprecated, and will be removed. | |
merge [WARN] carc (0x0011) service/textservice/SpellCheckerService.car 106 : The usage is deprecated, and will be removed. | |
merge [WARN] carc (0x0004) service/textservice/SpellCheckerService.car 146 : No methods defined in interface. | |
merge [WARN] carc (0x0004) service/trust/TrustAgentService.car 146 : No methods defined in interface. | |
merge [WARN] carc (0x0004) service/voice/VoiceInteractionSession.car 58 : No methods defined in interface. | |
merge [WARN] carc (0x0004) service/voice/VoiceInteractionSession.car 82 : No methods defined in interface. | |
merge [WARN] carc (0x0011) service/voice/VoiceInteractionSession.car 312 : The usage is deprecated, and will be removed. | |
merge [WARN] carc (0x0004) service/wallpaper/WallpaperService.car 36 : No methods defined in interfa |
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
~/Dev/Elastos.OS/Sources$ emake rebuild | |
Clean done... | |
. | |
Building /home/lahiru/Dev/Elastos.OS/Sources/Elastos | |
. | |
Building /home/lahiru/Dev/Elastos.OS/Sources/Elastos/Runtime | |
. | |
Building /home/lahiru/Dev/Elastos.OS/Sources/Elastos/Runtime/PortingLayer | |
. | |
Building /home/lahiru/Dev/Elastos.OS/Sources/Elastos/Runtime/PortingLayer/crt0 |