Skip to content

Instantly share code, notes, and snippets.

View yat1ma30's full-sized avatar
๐Ÿ•
On vacation

yat1ma30 yat1ma30

๐Ÿ•
On vacation
View GitHub Profile
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);
@yat1ma30
yat1ma30 / noty.py
Created November 12, 2022 14:03 — forked from fnx4/noty.py
monitor windows notifications
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"
@yat1ma30
yat1ma30 / auth.go
Created January 15, 2024 16:34 — forked from zhelezkov/auth.go
jito auth
package jito
import (
"context"
mev "jito-bot/pkg/jito/gen"
"github.com/gagliardetto/solana-go"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
@yat1ma30
yat1ma30 / fzf_history.lua
Created March 11, 2024 01:30 — forked from rupeshtr78/fzf_history.lua
Windows FZF history search with cmder ,clink
-- 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")