Skip to content

Instantly share code, notes, and snippets.

@endrsmar
endrsmar / index.ts
Created January 9, 2024 12:11
Raydium new pool listener
import { LiquidityPoolKeysV4, MARKET_STATE_LAYOUT_V3, Market, TOKEN_PROGRAM_ID } from "@raydium-io/raydium-sdk";
import { Connection, Logs, ParsedInnerInstruction, ParsedInstruction, ParsedTransactionWithMeta, PartiallyDecodedInstruction, PublicKey } from "@solana/web3.js";
const RPC_ENDPOINT = 'https://api.mainnet-beta.solana.com';
const RAYDIUM_POOL_V4_PROGRAM_ID = '675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8';
const SERUM_OPENBOOK_PROGRAM_ID = 'srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX';
const SOL_MINT = 'So11111111111111111111111111111111111111112';
const SOL_DECIMALS = 9;
const connection = new Connection(RPC_ENDPOINT);
@buananetpbun
buananetpbun / Password and username ONT Modem Telkom Indihome
Last active December 27, 2024 07:50
Password and username ONT Modem Telkom Indihome
Default Password and Username For Modem ONT Telkom Indihome
username : admin
password : %0|F?H@f!berhO3e
username : telecomadmin
password : zep2kjzol
username : admin
password : Telkomdso123
@Phryxia
Phryxia / bezier.ts
Last active December 27, 2024 07:49
TypeScript implementation of bezier curve and its derivative.
type Vector = number[]
function add(u: Vector, v: Vector): Vector {
return u.map((x, i) => x + v[i])
}
function sub(u: Vector, v: Vector): Vector {
return u.map((x, i) => x - v[i])
}
@denya-vs
denya-vs / README.md
Last active December 27, 2024 07:49
Falcon Lisk Autobot Readme

Falcon Lisk Autobot

Этот проект предоставляет скрипт на Node.js для автоматизации транзакций и выполнения ежедневных задач для профилей, описанных в JSON. Скрипт поддерживает выполнение транзакций по расписанию и с помощью задачи Checkin.

Требования

Перед тем как начать, убедитесь, что у вас установлены следующие компоненты:

  • Node.js версии 14 или выше
@renich
renich / 00-gentoo-installation-partitioning.bash
Last active December 27, 2024 07:48
Install Gentoo on BtrFS subvolumes + UEFI
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create directories
<svg width="300" height="300" viewBox="0 0 300 300">
<defs>
<filter id="paperEffect">
<feTurbulence
type="fractalNoise"
baseFrequency="0.04"
numOctaves="5"
result="noise"
/>
<feDiffuseLighting
@jinjier
jinjier / javdb-top250.md
Last active December 27, 2024 07:46
JavDB top 250 movies list. [Updated on 2024/12]
@rjescobar
rjescobar / extend-trial-jetbrains-windows.bat
Created August 31, 2021 02:53
JetBrains IDE trial reset windows
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
@rxaviers
rxaviers / gist:7360908
Last active December 27, 2024 07:46
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@SwitHak
SwitHak / 20211210-TLP-WHITE_LOG4J.md
Last active December 27, 2024 07:41
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-20 2238 UTC

Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great resources

  • Royce Williams list sorted by vendors responses Royce List
  • Very detailed list NCSC-NL
  • The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List