Skip to content

Instantly share code, notes, and snippets.

View tomlinton's full-sized avatar

Tom Linton tomlinton

  • Dunedin, New Zealand
View GitHub Profile
eth_estimateGas
> {
> "jsonrpc": "2.0",
> "method": "eth_estimateGas",
> "params": [
> {
> "from": "0x1974f84881af4204a21f18c43d7c4d9dee331bb5",
> "to": "0xe6f223de7f7de51f258f9dcb28174736fb5dcc2a",
> "data": "0xd3148fb6000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000005f5e100"
> }
fetch("https://www.amazon.com/gp/delivery/ajax/address-change.html", {
"headers": {
"accept": "text/html,*/*",
"accept-language": "en-US,en;q=0.9,es;q=0.8",
"cache-control": "no-cache",
"content-type": "application/x-www-form-urlencoded;charset=UTF-8",
"pragma": "no-cache",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
=== START OF INFORMATION SECTION ===
Device Model: SAMSUNG MZ7LN512HMJP-00000
Serial Number: S2MHNB0J301080
LU WWN Device Id: 5 002538 d41d710a4
Firmware Version: MAV0100Q
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
@tomlinton
tomlinton / kube-dns.yaml
Created July 10, 2019 22:07
kube-dns.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: kube-dns
namespace: kube-system
data:
stubDomains: |
{
"internal": [ "169.254.169.254" ]
}
➜ npm run start (gke_origin-214503_us-west1-a_origin/staging)
> @origin/marketplace@0.1.0 start /Users/tom/Code/origin/dapps/marketplace
> node -r @babel/register index
Ganache listening on port 8545.
Start IPFS
Swarm listening on /ip4/127.0.0.1/tcp/4002/ipfs/QmeC49o3YDE9TKnfGudpyX2H9DhiCfKy9CzvWiV8CCZaah
Swarm listening on /ip4/192.168.178.131/tcp/4002/ipfs/QmeC49o3YDE9TKnfGudpyX2H9DhiCfKy9CzvWiV8CCZaah
Swarm listening on /ip4/192.168.178.94/tcp/4002/ipfs/QmeC49o3YDE9TKnfGudpyX2H9DhiCfKy9CzvWiV8CCZaah
# debug-volume.yaml
kind: Pod
apiVersion: v1
metadata:
name: volume-debugger
spec:
volumes:
- name: volume-to-debug
persistentVolumeClaim:
claimName: <pvc_claim_name>
### Keybase proof
I hereby claim:
* I am tomlinton on github.
* I am tlinton (https://keybase.io/tlinton) on keybase.
* I have a public key ASAXzJRtRYRZS_Ttlf9n8u1XUZ7Juoh4mXA4MOMl8jx5BQo
To claim this, I am signing this object: