Skip to content

Instantly share code, notes, and snippets.

View bas-kirill's full-sized avatar
🎯
Focusing

Kirill bas-kirill

🎯
Focusing
View GitHub Profile
def main():
try:
checker = CompareChangesLib(
owner="your-github-owner",
repo="your-repo",
access_token="ghp_xxx",
local_repo_path=".",
branch_a="origin/main",
branch_b="my-feature-branch"
)
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.attribute.BasicFileAttributes
import kotlin.system.exitProcess
import kotlin.streams.toList
fun main(vararg args: String) {
val dir = try {
Path.of(args[0])
} catch (_: Exception) {
@bas-kirill
bas-kirill / .deps...npm...@openzeppelin...contracts...interfaces...draft-IERC6093.sol
Created April 2, 2026 07:36
Created using tron-ide: Realtime Tron Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at http://tronide.io/#version=soljson-v0.8.26+commit.733b4d28.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
@bas-kirill
bas-kirill / .deps...npm...@openzeppelin...contracts...interfaces...draft-IERC6093.sol
Created April 2, 2026 07:37
Created using tron-ide: Realtime Tron Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at http://tronide.io/#version=soljson-v0.8.26+commit.733b4d28.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
@bas-kirill
bas-kirill / .deps...npm...@openzeppelin...contracts...interfaces...draft-IERC6093.sol
Created April 2, 2026 10:38
Created using tron-ide: Realtime Tron Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at http://tronide.io/#version=soljson-v0.8.26+commit.733b4d28.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {