Skip to content

Instantly share code, notes, and snippets.

View Elorucov's full-sized avatar
💭
I may be slow to respond.

Elchin Orujov Elorucov

💭
I may be slow to respond.
View GitHub Profile
@Elorucov
Elorucov / vkcom_palette.css
Last active September 26, 2025 07:50
vk.com palette and color schemes (summer 2023, before migrating to VKUI tokens)
:root {
--azure_a100: #0077ff;
--azure_300: #397dcc;
--azure_a400: #2a6fbd;
--azure_a500: #2363aa;
--black: #000000;
--black_alpha4: rgba(0, 0, 0, 0.04);
--black_alpha8: rgba(0, 0, 0, 0.08);
--black_alpha12: rgba(0, 0, 0, 0.12);
--black_alpha16: rgba(0, 0, 0, 0.16);
@Elorucov
Elorucov / UnwantedLettersDetector.cs
Last active August 7, 2022 21:28
Detect Z and V letters in cyrillic words.
// ELOR 2022.
using System;
using System.Text.RegularExpressions;
public class Program {
public static void Main() {
Console.WriteLine($"Result: {CheckIsBrainwashed("Залупа Zа Vойну! Хи-хи.")}");
}
@Elorucov
Elorucov / vkvideolinks.js
Last active March 8, 2021 14:18
Get video links from m.vk.com
@Elorucov
Elorucov / Cipher.cs
Last active March 31, 2020 17:18
CIpher sample from https://stackoverflow.com/a/10177020 optimized for UWP.
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Windows.Storage;
namespace Elorucov.Laney.Helpers.Security {
// https://stackoverflow.com/a/10177020
// optimized for UWP: using 128 bits instead 256