Skip to content

Instantly share code, notes, and snippets.

View sametaor's full-sized avatar
😭
What's up with github follow bots bruh

Sambit Acharya sametaor

😭
What's up with github follow bots bruh
View GitHub Profile
@ashish-kus
ashish-kus / hyprlock.conf
Last active April 19, 2025 09:02
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 April 24, 2025 14:09
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests

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 [email protected] -f, then edit ~/.config/accounts/[email protected] to follow this template:
# vim: filetype=neomuttrc
# muttrc file for account [email protected]
set ssl_starttls=yes
set ssl_force_tls=yes
set realname = "name"
set from = "[email protected]"
set sendmail = "msmtp -a [email protected]"
alias me username <[email protected]>
set folder = "$HOME/.local/share/mail/[email protected]"
set header_cache = $HOME/.cache/mutt-wizard/[email protected]/headers
@JohannesMP
JohannesMP / EnableDiscordDevExperiments.md
Last active April 24, 2025 13: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.


@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active April 16, 2025 07:57
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 March 25, 2025 19:25
VSCode + VIM + NVIM + WSL
@miliarch
miliarch / install-arch-in-virtual-machine.md
Last active April 12, 2025 22:19
Install Arch Linux in a Virtual Machine
@afmiguez
afmiguez / wsl-kvm.sh
Last active November 17, 2024 19:18
Script to enable KVM in WSL2
#Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/
if [ -z "$1" ]
then
echo "Must supply your Windows 10 username"
exit
fi
WIN_USERNAME=$1
#package updates and installations