Skip to content

Instantly share code, notes, and snippets.

View selfsx's full-sized avatar
🦈
Sharxing...

Sergey Ivonchik selfsx

🦈
Sharxing...
View GitHub Profile
@unitycoder
unitycoder / SharpNavTest.cs
Created April 21, 2017 13:22
Using SharpNav.dll with Unity
using SharpNav;
using SharpNav.Geometry;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vector3 = UnityEngine.Vector3;
public class SharpNavTest : MonoBehaviour
{
// assign your mesh here, try the example mesh provided in https://github.com/Robmaister/SharpNav/blob/96ddd939f292a4f4e76b460c1f783cdf1e9bcf41/Source/SharpNav.Examples/nav_test.obj
@munkbusiness
munkbusiness / Vibration.cs
Last active January 28, 2025 11:54
Vibration for Unity3d with Android native Call that supports both the new vibrationEffectClass and the old simple vibrate, with fallback to Handlheld.Vibrate().
using UnityEngine;
using System.Collections;
public class Vibration : MonoBehaviour {
public static AndroidJavaClass unityPlayer;
public static AndroidJavaObject vibrator;
public static AndroidJavaObject currentActivity;
public static AndroidJavaClass vibrationEffectClass;
public static int defaultAmplitude;
@rsp
rsp / GitHub-Project-Guidelines.md
Last active October 14, 2025 10:43
Git Strict Flow and GitHub Project Guidelines - setup rules and git flow for commercial and open-source projects by @rsp

Git Strict Flow and GitHub Project Guidelines

Or how to turn this:

into this:

@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active October 10, 2025 02:37
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@TigerHix
TigerHix / link.xml
Created March 29, 2020 19:25
Unity link.xml for LiteDB 5.0.5
https://www.platformer.news/
https://snacks.robinhood.com/
https://future.a16z.com/
https://app.mailbrew.com/unreadit/tech-Rrjzlxqyv6Q1
https://www.deararchitects.xyz/
@kconner
kconner / macOS Internals.md
Last active October 8, 2025 16:45
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options: