Skip to content

Instantly share code, notes, and snippets.

View Agoxandr's full-sized avatar

Alexander Filippov Agoxandr

  • Braunschweig, Germany
View GitHub Profile
@andrew-raphael-lukasik
andrew-raphael-lukasik / .ColorPickerElement.cs.md
Last active November 27, 2025 10:00
basic color picker for UI Toolkit

Color picker / UI Toolkit

GIF 08 11 2023 01-37-22

@mrothNET
mrothNET / LetsEncrypt+certbot+UFW+postfix+dovecot.md
Last active March 31, 2025 09:54
Let's Encrypt / Dovecot / Postfix / UFW firewall / Certbot

Let's Encrypt / Dovecot / Postfix / UFW firewall / Certbot

This tutorial describes how to install TLS to a mail server consisting of Postfix and/or Dovecot by using Let's Encrypt certificates with automatic renewing and firewall management.

The system used for this tutorial was:

$ lsb_release -idrc
Distributor ID: Ubuntu
@desmondfernando
desmondfernando / DisableHWStats.cs
Last active June 3, 2024 01:44
Code snippet to disable HW statistics reporting. NOTE only works in the Editor not for runtime! Unity Pro only
var type = Type.GetType( "UnityEditor.PlayerSettings,UnityEditor" );
if ( type != null )
{
var propertyInfo = type.GetProperty( "submitAnalytics", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static );
if ( propertyInfo != null )
{
{
var value = (bool)propertyInfo.GetValue( null, null );
Debug.LogFormat( "PlayerSettings.submitAnalytics {0}", value );
}