Skip to content

Instantly share code, notes, and snippets.

View w3dg's full-sized avatar
:fishsticks:

Debopam Gupta w3dg

:fishsticks:
View GitHub Profile
@w3dg
w3dg / fix-prep-insta-popup.css
Created October 26, 2025 13:31
Fix PrepInsta's annoying popup.
@-moz-document url-prefix("https://prepinsta.com/") {
#popupOverlay, #myModal, .modal-backdrop {
display: none !important;
}
}
@w3dg
w3dg / open-new-tab-hn.js
Created October 26, 2025 13:14
Open Links on new tab on HN and Lobste.rs
// ==UserScript==
// @name HackerNews Open Links In New Tab
// @namespace http://tampermonkey.net/
// @version 2025-10-26
// @description try to take over the world!
// @author Debopam Gupta <w3dg@duck.com>
// @match https://news.ycombinator.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=ycombinator.com
// @grant none
// ==/UserScript==
@w3dg
w3dg / home-xubuntu.md
Created September 13, 2025 08:47
next steps for keyring after password reset on local root shell

root – Drop to root shell prompt

# remount as rw

mount -o remount,rw /

# change password for the user
passwd your_username
@w3dg
w3dg / go.mod
Created June 2, 2025 10:05
Obsidian Notes Converter
module github.com/w3dg/obsidian-notes
go 1.24.3
@w3dg
w3dg / text-editors-and-fast-movement.md
Created June 6, 2024 15:35
Text editing and keyboard shortcuts for keyboard junkies. Ditch the mouse!

Text editors

  • Can be as plain and simple and as high tech as you want
  • Some sane first time recommendations

GUI

  • Sublime Text - subl <filename> or subl <directoryname from the terminal will open the file up. However, use the GUI to do everything from open/creating the file if you want to.
  • VSCode - code <filename> or code <directoryname from the terminal will get you in VScode
  • Gedit (Gnome Edit on Linux, comes by default on flagship Ubuntu). Install sudo apt install gedit. Open a file, gedit . If that doesnt work, as the gedit command is not found, try to use gnome-text-editor or the shorter version `gted
@w3dg
w3dg / ssh-setup.md
Last active May 20, 2024 07:40
SSH Setup

SSH Setup

On remote, SSH must be installed and running

sudo apt install openssh-server # also maybe openssh-client

check if its running or not

@w3dg
w3dg / rosepine-wip.micro
Last active December 2, 2024 15:40
Rose pine micro
color-link default "#e0def4,#191724"
color-link comment "#6e6a86"
color-link identifier "#ebbcba"
color-link identifier.class "#ebbcba"
color-link identifier.var "#ebbcba"
color-link constant "#f6c177"
color-link constant.number "#f6c177"
color-link constant.string "#9ccfd8"
@w3dg
w3dg / GDSCKIIT_Website.md
Last active May 2, 2024 14:45
dsckiit.in TODO
disable-header-and-footer
true

GDSC KIIT's Website - dsckiit.in

So from the currently hosted page at dsckiit.in, these were the identified basic requirements for each of the pages

  • Home Page
    • Introduction

Regular Software

  • Zoom
  • Discord
  • Docker
  • Spotify - Web app
  • Mailspring Mail Client
  • VirtualBox
  • Whatsapp ( maybe without it is also fine )
  • Slack
@w3dg
w3dg / Tomorrow_Night_Windows_Terminal.json
Created February 17, 2024 14:03
Tomorrow Night Windows Terminal
{
"name": "Tomorrow Night",
"black": "#000000",
"red": "#cc6666",
"green": "#b5bd68",
"yellow": "#f0c674",
"blue": "#81a2be",
"purple": "#b294bb",
"cyan": "#8abeb7",
"white": "#ffffff",