This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExactArrayPool<T> : ArrayPool<T> | |
{ | |
public static ArrayPool<T> Shared { get; } = new ExactArrayPool<T>(); | |
private readonly Dictionary<int, Queue<T[]>> _pools = new Dictionary<int, Queue<T[]>>(); | |
[Pure] | |
private Queue<T[]> GetOrCreatePool(int minimumLength) | |
{ | |
if (this._pools.TryGetValue(minimumLength, out Queue<T[]> pool)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/renderer/index.ts b/src/renderer/index.ts | |
index ebe6bc6..d891c26 100644 | |
--- a/src/renderer/index.ts | |
+++ b/src/renderer/index.ts | |
@@ -57,3 +57,82 @@ VesktopNative.arrpc.onActivity(data => { | |
arRPC.handleEvent(new MessageEvent("message", { data })); | |
}); | |
+ | |
+// force disable automatic gain control |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using Discord; | |
using Discord.WebSocket; | |
using Moniku.Core; | |
using Moniku.Core.Modules; | |
using Moniku.Data; | |
namespace Moniku.Modules; | |
public class VideoCompressorModule : Module { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=2CBD6971A7955044AD2624B84FB49E38/Position/@EntryValue">9</s:Int64> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=383815F3F0E94C459173B41B8FB9BAC4/@KeyIndexDefined">True</s:Boolean> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=383815F3F0E94C459173B41B8FB9BAC4/EntryName/@EntryValue">Endpoint Group</s:String> | |
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=383815F3F0E94C459173B41B8FB9BAC4/Position/@EntryValue">10</s:Int64> | |
<s:Boolea |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name krackass | |
// @match *://*/* | |
// @run-at document-end | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.title = 'FARRTAS.COM'; | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
die() { echo >&2 "!! $*"; exit 1; } | |
# FIXME Purge old files and use this one | |
# File this script will modify, in addition to (potentially) the per-user sentinel file | |
CONF_FILE="/etc/sddm.conf.d/zz-steamos-autologin.conf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$EUID" -ne 0 ]; then | |
echo "This script requires root." | |
sudo $0 | |
exit | |
fi | |
if [ "$1" == "complete" ]; then | |
systemctl stop graphical.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark), (prefers-color-scheme:no-preference) { | |
#root[data-style="auto"] { | |
--bg: #000; | |
--border-fg: #0c0c0c; | |
--nav-btn-activated-bg: #0c0c0c; | |
--tabs-bg-active: #101010; | |
--tabs-activated-bg: #0c0c0c; | |
--tabs-bg-hover: #080808; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.avatar-2e8lTP:before { | |
display: none; | |
} | |
::placeholder, | |
body, | |
button, | |
input, | |
select, | |
textarea, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) MOSA Project. Licensed under the New BSD License. | |
// #nullable disable | |
#nullable enable | |
using System; | |
// ReSharper disable all | |
namespace MOSANullReproduction; |
NewerOlder