curl https://cosmoshub-4--rpc--full.datahub.figment.io/apikey/{api_key}/status
result:
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"node_info": {
"protocol_version": {
file1 = open('input.txt', 'r') | |
Lines = file1.readlines() | |
with open('input.txt') as f: | |
lines = [line.rstrip() for line in f] | |
count = 0 | |
elf = 1 | |
out = {} | |
for i in lines: |
export ZSH="/Users/markpreston/.oh-my-zsh" | |
plugins=(postgres autojump web-search) | |
ZSH_DISABLE_COMPFIX=true | |
ENABLE_CORRECTION="true" | |
autoload -U promptinit; promptinit | |
source $ZSH/oh-my-zsh.sh | |
MAILCHECK=0 |
./build/osmosisd start --x-crisis-skip-assert-invariants | |
8:58PM INF starting ABCI with Tendermint | |
8:58PM INF Starting multiAppConn service impl=multiAppConn module=proxy | |
8:58PM INF Starting localClient service connection=query impl=localClient module=abci-client | |
8:58PM INF Starting localClient service connection=snapshot impl=localClient module=abci-client | |
8:58PM INF Starting localClient service connection=mempool impl=localClient module=abci-client | |
8:58PM INF Starting localClient service connection=consensus impl=localClient module=abci-client | |
8:58PM INF Starting EventBus service impl=EventBus module=events | |
8:58PM INF Starting PubSub service impl=PubSub module=pubsub | |
8:58PM INF Starting IndexerService service impl=IndexerService module=txindex |
curl https://cosmoshub-4--rpc--full.datahub.figment.io/apikey/{api_key}/status
result:
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"node_info": {
"protocol_version": {
#!/bin/sh | |
# PoBGet.sh | |
# | |
cd ~/Downloads | |
git clone https://github.com/PathOfBuildingCommunity/PathOfBuilding | |
cd PathOfBuilding |
ZSH_DISABLE_COMPFIX=true | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/{username}/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME |
#!/bin/sh | |
git filter-branch --env-filter ' | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Your Correct Name" | |
CORRECT_EMAIL="[email protected]" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System; | |
using UnityEngine; | |
using UnityEngine.UI; | |
// game status data structure | |
[Serializable] | |
public struct GameStatus { |
from __future__ import unicode_literals | |
from client import slack_client as sc | |
outputs=[] | |
def process_message(data): | |
'''If a user passes 'print users' in a message, print the users in the slack | |
team to the console. (Don't run this in production probably)''' | |
if 'print users' in data['text']: | |
for user in sc.api_call("users.list")["members"]: |
'use strict'; | |
angular.module('confusionApp', []) | |
.controller('MenuController', ['$scope', function($scope) { | |
$scope.tab = 1; | |
$scope.filtText = ''; | |
$scope.showDetails = false; | |