https://gov.gitcoin.co/t/an-evolutionary-lens-on-web3-open-source-software/10293
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
translateFilters(allData): void { | |
this.contentCheck = this.newFilters.some(check => check !== ''); | |
} | |
updateCurrentFilters(): void { | |
this.newFilters.filter(selectedFilter => { | |
return this.currentFilters.some(currentCheck => currentCheck === selectedFilter); | |
}); | |
} |
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
version: '2' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.1.0 | |
environment: | |
- discovery.type=single-node | |
ports: | |
- 127.0.0.1:9200:9200 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:7.1.0 |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: cluster-autoscaler | |
namespace: kube-system | |
labels: | |
app: cluster-autoscaler | |
spec: | |
replicas: 1 | |
selector: |
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
#!/bin/bash | |
# This script fixes helmcharts secrets that was deployed with API objects paths, that was deprecated. | |
# More info here https://github.com/helm/helm/issues/7219 | |
# Use it own risks! | |
# After executing you need to redeploy | |
NamespaceName=$1 | |
echo "${NamespaceName}" |
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 covalent import CovalentClient | |
import csv | |
from datetime import datetime, timedelta | |
# Constants | |
API_KEY = 'ckey_1bc79adaaaf24ab59fd0d566f25' # Replace this with your actual API key | |
CHAIN_ID = 'eth-mainnet' | |
CONTRACT_ADDRESS = '0xd417144312dbf50465b1c641d016962017ef6240' # Covalent Token address | |
TODAY = datetime.now() | |
TWO_MONTHS_AGO = TODAY - timedelta(days=60) |