This file contains 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
[{ | |
"name": "Tyler", | |
"age": 25 | |
}, { | |
"name": "Otavio", | |
"age": 32 | |
}] |
This file contains 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
web_1 | Started GET "/v1/notifications" for 172.18.0.1 at 2018-03-08 23:09:19 +0000 | |
web_1 | Processing by NotificationsController#index as HTML | |
web_1 | User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = $1 LIMIT $2 [["uid", "U8ASFTHBN"], ["LIMIT", 1]] | |
web_1 | UserIdentity Load (0.3ms) SELECT "user_identities".* FROM "user_identities" WHERE "user_identities"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
web_1 | (0.6ms) SELECT COUNT(*) FROM (SELECT 1 FROM "notifications" WHERE "notifications"."user_identity_id" = $1 AND (read_at IS NULL) ORDER BY "notifications"."created_at" DESC LIMIT $2) subquery_for_count [["user_identity_id", 1], ["LIMIT", 8]] | |
web_1 | [active_model_serializers] Notification Load (0.5ms) SELECT "notifications".* FROM "notifications" WHERE "notifications"."user_identity_id" = $1 ORDER BY "notifications"."created_at" DESC LIMIT $2 [["user_identity_id", 1], ["LIMIT", 8]] | |
web_1 | [active_model_serializers] Comment Load ( |
This file contains 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
{ | |
dimensions: {}, | |
creator: "lasdlas", | |
experiences: [{ | |
type: "IMAGE", | |
url: "image.jpg" | |
}, { | |
type: "TEXT", | |
text: "Lorem ipsum" | |
}, |
This file contains 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
var seneca = require('seneca')(); | |
seneca.add({cmd: 'long-op'}, function (args, done) { | |
console.log('act called') | |
setTimeout(function() { | |
console.log('respond') | |
return done(null, {ok: true}); } | |
, 30000) | |
}); |
This file contains 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
var sequelize = require('sequelize'); | |
var mysql = require('mysql'); | |
var sequelize = sequelize('mysql://root:root@127.0.01:3306/auction'); | |
module.exports = | |
{ | |
sequelize | |
}; |
This file contains 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
/etc/killbill/kpm.yml file not found - creating now... | |
Starting Kaui installation... | |
I, [2016-12-29T12:40:47.374000 #27] INFO -- : Starting download of org.kill-bill.billing.kaui:kaui-standalone:war:0.8.0 to /tmp/d20161229-27-1rb6w9i | |
I, [2016-12-29T12:40:54.844000 #27] INFO -- : Successful installation of org.kill-bill.billing.kaui:kaui-standalone:war:0.8.0 to /var/lib/tomcat7/webapps | |
Starting Kaui: CATALINA_OPTS=-server -XX:PermSize=512m -XX:MaxPermSize=1G -Xms1G -Xmx2G -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345 -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -Xloggc:/var/log/tomcat7/gc.log -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=14 -XX:GCLogFileSize=100M -Djava.security.egd=file:/dev/./ur |
This file contains 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
podTemplate(label: 'mypod', cloud: 'Kubernetes', | |
containers: [ | |
containerTemplate(name: 'jenkins-jnlp', image: 'artyou/jenkins-slave:0.1.2', command: 'cat', ttyEnabled: true, privileged: true), | |
containerTemplate(name: 'jnlp', image: 'jenkinsci/jnlp-slave:alpine', args: '${computer.jnlpmac} ${computer.name}', privileged: true), | |
], | |
volumes: [hostPathVolume(hostPath: '/var/run/docker.sock', mountPath: '/var/run/docker.sock')]) { | |
node('mypod') { | |
stage('build and test') { | |
checkout scm | |
docker.image('mhart/alpine-node:4.4.3').inside { |
This file contains 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
mongodata: | |
image: mongo | |
ports: | |
- 27017:27017 | |
redis: | |
image: smebberson/alpine-redis | |
ports: | |
- 6379:6379 | |
volumes: |
This file contains 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
1) Error in custom provider, com.zaxxer.hikari.pool.PoolInitializationException: Exception during pool initialization | |
at org.killbill.billing.server.modules.KillbillPlatformModule.provideDataSourceInAComplicatedWayBecauseOf627(KillbillPlatformModule.java:115) | |
at org.killbill.billing.server.modules.KillbillPlatformModule.provideDataSourceInAComplicatedWayBecauseOf627(KillbillPlatformModule.java:115) | |
while locating javax.sql.DataSource | |
for parameter 1 at org.killbill.commons.jdbi.guice.DBIProvider.<init>(DBIProvider.java:61) | |
while locating org.killbill.commons.jdbi.guice.DBIProvider | |
at org.killbill.billing.server.modules.KillbillPlatformModule.configureDao(KillbillPlatformModule.java:105) | |
while locating org.skife.jdbi.v2.IDBI | |
for parameter 0 at org.killbill.billing.util.security.shiro.dao.DefaultUserDao.<init>(DefaultUserDao.java:53) | |
while locating org.killbill.billing.util.security.shiro.dao.DefaultUserDao |
This file contains 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
Nov 10, 2016 1:16:00 AM org.apache.catalina.core.AprLifecycleListener init | |
INFO: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.5.1. | |
Nov 10, 2016 1:16:00 AM org.apache.catalina.core.AprLifecycleListener init | |
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. | |
Nov 10, 2016 1:16:00 AM org.apache.catalina.core.AprLifecycleListener initializeSSL | |
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013) | |
Nov 10, 2016 1:16:00 AM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["http-apr-8080"] | |
Nov 10, 2016 1:16:00 AM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 704 ms |
NewerOlder