Skip to content

Instantly share code, notes, and snippets.

View Fe1qqu's full-sized avatar

Aleksandr Dorofeev Fe1qqu

  • Russia
  • 22:58 (UTC +05:00)
View GitHub Profile
@Steveplays28
Steveplays28 / distant_horizons_shader_compatibility_information.md
Last active January 25, 2026 20:56
Distant Horizons shader compatibility info

Distant Horizons shader compatibility information

Distant Horizons v2.0.0 (and up) shader compatibility information.

v2

Install guide

Fabric

@yasirkula
yasirkula / ScrollViewFocusFunctions.cs
Created October 23, 2021 10:09
Focus/center Scroll View to the specified point/item in Unity
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public static class ScrollViewFocusFunctions
{
public static Vector2 CalculateFocusedScrollPosition( this ScrollRect scrollView, Vector2 focusPoint )
{
Vector2 contentSize = scrollView.content.rect.size;
Vector2 viewportSize = ( (RectTransform) scrollView.content.parent ).rect.size;
@vorozhba
vorozhba / Как удалить commit в Github.txt
Last active January 6, 2026 12:29
Как удалить commit в Github
1. Получаем хэш-код коммита, к которому хотим вернуться.
2. Заходим в папку репозитория и пишем в консоль:
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a
$ git push --force