Skip to content

Instantly share code, notes, and snippets.

@PrinceSinghhub
PrinceSinghhub / DSA Calendar 2026 | Plan of Action.md
Last active December 28, 2025 08:13
Everything from 0 to Advance | DSA Calendar 2026 | Plan of Action

DSA Calendar 2026 | Plan of Action 🔥

DSA is no longer about solving random sheets or memorizing solutions. It’s about a clear, structured, and realistic approach from absolute beginner to interview-ready Candidate.

  • How to start DSA from zero (even if you don’t know coding)
  • When to focus on language basics vs DSA
  • A 3-phase preparation strategy used by serious engineers
  • Exact timelines for topics, patterns, and problem counts
  • Why 300–400 problems ≠ success (and what actually matters)
@sunmeat
sunmeat / Program.cs
Created October 8, 2025 10:34
передача анонімного методу як аргумента
using System.Text;
class Program
{
static int first = 777;
static int second = 1000;
// метод для запуску потоку з анонімним методом як аргументом
// анонімний метод передається як делегат threadstart
static void AnotherThread(ThreadStart action)
@djalexkidd
djalexkidd / scroll.md
Last active December 28, 2025 08:05
Disable hi-resolution scrolling on Linux

If your mouse wheel behaves weirdly in games, you may need to disable high resolution scrolling in modprobe or xinput/libinput settings. This is a common problem on Logitech gaming mouses.

Method 1 : Using modprobe

  1. Unload "hid_logitech_hidpp" kernel module
sudo modprobe -r hid_logitech_hidpp
@rise-worlds
rise-worlds / For Mac 4.2.6 unlimited trial.md
Last active December 28, 2025 08:04 — forked from satish-setty/trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
@sunmeat
sunmeat / Program.cs
Created October 8, 2025 10:27
анонімні методи
using System.Text;
class Program
{
// сигнатура делегата без параметрів
delegate void AnonymousVoid();
// сигнатура делегата з параметрами
delegate void AnonymousWithParams(int begin, int end);
@Velocet
Velocet / Update-PipPackages.ps1
Last active December 28, 2025 08:01
Snippets & Templates (python/PwSh/bash)
function Update-PythonPipPackages {
<#
.SYNOPSIS
Update/Upgrade all outdated pip packages.
.DESCRIPTION
Upgrade every outdated pip package and take care of error handling.
This version uses the JSON output of the pip command and uses the native ConvertFrom-JSON
@Velocet
Velocet / Unlock-PowerCfg.ps1
Last active December 28, 2025 07:56
Unlock/Unhide all Power Plan Settings/Options on Windows 10/11
#Requires -RunAsAdministrator
# Unlock-PowerCfg - v22.05.11
# Disable "Connected Standby"
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Power' -Name 'CSEnabled' -Value 0 -Force
# Get Power Settings entries and add/set 'Attributes' to 2 to unhide
$PowerCfg = (Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerSettings' -Recurse).Name -notmatch '\bDefaultPowerSchemeValues|(\\[0-9]|\b255)$'
foreach ($item in $PowerCfg) { Set-ItemProperty -Path $item.Replace('HKEY_LOCAL_MACHINE','HKLM:') -Name 'Attributes' -Value 2 -Force }
@bluehatkeem
bluehatkeem / daily-digest.json
Created December 4, 2025 05:56
Convert Youtube Videos into Newsletter Summaries
{
"name": "Daily Digest",
"nodes": [
{
"parameters": {
"model": "openai/gpt-5.1",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"typeVersion": 1,
@rupeshtiwari
rupeshtiwari / material-icon.md
Last active December 28, 2025 07:36
Custom Material Icon Folder ( customize folder icons vscode material theme)
tags title
vscode, material,customize folder icons vscode material theme
How to add custom folder icon in Material icons

Steps to add custom folder icon in Material icons

Go to Settings.json file