Skip to content

Instantly share code, notes, and snippets.

View fujigon's full-sized avatar

Dec12 | Fujigon fujigon

  • woven-planet.global
  • Tokyo, Japan
View GitHub Profile
public class Test {
interface MyInterface1 {
int myMethod(int x);
default int myDefaultMethod(int x) {
return x * x;
}
static int myStaticMethod(int x) {
@fujigon
fujigon / gist:8bc01844a9818144e12b6d61af1e83b9
Last active August 31, 2019 12:51
windows terminal setup for msys2 and git bash
{
"acrylicOpacity": 0.75,
"closeOnExit": true,
"colorScheme" : "Campbell",
"commandline": "C:\\msys64\\usr\\bin\\bash.exe --login -i",
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"fontFace" : "Consolas",
"fontSize": 10,
"guid": "{09dc5eef-6840-4050-ae69-21e55e6a2e63}",
@fujigon
fujigon / pyenv.yml
Last active August 21, 2019 10:08
install pyenv to centos6 (ansible)
# thanks to https://github.com/pyenv/pyenv/issues/1184#issuecomment-469450250
# execute as following...
# ansible-playbook locust.yml -i your-target.host.com, -k -K -e user=your_username
---
- hosts: all
become: yes
tasks:
- yum: name="{{ item }}" state=present
with_items:
- "@Development tools"
@fujigon
fujigon / SchemaIncludingExternalRef.yaml
Created August 20, 2018 09:14
oas 3 that includes relative local file ref that includes remote file ref
components:
schemas:
SchemaIncludingExternalRef:
required:
- accountId
properties:
accountId:
$ref: 'https://raw.githubusercontent.com/swagger-api/swagger-parser/v2.0.2/modules/swagger-parser-v3/src/test/resources/relative/globals.yaml#/components/schemas/link-object'
@fujigon
fujigon / gist:f5c8e591548e0e8ec30bc019be73ad9d
Created August 3, 2018 02:20
mvn compile error on jaxrs-spec sample
$ mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< org.openapitools:jaxrs-spec-petstore-server >-------------
[INFO] Building jaxrs-spec-petstore-server 1.0.0
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ jaxrs-spec-petstore-server ---
[INFO] Source directory: C:\publicgithub\openapi-generator\samples\server\petstore\jaxrs-spec\src\gen\java added.
[INFO]