Skip to content

Instantly share code, notes, and snippets.

View IRus's full-sized avatar

Ibragimov Ruslan IRus

View GitHub Profile
@IRus
IRus / claude_mcp_auto_approve.js
Last active April 19, 2025 09:14 — forked from Richard-Weiss/claude_mcp_auto_approve.js
Claude MCP auto approve
// Array of trusted tool names
const trustedTools = [
'create_new_file_with_text',
'execute_action_by_id',
'execute_terminal_command',
'find_commit_by_message',
'find_files_by_name_substring',
'get_all_open_file_paths',
'get_all_open_file_texts',
'get_debugger_breakpoints',
fun <T : Any> Future<T>.toDeferred(
scope: CoroutineScope = GlobalScope,
waitTime: Long = 100
): Deferred<T> {
val future = this
val deferred = CompletableDeferred<T>()
var isDone = false
scope.launch {
while (isActive && !isDone) {
@IRus
IRus / keybase.md
Created September 12, 2018 11:44
Verifying myself at keybase

Keybase proof

I hereby claim:

  • I am irus on github.
  • I am heapyhop (https://keybase.io/heapyhop) on keybase.
  • I have a public key ASB225Opy7SqCYCYo3oteYkMacTPA7oaPCeGQUm9I-r8Jwo

To claim this, I am signing this object: