Skip to content

Instantly share code, notes, and snippets.

@leedrin
leedrin / ubuntuBBR.md
Created November 28, 2025 15:38 — forked from matinrco/ubuntuBBR.md
Enable bbr in ubuntu 22.04/20.04

Enable bbr in ubuntu 22.04/20.04

Requirements:

  • Linux kernel version must be greater than 4.19

    to check kernel version, run uname -r. sample output:

    5.4.0-132-generic
    
  • Have the CONFIG_TCP_CONG_BBR and CONFIG_NET_SCH_FQ options compiled and added to the kernel.

@leedrin
leedrin / csharp-layout-improved.xml
Created October 12, 2024 15:29 — forked from Jakob-PB/csharp-layout-improved.xml
C# layout templates for Rider code cleanup. Covers Unity classes and standard C# classes. Focused on clearly delineating member types and the public interface of a class via regions.
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
<TypePattern DisplayName="Non-reorderable types">
<TypePattern.Match>
<Or>
<And>
<Kind Is="Interface" />
<Or>
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" />
<HasAttribute Name="System.Runtime.InteropServices.ComImport" />
</Or>