Skip to content

Instantly share code, notes, and snippets.

View gorbunov's full-sized avatar
🙉
Focusing

Oleg Gorbunov gorbunov

🙉
Focusing
View GitHub Profile
@gorbunov
gorbunov / godot multiplayer.md
Created October 26, 2023 13:06 — forked from Meshiest/godot multiplayer.md
overview of how I understand godot multiplayer

Godot 4 Scene Multiplayer

I'm too lazy to write this as official documentation so I'm transcribing my experiences here for reference.

This is high level and does not cover how to setup your peer, only how to use the API itself.

This is not a tutorial.

If you are just getting started, this tutorial by DevLogLogan is worth watching.

@gorbunov
gorbunov / .js
Created November 6, 2021 08:16
safari p-in-p
javascript:document.querySelector(%22video%22).webkitSetPresentationMode(%22picture-in-picture%22);
@gorbunov
gorbunov / DG-SQL-Export-Updates-By-First-Key.sql.groovy
Created November 1, 2021 10:52
DataGrip exporter for query results without ID key, uses first column as matcher
/*
* Available context bindings:
* COLUMNS List<DataColumn>
* ROWS Iterable<DataRow>
* OUT { append() }
* FORMATTER { format(row, col); formatValue(Object, col); getTypeName(Object, col); isStringLiteral(Object, col); }
* TRANSPOSED Boolean
* plus ALL_COLUMNS, TABLE, DIALECT
*
* where: