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
const solanaWeb3 = require('@solana/web3.js'); | |
const rpc = "https://ssc-dao.genesysgo.net"; | |
const magicEdenPubKey = new solanaWeb3.PublicKey("M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K") | |
const solanaConnection = new solanaWeb3.Connection(rpc, 'confirmed'); | |
const runMagicEdenParser = async () => { | |
// get latest 1000 transactions happening on Magic Eden | |
const magicEdenSignatures = await solanaConnection.getSignaturesForAddress(magicEdenPubKey); |
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 os | |
import sqlite3 | |
import time | |
from bs4 import BeautifulSoup | |
ids = set() | |
user = os.environ['USERPROFILE'].replace("\\", "/") | |
adr = u"file:" + user + u"/AppData/Local/Microsoft/Windows/Notifications/wpndatabase.db?mode=ro" |
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
package jito | |
import ( | |
"context" | |
mev "jito-bot/pkg/jito/gen" | |
"github.com/gagliardetto/solana-go" | |
"google.golang.org/grpc" | |
"google.golang.org/grpc/credentials" |
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
-- fzf clink history search | |
-- update cmder\vendor\clink >= clink -- version = 1.1.44 | |
-- install fzf choco install fzf | |
-- add the fzf_history.lua to cmder\config folder | |
-- add below key binding to _inputrc use "clink info" to find inputrc path | |
-- M-x: "luafunc:fzf_history" #Alt x | |
-- Might have to adjust your regex in line 38 39 based on your settings | |
-- reference https://chrisant996.github.io/clink/clink.html | |
settings.add("fzf.height", "40%", "Height to use for the --height flag") |
OlderNewer