Skip to content

Instantly share code, notes, and snippets.



  • Kolkata, West Bengal
View GitHub Profile
DNI9 / FirefoxDeveloperEdition.desktop
Created Mar 15, 2021
Firefox Developer Edition Desktop File for Linux
View FirefoxDeveloperEdition.desktop
[Desktop Entry]
Name=Firefox Developer Edition
GenericName=Web Browser
Exec=/opt/firefox/firefox %U
DNI9 /
Created Mar 11, 2021 — forked from revant/
Arch Linux on Lenovo IdeaPad 330-15ARR

Required Kernel params

loglevel=3 iommu=pt acpi_backlight=native
  • iommu=pt Solves sudden freeze of graphics Arch Forum Link
  • acpi_backlight=native Solves back light "failed" message during boot Arch Wiki
  • Use it with other params e.g. loglevel=3 iommu=pt acpi_backlight=native apparmor=1 security=apparmor quiet
DNI9 /
Created Mar 11, 2021 — forked from marcorichetta/
Manjaro KDE Installation on Lenovo Ideapad 330S-15ARR

Booting Manjaro

  1. Download latest Manjaro Architect iso
  2. Burn the iso to a usb following the steps from the Manjaro wiki
  3. On Lenovo BIOS
    1. Disable Secure boot
    2. Set USB boot configuration on UEFI only.
    3. Save changes and press F12 to choose from boot menu.
  4. On Manjaro GRUB menu, add the ivrs_ioapic[32]=00:14.0 grub parameter. Source
#!/usr/bin/env python3
# NOTE: This is only useful until Meson 0.38.0 which includes an `uninstall` target.
import argparse
from contextlib import suppress
from os import path, remove
parser = argparse.ArgumentParser()
parser.add_argument('--dry-run', action='store_true')

Setup SSH for Github

Check for existing SSH keys by ls -al ~/.ssh

Generating SSH keys

ssh-keygen -t ed25519 -C ""

Adding to ssh-agent

DNI9 /
Created Nov 9, 2020 — forked from bradtraversy/
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
DNI9 /
Created Nov 9, 2020 — forked from iamnewton/
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
DNI9 / VSCodeSettings.txt
Created Dec 28, 2019
Useful for VScode
View VSCodeSettings.txt
"workbench.editor.enablePreviewFromQuickOpen": false
"breadcrumbs.enabled": true
"explorer.openEditors.visible": 0
"editor.minimap.renderCharacters": false,
"editor.minimap.maxColumn": 200,
"editor.minimap.showSlider": "always"
"editor.renderWhitespace": "all"
"editor.smoothScrolling": true
"editor.cursorBlinking": "phase"
"editor.cursorSmoothCaretAnimation": true
DNI9 /
Last active Jul 14, 2019
Some useful linux packages

1. Grub Customizer

Customize order of OS in grub menu if have dual booted, to install place these in terminal

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer