Skip to content

Instantly share code, notes, and snippets.

View merkushin's full-sized avatar

Dmitry Merkushin merkushin

View GitHub Profile
@merkushin
merkushin / YouTubeURLFormats.txt
Created February 6, 2021 12:26 — forked from rodrigoborgesdeoliveira/ActiveYouTubeURLFormats.txt
Example of the various YouTube url formats
http://www.youtube.com/watch?v=-wtIMTCHWuI
http://www.youtube.com/v/-wtIMTCHWuI?version=3&autohide=1
http://youtu.be/-wtIMTCHWuI
http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v%3D-wtIMTCHWuI&format=json
http://www.youtube.com/attribution_link?a=JdfC0C9V6ZI&u=%2Fwatch%3Fv%3DEhxJLojIE_o%26feature%3Dshare
@merkushin
merkushin / mysql_uuid.sql
Last active October 15, 2023 14:06
MySQL UUID v5 Stored Functions
DROP FUNCTION IF EXISTS uuid_from_bin;
DROP FUNCTION IF EXISTS uuid_to_bin;
DROP FUNCTION IF EXISTS uuid_v5;
DROP FUNCTION IF EXISTS uuid_v4;
DELIMITER //
CREATE FUNCTION uuid_from_bin(b BINARY(16))
RETURNS CHAR(36)
BEGIN

Keybase proof

I hereby claim:

  • I am merkushin on github.
  • I am merkushin (https://keybase.io/merkushin) on keybase.
  • I have a public key whose fingerprint is C15B 9C12 6372 6942 D5DC 84D8 F475 F1F9 405E 1900

To claim this, I am signing this object: