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
[ | |
{ | |
"inputs": [ | |
{ "internalType": "string", "name": "_name", "type": "string" }, | |
{ "internalType": "string", "name": "_symbol", "type": "string" }, | |
{ "internalType": "uint8", "name": "_decimals", "type": "uint8" }, | |
{ "internalType": "address", "name": "_underlying", "type": "address" }, | |
{ "internalType": "address", "name": "_vault", "type": "address" } | |
], | |
"stateMutability": "nonpayable", |
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
[ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ |
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
import argparse | |
import json | |
import sys | |
import time | |
from moonstream.client import Moonstream | |
ETHEREUM_BLOCKCHAIN_QUERY = "type:ethereum_blockchain" | |
if __name__ == "__main__": |
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/env bash | |
# humbug.bash - The Bugout crash reporting administration script | |
# Requirements: | |
# 1. jq - To install on Linux: `apt-get install jq`, to install on Mac with Homebrew: `brew install jq` | |
set -e -o pipefail | |
if [ -z "$BUGOUT_ACCESS_TOKEN" ] | |
then |
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/env bash | |
# Inspired by: | |
# https://stackoverflow.com/a/53902806/4905625 | |
set -e | |
usage () { | |
echo "Usage: $0 {register|install} JAVA_DIR [PRIORITY]" | |
echo |
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
{"position": 256821, "github_id": 774797, "repository": {"id": 774797, "node_id": "MDEwOlJlcG9zaXRvcnk3NzQ3OTc=", "name": "webid-spec", "full_name": "retog/webid-spec", "private": false, "owner": {"login": "retog", "id": 110756, "node_id": "MDQ6VXNlcjExMDc1Ng==", "avatar_url": "https://avatars3.githubusercontent.com/u/110756?v=4", "gravatar_id": "", "url": "https://api.github.com/users/retog", "html_url": "https://github.com/retog", "followers_url": "https://api.github.com/users/retog/followers", "following_url": "https://api.github.com/users/retog/following{/other_user}", "gists_url": "https://api.github.com/users/retog/gists{/gist_id}", "starred_url": "https://api.github.com/users/retog/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/retog/subscriptions", "organizations_url": "https://api.github.com/users/retog/orgs", "repos_url": "https://api.github.com/users/retog/repos", "events_url": "https://api.github.com/users/retog/events{/privacy}", "received_events_url": "https://api.gi |
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
FROM alpine:3.10.3 | |
RUN apk add --no-cache \ | |
ca-certificates \ | |
less \ | |
ncurses-terminfo-base \ | |
krb5-libs \ | |
libgcc \ | |
libintl \ | |
libssl1.1 \ |
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
# First, run: | |
# pip install simiotics | |
from simiotics.clients import SimioticsRESTClient | |
if __name__ == '__main__': | |
import json | |
import time | |
dataset_id = f'test-dataset-{int(time.time())}' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/env bash | |
STANFORD_DOG_IMAGES_DIR=${STANFORD_DOG_IMAGES_DIR:-~/data/stanford-dogs/Images} | |
DOG_DIRS=$(ls -1 $STANFORD_DOG_IMAGES_DIR) | |
BATCH_SIZE=${BATCH_SIZE:-100} | |
PARALLELISM=${PARALLELISM:-0} | |
SIMIOTICS_SOURCE=${SIMIOTICS_SOURCE} | |
if [ -z "$SIMIOTICS_SOURCE" ]; then |
NewerOlder