Skip to content

Instantly share code, notes, and snippets.

View Goston's full-sized avatar

Wei-Ting Chen Goston

View GitHub Profile
@Goston
Goston / Client.java
Last active May 16, 2021 09:34
Apache Axis 1.4 WebService Client via TLS 1.2 @ JDK 1.6
// Call this first
AxisProperties.setProperty("axis.socketSecureFactory", MySocketFactory.class.getCanonicalName());
// Access your Web Services
WebServiceStub ws = (GSP2_NHICardSoap12Stub) new WebServiceLocator()...;
...
@Goston
Goston / component.vue
Last active August 29, 2022 08:58
vue-select Bootstrap / BootstrapVue css
<v-select class="form-control"
:class="{
'is-invalid': isValid === false ? true : undefined,
'is-valid': isValid ? true : undefined
}"
:options="['Canada', 'United States']">
</v-select>
@Goston
Goston / Step.md
Last active August 31, 2022 01:21
Resolve Gradle: Supplied javaHome must be a valid directory
  1. go to ~/.gradle/daemon directory
  2. delete xx directory (xx is Gradle version)

you can check Gradle version with gradle -v command.

@Goston
Goston / obsidian-outline-snippets.css
Last active November 4, 2022 07:37
Obsidian Outline Panel collapse-icon to right side
/* Outline Panel */
div.outline .tree-item-inner {
margin-right: 15px !important;
word-break: break-all;
}
div.outline div.collapse-icon {
position: absolute !important;
right: 15px !important;