-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathindex.js
More file actions
68 lines (59 loc) · 1.79 KB
/
index.js
File metadata and controls
68 lines (59 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
/*
https://tswiki.atlassian.net/wiki/display/LABS/Useful+SQL+Queries
*/
var app=angular.module('mockups', ['ngMaterial','ngPrettyJson']);
app.controller('main',function($scope,$http){
$scope.objML={
classification:'Suspicious'
,confidence:79
,model:'K Means Clustering'
,factors:['asn','geo','whois','risk','history','dns','activity','honeypots','network']
,topFactors:[
{factor:'risk',influence:23}
,{factor:'history',influence:21}
,{factor:'dns',influence:12}
,{factor:'honeypots',influence:7}
]
}
$scope.arrRows=[
['alignment','borders','color','size','icons']
,['fonts','background','thickness','spacing','shape']
];
$scope.objClasses={
alignment:['left','right','center','left','right']
,borders:['solid','double','dotted','dashed','groove']
,color:['red','orange','yellow','green','blue']
,size:['normal','small','large','tiny','xl']
,icons:[]
,fonts:['sans','serif','mono','normal','normal']
,background:['bgred','bgorange','bgyellow','bggreen','bgblue']
,thickness:['thin','thick','xthick','thick-left','thick-sides']
,spacing:['normal','none','barely','equal','double']
,shape:['normal','round','round-side','round-top']
};
$scope.layouts=['rows','columns','radar','adjacency','position'];
$scope.arrItems=[
{"place": {
"country_code": "BR"
},"_tags":["bell"],
"text": "Relendo estes RPGs que estavam perdidos na minha estante. Quem gostaria de jogar uma sessão… https://t.co/BJXQci7YB6"
},{
"place": {
"country_code": "PH"
},"_tags":["bomb"],
"text": "@kittyhalei24 ahahahahahhahaah grabe ka hard!"
},{
"place": {
"country_code": "US"
},"_tags":["bug"],
"text": "😪 https://t.co/sRqjsoH6GV"
},{
"place": {
"country_code": "VE"
},"_tags":["trash"],
"text": "Yo te quiero tener"
}
];
$scope.borders=['dotted','dashed','double','groove'];
});