SSH into your EC2 instance. Run the following:
$ sudo yum install gcc
This may return an "already installed" message. That's OK.
$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make
View: Pods(<namespace>)[number of pods listed] | |
NAME pod name | |
READY number of pods in ready state / number of pods to be in ready state | |
RESTARTS number of times the pod has been restarted so far | |
STATUS state of the pod life cycle, such as Running | ... | Completed | |
CPU current CPU usage, unit is milli-vCPU | |
MEM current main memory usage, unit is MiB | |
%CPU/R current CPU usage as a percentage of what has been requested by the pod | |
%MEM/R current main memory usage as a percentage of what has been requested by the pod |
<F3> | |
<RC10,10>Serial Number = <VA1> | |
<RC60,10>Firmware = <VA7> | |
<RC110,10>Special Head = <VA18> | |
<RC160,10>Font File = <VA2> | |
<RC210,10>Printer Type = <VA11> | |
<RC260,10>DPI = <VA17> | |
<RC310,10>Expansion Mem = <VA50> | |
<RC360,10>Path Type = <VA19> | |
<RC410,10>Ticket Type = <VA13> |
# Autogenerated .env file | |
HOST_DOMAIN=web.web-templates.io | |
[email protected] | |
APP_NAME=web | |
IMAGE_REPO=netcoretemplates/web | |
RELEASE_VERSION=latest |
version: "3.9" | |
services: | |
nginx-proxy: | |
image: nginxproxy/nginx-proxy | |
container_name: nginx-proxy | |
restart: always | |
ports: | |
- "80:80" | |
- "443:443" |
version: "3.9" | |
services: | |
app: | |
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION} | |
restart: always | |
ports: !reset ["80"] | |
container_name: ${IMAGE_REPO}-app | |
environment: | |
VIRTUAL_HOST: ${HOST_DOMAIN} | |
LETSENCRYPT_HOST: ${HOST_DOMAIN} |
version: "3.9" | |
services: | |
nginx-proxy: | |
image: nginxproxy/nginx-proxy | |
container_name: nginx-proxy | |
restart: always | |
ports: | |
- "80:80" | |
- "443:443" |
sudo chmod 666 /var/run/docker.sock |
import { Pocket, HttpRpcProvider, RpcError, JailedStatus, StakingStatus } from '@pokt-network/pocket-js'; | |
import axios, { AxiosResponse } from 'axios'; | |
const DISPATCH_URL = new URL("https://mainnet-1.nodes.pokt.network:4201") | |
const POCKET_RPC_URL = new URL("https://mainnet-1.nodes.pokt.network:4201") | |
async function main() { | |
const pocket = new Pocket([DISPATCH_URL], new HttpRpcProvider(POCKET_RPC_URL)) | |
const queryNodesResponse = await pocket?.rpc()?.query.getNodes(StakingStatus.Staked, JailedStatus.NA, 74060n, "", 1, 30000, 60000, true) |
SSH into your EC2 instance. Run the following:
$ sudo yum install gcc
This may return an "already installed" message. That's OK.
$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make
function isHex(str) { | |
return /^[A-F0-9]+$/i.test(str) | |
} |