Skip to content

Instantly share code, notes, and snippets.

View soichisumi's full-sized avatar
🔥
Focusing on GenAI. Professional in AI, SRE and Blockchain

Soichi Sumi soichisumi

🔥
Focusing on GenAI. Professional in AI, SRE and Blockchain
View GitHub Profile
@soichisumi
soichisumi / horizon-client-example.go
Last active June 4, 2019 04:14
an example of stellar/go/horizonclient and conversion of Embedded.Records / [Stellar] [Go]
package main
import (
"encoding/json"
"fmt"
"github.com/stellar/go/clients/horizonclient"
"github.com/stellar/go/protocols/horizon/operations"
)
@soichisumi
soichisumi / showFields.js
Created June 24, 2019 12:49
object の fieldの中身を列挙する. Objectがundefinedなパラメータがないかどうかのチェックのときに使用する
function showFields(target) {
for (var f in target) {
console.log(`${f}: ${target[f]}`);
}
}
@soichisumi
soichisumi / README.md
Created July 15, 2019 10:01
an example of gcp service account

GCP Service Account Example

this is an example of gcp service account. Clearly, service account has a private key and a certificate.

So GCP uses public-key cryptography (+ certificate to validate wheather public key is falsificated) to authenticate the service account.