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
| split -v | |
| split -v | |
| focus left | |
| focus left | |
| # eth testnets | |
| screen -t "eth-goerli-1" sh -c "watch -n 5 bash node-status.sh http://eth-goerli-1.web3-nodes.superfluid.dev:8545/" | |
| split | |
| focus down |
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.7; | |
| // STEP 1: Import the right interfaces | |
| import { | |
| ISuperfluid, | |
| ISuperToken, | |
| ISuperApp, | |
| ISuperAgreement, | |
| SuperAppDefinitions |
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/sh | |
| if [ -z "$1" ]; then echo "Error: No origin was provided"; exit 1; fi | |
| if [ -z "$2" ]; then echo "Error: No URL to test was provided"; exit 1; fi | |
| if [ "$3" ]; then METHOD="$3"; else METHOD=GET; fi | |
| for m in GET HEAD OPTIONS; do | |
| echo "METHOD: $m" | |
| curl -I -X $m \ | |
| -s \ |
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/sh | |
| if [ -z "$1" ]; then echo "Error: No origin was provided"; exit 1; fi | |
| if [ -z "$2" ]; then echo "Error: No URL to test was provided"; exit 1; fi | |
| if [ "$3" ]; then METHOD="$3"; else METHOD=GET; fi | |
| curl -I -X OPTIONS \ | |
| -s \ | |
| -H "Origin: $1" \ | |
| -H "Access-Control-Request-Method: $METHOD" \ |
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
| findEventTopic0 = (truffleContract, eventName) => Object.keys(truffleContract.events).filter(e => truffleContract.events[e].name === eventName)[0] |
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
| for i in `curl -su :$GITHUB_TOKEN -H "Accept: application/vnd.github.inertia-preview+json" https://api.github.com/projects/columns/12000498/cards | jq '.[] | .content_url' -r`;do curl -su :$GITHUB_TOKEN -H "Accept: application/vnd.github.inertia-preview+json" $i | jq '"[" + (.number|tostring) + "] - " + .title';done |
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
| curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/orgs/superfluid-finance/repos | jq '.[].name' -r | while read r;do echo /github subscribe superfluid-finance/$r commits:all,comments,reviews;done |
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
| import Web3 from "web3"; | |
| import React, { useState, useEffect } from "react"; | |
| import { DrizzleContext } from "@drizzle/react-plugin"; | |
| import { Drizzle } from "@drizzle/store"; | |
| import drizzleOptionsFactory from "./drizzleOptionsFactory"; | |
| import MyComponent from "./MyComponent"; | |
| import "./App.css"; | |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am hellwolf on github. | |
| * I am hellwolf (https://keybase.io/hellwolf) on keybase. | |
| * I have a public key ASDp-pJdZFPC_pAoE-6UzzywqGo1frs3weSoDhzHVwEy0wo | |
| To claim this, I am signing this object: |
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
| // File: contracts/RTokenStructs.sol | |
| pragma solidity ^0.5.8; | |
| contract RTokenStructs { | |
| /** | |
| * @notice Global stats | |
| */ | |
| struct GlobalStats { |