Skip to content

Instantly share code, notes, and snippets.

View onion108's full-sized avatar
😢
in depression

27Onion Nebell onion108

😢
in depression
View GitHub Profile
@onion108
onion108 / oops-csharpls
Created September 9, 2025 03:35
CSHARP LS MAKING NEOVIM CRASH MY GOD
[START][2025-09-09 11:33:00] LSP logging initiated
[INFO][2025-09-09 11:33:00] /usr/share/nvim/runtime/lua/vim/lsp/log.lua:151 "Starting RPC client" { cmd = { "csharp-ls" }, extra = {} }
[TRACE][2025-09-09 11:33:00] /usr/share/nvim/runtime/lua/vim/lsp/log.lua:151 "LSP[csharp_ls]" "init_params" { capabilities = { general = { positionEncodings = { "utf-8", "utf-16", "utf-32" } }, textDocument = { callHierarchy = { dynamicRegistration = false }, codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, disabledSupport = true, dynamicRegistration = true, honorsChangeAnnotations = true, isPreferredSupport = true, resolveSupport = { properties = { "edit", "command" } } }, codeLens = { dynamicRegistration = false, resolveSupport = { properties = { "command" } } }, colorProvider = { dynamicRegistration = true }, completion = { completionItem = { commitC
@onion108
onion108 / system_info
Created June 15, 2025 04:24
steam_report_system_info_06152025
Computer Information:
Manufacturer: Shinelon Computer
Model: CN95L001
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
CPU Family: 0x6
@onion108
onion108 / mystery.log
Created May 17, 2025 02:24
some lsp log lol
[START][2025-05-17 10:22:11] LSP logging initiated
[ERROR][2025-05-17 10:22:11] ...p/_transport.lua:36 "rpc" "deno" "stderr" 'Starting Deno language server...\n version: 2.2.9 (release, x86_64-unknown-linux-gnu)\n executable: /usr/bin/deno\nConnected to "Neovim" 0.12.0-dev+g17e13ce3b6\n'
[ERROR][2025-05-17 10:22:11] ...p/_transport.lua:36 "rpc" "deno" "stderr" '"deno.inlayHints.parameterNames.enabled" is deprecated. Instead use "javascript.inlayHints.parameterNames.enabled" and "typescript.inlayHints.parameterNames.enabled".\n"deno.inlayHints.variableTypes.enabled" is deprecated. Instead use "javascript.inlayHints.variableTypes.enabled" and "typescript.inlayHints.variableTypes.enabled".\n"deno.inlayHints.functionLikeReturnTypes.enabled" is deprecated. Instead use "javascript.inlayHints.functionLikeReturnTypes.enabled" and "typescript.inlayHints.functionLikeReturnTypes.enabled".\n{"type":"mark","name":"lsp.update_global_cache"},\nEnabling import suggestions for: https://deno.land\n'
[ERROR][2025-05-17 10:22:
This file has been truncated, but you can view the full file.
[
"aahed",
"aahing",
"aahs",
"aalii",
"aaliis",
"aals",
"aardvark",
"aardvarks",
"aardwolf",
@onion108
onion108 / ccr
Last active December 26, 2024 11:42
A shell script to quickly run C/C++ files
#!/bin/zsh
CC=${CC:-cc}
CXX=${CXX:-"c++"}
ANSI_BOLD="\e[1m"
ANSI_ITALIC="\e[3m"
ANSI_RESET="\e[0m"
ANSI_UNDERLINE="\e[4m"
ANSI_FG_RED="\e[31m"
00:00:00.042 |I| Configuration LogValueChange: ResScale set to: 1
00:00:00.046 |I| Configuration LogValueChange: ResScaleCustom set to: 1
00:00:00.046 |I| Configuration LogValueChange: MaxAnisotropy set to: -1
00:00:00.047 |I| Configuration LogValueChange: AspectRatio set to: Fixed16x9
00:00:00.047 |I| Configuration LogValueChange: BackendThreading set to: Auto
00:00:00.048 |I| Configuration LogValueChange: GraphicsBackend set to: Vulkan
00:00:00.048 |I| Configuration LogValueChange: PreferredGpu set to: 0x106B_0xE0203EF
00:00:00.048 |I| Configuration LogValueChange: AntiAliasing set to: None
00:00:00.049 |I| Configuration LogValueChange: ScalingFilter set to: Bilinear
00:00:00.049 |I| Configuration LogValueChange: ScalingFilterLevel set to: 80
#include <iostream>
using namespace std;
template <typename T, typename I = int> struct infinity_vector {
private:
T *positive_and_zero;
T *negative;
I upper_bound = 0;
I lower_bound = 0;
public:
infinity_vector() {