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
DIRECTORY=. | |
WORKING_DIR=$PWD | |
TMP="$WORKING_DIR/commits" | |
echo "" > commits | |
i=0 | |
NAME=$1 | |
echo "Counting stats for $NAME" |
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
class WebVerticle : CoroutineVerticle() { | |
suspend override fun start() { | |
val router = Router.router(vertx) | |
router.get("/api/account/:id").coroutine { account(it) } | |
// TODO | |
} | |
suspend internal fun account(ctx: RoutingContext) { | |
// TODO | |
} | |
fun Route.coroutine(coroutineHandler: suspend (RoutingContext) -> Unit): Route { |
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
sudo java -jar hawtio-app-1.4.66.jar | |
[main] INFO jetty - using temp directory for jetty: /root/.hawtio/tmp | |
Embedded hawtio: You can use --help to show usage | |
Using options [ | |
war=/tmp/hawtio-7492351143374988182.war | |
contextPath=/hawtio | |
port=8080 | |
extraClassPath=file:/usr/lib/jvm/java-8-oracle/lib/tools.jar | |
plugins=plugins | |
openUrl=true |
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
➜ Downloads java -jar hawtio-app-1.4.66.jar | |
[main] INFO jetty - using temp directory for jetty: /home/romanovi/.hawtio/tmp | |
Embedded hawtio: You can use --help to show usage | |
Using options [ | |
war=/tmp/hawtio-571539584844446991.war | |
contextPath=/hawtio | |
port=8080 | |
extraClassPath=file:/usr/lib/jvm/java-8-oracle/lib/tools.jar | |
plugins=plugins | |
openUrl=true |
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
TypeError (wrong argument type ActionDispatch::Http::UploadedFile (expected String)): | |
activerecord (4.0.0) lib/active_record/connection_adapters/postgresql/oid.rb:34:in `unescape_bytea' | |
activerecord (4.0.0) lib/active_record/connection_adapters/postgresql/oid.rb:34:in `type_cast' | |
activerecord (4.0.0) lib/active_record/connection_adapters/postgresql_adapter.rb:136:in `type_cast' | |
activerecord (4.0.0) lib/active_record/attribute_methods/dirty.rb:93:in `_field_changed?' | |
activerecord (4.0.0) lib/active_record/attribute_methods/dirty.rb:66:in `write_attribute' | |
activerecord (4.0.0) lib/active_record/attribute_methods/write.rb:19:in `__temp__c6f676f6=' | |
activerecord (4.0.0) lib/active_record/attribute_assignment.rb:42:in `public_send' | |
activerecord (4.0.0) lib/active_record/attribute_assignment.rb:42:in `_assign_attribute' | |
protected_attributes (1.0.3) lib/active_record/mass_assignment_security/attribute_assignment.rb:67:in `block in assign_attributes' |