Skip to content

Instantly share code, notes, and snippets.

View alexanderokosten's full-sized avatar
🎯
Focusing

Alexander Okosten alexanderokosten

🎯
Focusing
View GitHub Profile
@zmts
zmts / tokens.md
Last active July 22, 2024 18:25
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов
@naiieandrade
naiieandrade / emojis_unicode.md
Last active June 18, 2024 14:19
Unicode emojis for Telegram
emoji unicode emoji unicode
✒️ :black_nib: \U00002712 ✔️ :heavy_check_mark: \U00002714
✖️ :heavy_multiplication_x: \U00002716 ‼️ :bangbang: \U0000203C
✳️ :eight_spoked_asterisk: \U00002733 :sparkles: \U00002728
:grey_exclamation: \U00002755 ✴️ :eight_pointed_black_star: \U00002734
❄️ :snowflake: \U00002744 ❇️ :sparkle: \U00002747
:x: \U0000274c :negative_squared_cross_mark: \U0000274e
@jfversluis
jfversluis / FCMService.cs
Created May 23, 2022 13:40 — forked from svedmark/FCMService.cs
Minimal FCM Push Messaging for .NET MAUI (RC3)
using Android.App;
using Android.Content;
using AndroidX.Core.App;
using Firebase.Messaging;
namespace FCMApp.Android;
[Service(Exported = false)]
[IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })]
public class FCMService : FirebaseMessagingService
@vlOd2
vlOd2 / gist:1c3c15ac559c30b90cde709d84b39e60
Last active June 21, 2024 12:46
Install .NET Framework 4.0 and 4.5 on VS 2022
This guide explains how to install .NET Framework 4.0 and 4.5 on VS 2022, as it doesn't support these versions out of the box.
Microsoft says these versions are outdated but many people still need them to maintain legacy apps.
Requirements:
- VS 2022
- 7-zip (I haven't tested WinRar)
Notes:
- When .NET 4.0 is mentioned, it means .NET Framework 4.0
- When it's mentioned to open as an archive or un-zip, use 7-zip