Skip to content

Instantly share code, notes, and snippets.

Marcellus Tavares marcellustavares

Block or report user

Report or block marcellustavares

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ac_experiments_openapi.yaml
components:
schemas:
Experiment:
description: https://www.schema.org/Experiment
properties:
dateCreated:
format: date-time
type: string
description:
type: string
View blogs-processing-sample.txt
Blogs - Before
2019-02-15 14:32:46.024 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.ClicksBlogNanite : ClicksBlogNanite processed 50 events in 2835 ms
2019-02-15 14:32:48.791 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.CommentsBlogNanite : CommentsBlogNanite processed 3 events in 2755 ms
2019-02-15 14:32:54.071 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.ReadTimeBlogNanite : ReadTimeBlogNanite processed 50 events in 2915 ms
2019-02-15 14:32:57.179 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.ViewsBlogNanite : ViewsBlogNanite processed 50 events in 3097 ms
2019-02-15 14:33:45.914 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.ClicksBlogNanite : ClicksBlogNanite processed 50 events in 2759 ms
2019-02-15 14:33:52.277 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.ReadTimeBlogNanite : ReadTimeBlogNanite processed 50 events in 2721 ms
2019-02-15 14:33:55.060 INFO 15603 --- [orFactoryBean-1] c.l.o.a.c.c.b.n.blog.ViewsBlogNanite : ViewsBlog
View gist:4e99ca10824830900b4d932d60ff6b46
Oct 25 13:30:07.025 osbasahdxpserver[420d8a982a59] at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:368)
Oct 25 13:30:07.026 osbasahdxpserver[420d8a982a59] at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:346)
Oct 25 13:30:07.027 osbasahdxpserver[420d8a982a59] at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
Oct 25 13:30:07.028 osbasahdxpserver[420d8a982a59] at com.liferay.portal.kernel.internal.servlet.RestrictedByteArrayCacheOutputStream.flush(RestrictedByteArrayCacheOutputStream.java:67)
Oct 25 13:30:07.028 osbasahdxpserver[420d8a982a59] at com.liferay.portal.kernel.servlet.RestrictedByteBufferCacheServletResponse.flushCache(RestrictedByteBufferCacheServletResponse.java:46)
Oct 25 13:30:07.029 osbasahdxpserver[420d8a982a59] at com.liferay.portal.servlet.filters.etag.ETagFilter._postProcessETag(ETagFilter.java:120)
Oct 25 13:30:07.030 osbasahdxpserver[420d8a982a59] at com.liferay.portal.servlet.filters.etag.ETagFilter
View gist:879c1c8e84c79c198026892c2d8052c5
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 14:10:9f:d9:39:7f
@marcellustavares
marcellustavares / script_response.json
Created Aug 24, 2018
Script Aggregation Response
View script_response.json
{
"total": 6,
"queryTime": 4,
"_aggregations": {
"cities": {
"buckets": [
{
"aggregations": {
"avg_fahrenheit": 62.666666666666664,
"avg_celsius": 17.037037037037035
@marcellustavares
marcellustavares / script_sample.json
Created Aug 24, 2018
WeDeploy Script Aggregation
View script_sample.json
[
{
"city": "Los Angeles",
"temp": 50
},
{
"city": "Los Angeles",
"temp": 45
},
{
View Nested Response Sample (Terms-Sum)
{
"total": 46,
"queryTime": 7,
"_aggregations": {
"pages": {
"buckets": [
{
"aggregations": {
"views": 18
},
View nested_sample.json
[
{"primary_key":-405357180,"analytics_key":"customer.liferay.com","touchpoint":"https://customer.liferay.com/documentation/7.0/reference/-/official_documentation/reference/elasticsearch-settings","event_date":"2018-05-07T04:00","user_id":"0361d8e0-72a3-11e8-944b-41a597564fee","country":"Australia","region":"New South Wales","city":"Mascot","browser_name":"Safari","device_type":"Desktop","platform_name":"macOS","engagement":0.27,"time_on_page":10000,"views":1,"bounces":0},
{"primary_key":-41466125,"analytics_key":"www.liferay.com","touchpoint":"https://www.liferay.com/","event_date":"2018-06-13T22:00","user_id":"AWDs48iERQhVcGP_61oT","country":"United States","region":"California","city":"Montclair","browser_name":"Chrome","device_type":"Desktop","platform_name":"macOS","engagement":0.27,"time_on_page":3000,"views":1,"bounces":1},
{"primary_key":-1988533760,"analytics_key":"www.liferay.com","touchpoint":"https://www.liferay.com/","event_date":"2018-06-23T01:00","user_id":"2174c680-7681-11e8-983c-0
@marcellustavares
marcellustavares / cardinality_sample.json
Created Aug 23, 2018
WeDeploy Cardinality Sample Data
View cardinality_sample.json
[
{
"identifier": 1,
"email": "iliyan.peychev@liferay.com",
"event": "pageView",
"url": "http://www.liferay.com"
},
{
"identifier": 2,
"email": "iliyan.peychev@liferay.com",
@marcellustavares
marcellustavares / multi_match_sample.json
Created Aug 23, 2018
WeDeploy MultiMatch Sample Data
View multi_match_sample.json
[
{
"identifier": 1,
"first_name": "Etta",
"last_name": "James"
},
{
"identifier": 2,
"first_name": "James",
"last_name": "Stewart"
You can’t perform that action at this time.