Skip to content

Instantly share code, notes, and snippets.

@githubwua
githubwua / README.md
Last active June 26, 2024 05:11
How to Pay Taxes in Japan with a Credit Card Without Fees and Earn Reward Points
@githubwua
githubwua / 0_reuse_code.js
Created July 23, 2017 20:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@githubwua
githubwua / spanner.md
Last active July 29, 2017 11:18
Spanner

Reference: https://cloud.google.com/spanner/docs/getting-started/java/

Create a test instance

gcloud spanner instances create test-instance --config=regional-us-central1 --description="Test Instance" --nodes=1

Sample Code

NOTE: Java 8 required!! (Java 7 will fail to compile)

git clone https://github.com/GoogleCloudPlatform/java-docs-samples
cd java-docs-samples/spanner/cloud-client
@githubwua
githubwua / git.build.jar.txt
Last active January 8, 2018 12:47
Java Maven mvn mavenclass
Tutorial: Build a JAR file with Maven in 5 minutes
https://cwiki.apache.org/confluence/display/MAVEN/Tutorial%3A+Build+a+JAR+file+with+Maven+in+5+minutes
How to create a jar file with Maven
https://www.mkyong.com/maven/how-to-create-a-jar-file-with-maven/