com | action | note |
---|---|---|
ctrl + a |
move to beginning of line | |
ctrl + e |
move to end of line | |
alt + b |
move one word backward | |
alt + f |
move one word forward | |
ctrl + b |
move one character backward | |
ctrl + f |
move one character forward |
This file has been truncated, but you can view the full file.
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
[{ | |
"blh": "0xdbd87a1a49f670783dc5ba394d3714bea0f79f991e9fa72b748e598ff9d51023", | |
"txhash": "0x9cc64b20313b4857ad984a8f01d6ac688214cc54764a2afefedb309d02ea1ac0" | |
}, { | |
"blh": "0xdbd87a1a49f670783dc5ba394d3714bea0f79f991e9fa72b748e598ff9d51023", | |
"txhash": "0xaa5dd5a09a5db5adf05c0ccf7b69c9943552327e79074ce41781ea4e075b1571" | |
}, { | |
"blh": "0xdbd87a1a49f670783dc5ba394d3714bea0f79f991e9fa72b748e598ff9d51023", | |
"txhash": "0xb2ce39a739f0ff0bd5a1cdf91c74911693aca450837e4a6aa66d51d3759d9998" | |
}, { |
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
{ | |
"DifficultyTest1": { | |
"parentTimestamp": "0x28d214818", | |
"parentDifficulty": "0x6963001f28ba95c2", | |
"parentUncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", | |
"currentTimestamp": "0x28d214818", | |
"currentBlockNumber": "0x186a0", | |
"currentDifficulty": "0x69702c7f2c9fad14" | |
}, | |
"DifficultyTest10": { |
This file has been truncated, but you can view the full file.
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/Dockerfile b/Dockerfile | |
index e87dd35d3..4b205d649 100644 | |
--- a/Dockerfile | |
+++ b/Dockerfile | |
@@ -1,5 +1,5 @@ | |
# Build Geth in a stock Go builder container | |
-FROM golang:1.11-alpine as builder | |
+FROM golang:1.12-alpine as builder | |
RUN apk add --no-cache make gcc musl-dev linux-headers |
This file has been truncated, but you can view the full file.
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/.github/CODEOWNERS b/.github/CODEOWNERS | |
deleted file mode 100644 | |
index ed59c98cc..000000000 | |
--- a/.github/CODEOWNERS | |
+++ /dev/null | |
@@ -1,18 +0,0 @@ | |
-# Lines starting with '#' are comments. | |
-# Each line is a file pattern followed by one or more owners. | |
- | |
-accounts/usbwallet @karalabe |
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 ( | |
"log" | |
"strings" | |
"sync" | |
"time" | |
) | |
type workdata struct { |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v2.min.js?2.9.3"></script> | |
<style> | |
.link { | |
stroke: #aaa; | |
} | |
.node text { |
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 ( | |
"fmt" | |
"io" | |
) | |
import bolt "github.com/johnnadratowski/golang-neo4j-bolt-driver" | |
import "github.com/johnnadratowski/golang-neo4j-bolt-driver/structures/graph" | |
// Constants to be used throughout the example | |
const ( |
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 "fmt" | |
import bolt "github.com/johnnadratowski/golang-neo4j-bolt-driver" | |
import "github.com/johnnadratowski/golang-neo4j-bolt-driver/structures/graph" | |
func quickNDirty() { | |
driver := bolt.NewDriver() | |
//conn, _ := driver.OpenNeo("bolt://neo4j:newneo4j@localhost:7474") | |
conn, _ := driver.OpenNeo("bolt://neo4j:newneo4j@localhost:7687") |
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
#!/usr/bin/python | |
import fileinput | |
import operator | |
mydict = {} | |
for line in fileinput.input(): | |
st = ''.join(line.replace(" ", "").split()) | |
for c in st: | |
if not c.isalnum(): |