- Open OAuth 2.0 Playground
- Set the valid scopes, select all the scopes in Drive API
- Follow the steps
- Get the
Access Token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
가 | |
가까스로 | |
가령 | |
각 | |
각각 | |
각자 | |
각종 | |
갖고말하자면 | |
같다 | |
같이 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git isaac/block/localfs_writer.go isaac/block/localfs_writer.go | |
index 9bdfa2b9..d963da88 100644 | |
--- isaac/block/localfs_writer.go | |
+++ isaac/block/localfs_writer.go | |
@@ -146,6 +146,7 @@ func (w *LocalFSWriter) SetOperationsTree(ctx context.Context, tw *fixedtree.Wri | |
func(ctx context.Context, _ uint64) error { | |
_ = w.opsf.Close() | |
+ if l := atomic.LoadUint64(&w.lenops); l > 0 { | |
if err := w.m.SetItem(NewLocalBlockMapItem( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git isaac/block/localfs_writer.go isaac/block/localfs_writer.go | |
index 9bdfa2b9..eda6c126 100644 | |
--- isaac/block/localfs_writer.go | |
+++ isaac/block/localfs_writer.go | |
@@ -15,7 +15,6 @@ import ( | |
"strconv" | |
"strings" | |
"sync" | |
- "sync/atomic" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
set -x | |
cd ./example | |
go build \ | |
-gcflags=-trimpath=$GOPATH \ | |
-asmflags=-trimpath=$GOPATH \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
################################################################################ | |
Dump ElasticSearch index for inserting BULK | |
################################################################################ | |
requires `rawes`. | |
for more details, run `-h` to show help message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/base/address_decoder.go b/base/address_decoder.go | |
index b7a4b5fb..2443ca70 100644 | |
--- a/base/address_decoder.go | |
+++ b/base/address_decoder.go | |
@@ -11,6 +11,10 @@ type AddressDecoder struct { | |
} | |
func (ad *AddressDecoder) Encode(enc encoder.Encoder) (Address, error) { | |
+ if ad == nil { | |
+ return nil, nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/tls" | |
"crypto/x509" | |
"encoding/pem" | |
"fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#set -x | |
finish() { | |
tput sgr0 | |
docker volume prune -f | |
docker container prune -f | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/base/node/errors.go b/base/node/errors.go | |
new file mode 100644 | |
index 0000000..c66df3b | |
--- /dev/null | |
+++ b/base/node/errors.go | |
@@ -0,0 +1,23 @@ | |
+package node | |
+ | |
+import "github.com/spikeekips/mitum/base" | |
+ |
NewerOlder