ssh-keygen -t rsa -b 4096 -C "YOUR EMAIL ADDRESS"- write ssh key to
~/.ssh/gcp-sstp-box - also save the key to an encrypted location, e.g. Lastpass
gcloud config set project YOURGCPPROJECTNAMEgcloud config compute/region set europe-west1(or wherever you wish to host it)gcloud config compute/zone set europe-west1-b(or wherever)
This file contains hidden or 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
| <div id="app" v-cloak> | |
| <header class="header-wrap"> | |
| <div class="header-row flex-row flex-middle flex-space"> | |
| <div class="if-small"> | |
| <div class="form-input dark"> | |
| <div class="push-right">🔎</div> | |
| <input type="text" v-model="search" placeholder="Search token..." /> | |
| </div> | |
| </div> |
This file contains hidden or 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
| // SPDX-License-Identifier: MIT | |
| pragma solidity >=0.4.22 <0.8.0; | |
| pragma experimental ABIEncoderV2; | |
| contract Wallet { | |
| address[] public approvers; | |
| uint8 public quorum; | |
| struct Transfer { |
This file contains hidden or 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
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| import "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| contract BulkSender is Ownable { |
This file contains hidden or 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
| ARG version=1.14.4 | |
| ARG file=dogecoin-${version}-x86_64-linux-gnu.tar.gz | |
| ARG folder=dogecoin-${version} | |
| FROM debian:stable as stage1 | |
| ARG version | |
| ARG file | |
| ARG folder | |
| WORKDIR /the/workdir | |
| RUN apt update |
This file contains hidden or 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 | |
| # | |
| # Usage: ./docker-build.sh </dir/to/dockerfile> <remote-registry-prefix> | |
| # | |
| # Example: ./docker-build.sh node-agent-service 10.0.1.16:5000/inaetics | |
| # | |
| # needs docker command (v1.3 or later) in order to work. | |
| # | |
| # (C) 2015 - jawi - licensed under Apache Public License v2. |
This file contains hidden or 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
| version: "3" | |
| services: | |
| blockbook: | |
| container_name: blockbook | |
| restart: always | |
| build: . | |
| entrypoint: | |
| - /go/src/blockbook/blockbook | |
| - -sync | |
| - -blockchaincfg=/home/blockbook/cfg/cfg.json |
This file contains hidden or 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 | |
| import random | |
| import sys | |
| import math | |
| import hashlib | |
| import hmac | |
| import requests | |
| import time |
This file contains hidden or 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
| //solidity 6.12 | |
| pragma solidity >=0.6.0 <0.8.0; | |
| /* | |
| * @dev Provides information about the current execution context, including the | |
| * sender of the transaction and its data. While these are generally available | |
| * via msg.sender and msg.data, they should not be accessed in such a direct | |
| * manner, since when dealing with GSN meta-transactions the account sending and |
This file contains hidden or 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/env python3 | |
| import collections | |
| import statistics | |
| import sys | |
| import requests | |
| import base58 |