Skip to content

Instantly share code, notes, and snippets.

@nobuhikosekiya
nobuhikosekiya / wls1221_deploy_samples.txt
Created September 30, 2016 02:02
REST API samples to deploy appilcations to WebLogic Server 12.2.1
#!/bin/sh
# Upload and deploy a app from local.
curl -v --user user:password -H X-Requested-By:MyClient -H Accept:application/json -H Content-Type:multipart/form-data \
-F "model={
name: 'myapp',
targets: [ { identity: [ 'servers' , 'AdminServer' ] } ]
}" \
-F "sourcePath=@target\myapp.war" -H "Prefer:respond-async" \
-X POST http://192.168.99.100:8001/management/weblogic/latest/edit/appDeployments
@nobuhikosekiya
nobuhikosekiya / docker-compose.yml
Created December 6, 2023 08:35
my minimum docker compose for otel demo v1.5.0
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
version: '3.9'
x-default-logging: &logging
driver: "json-file"
options:
max-size: "5m"
max-file: "2"
@nobuhikosekiya
nobuhikosekiya / qiitablog-vectorsearch-elasticsearch.ipynb
Created December 26, 2023 05:30
qiitablog-vectorsearch-elasticsearch.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.