Skip to content

Instantly share code, notes, and snippets.

View sametaor's full-sized avatar
😃
Hi there! How's your day going?

Sambit Acharya sametaor

😃
Hi there! How's your day going?
View GitHub Profile
@ashish-kus
ashish-kus / hyprlock.conf
Last active December 2, 2025 23:25
minimal Hyprlock
$hypr = ~/.config/hypr
source = $hypr/colors.conf # for custom color
# GENERAL
general {
no_fade_in = true
grace = 1
disable_loading_bar = false
hide_cursor = true
ignore_empty_input = true
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 6, 2025 12:23
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:

User script to auto remove free games from your Steam account

ref: https://steamcommunity.com/sharedfiles/filedetails/?id=756281375

The Preface

I used this script[steamdb.info] to add all available games and DLC. The script was useful... It added some really interesting free games and DLC. But at the same time the script added a lot of uninteresting games/demos as well (more than 2500!)

Integrating git status in lualine

Introduction

This gist shows a possible way how to integrate the status of the buffer related repository into the neovim plugin lualine.

The git status is indicated in the lower left corner of the screenshot, indicating (1 commit ahead, 1 staged, 1 modified and 1 untracked file):

I just started using lua, so the way how the code below works can certainly be improved.

@icuninghame
icuninghame / outlook-mw.muttrc
Last active August 4, 2024 08:21 — forked from yangxuan8282/muttrc
Hotmail/Outlook.com template account config for mutt-wizard. Force create the account with mw -y username@outlook.com -f, then edit ~/.config/accounts/username@outlook.com to follow this template:
# vim: filetype=neomuttrc
# muttrc file for account username@outlook.com
set ssl_starttls=yes
set ssl_force_tls=yes
set realname = "name"
set from = "username@outlook.com"
set sendmail = "msmtp -a username@outlook.com"
alias me username <username@outlook.com>
set folder = "$HOME/.local/share/mail/username@outlook.com"
set header_cache = $HOME/.cache/mutt-wizard/username@outlook.com/headers
@JohannesMP
JohannesMP / EnableDiscordDevExperiments.md
Last active October 28, 2025 03:30 — forked from ExordiumX/betaenabler.js
Enabling Discord Dev Experiments on Discord for Windows (2022-02)

Enable Dev Experiments in Discord for Windows

image

This guide shows how to enable dev mode for the Discord desktop application running on Windows (as of February 2022).

This can be used to view beta experiments to try features currently in development that are included but hidden by default in Discord release builds.


@kmatt
kmatt / void-wsl.txt
Last active September 1, 2025 13:35
Install Void Linux on WSL2
# Based on https://gist.github.com/kmatt/71603170556ef8ffd14984af77ff10c5
# prompt ">" indicates Powershell commands
# prompt "$" are Linux shell commands
# https://docs.microsoft.com/en-us/windows/wsl/install-win10
> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# install https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active November 30, 2025 20:59
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m
@csghone
csghone / vscode_vim_nvim_wsl.md
Last active September 24, 2025 00:12
VSCode + VIM + NVIM + WSL
@miliarch
miliarch / install-arch-in-virtual-machine.md
Last active September 16, 2025 17:21
Install Arch Linux in a Virtual Machine