Skip to content

Instantly share code, notes, and snippets.

View DNI9's full-sized avatar
🐧

DNI9 DNI9

🐧
  • India
View GitHub Profile
@DNI9
DNI9 / Useful_linux_packages.md
Last active July 14, 2019 16:42
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

@DNI9
DNI9 / VSCodeSettings.txt
Created December 28, 2019 16:53
Useful for VScode
"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
DNI9 / bash-colors.md
Created November 9, 2020 16:34 — forked from iamnewton/bash-colors.md
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
DNI9 / eslint_prettier_airbnb.md
Created November 9, 2020 16:35 — forked from bradtraversy/eslint_prettier_airbnb.md
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

Setup SSH for Github

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

Generating SSH keys

ssh-keygen -t ed25519 -C "your_email@example.com"

Adding to ssh-agent

#!/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')
@DNI9
DNI9 / Manjaro.md
Created March 11, 2021 21:01 — forked from marcorichetta/Manjaro.md
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
@DNI9
DNI9 / README.md
Created March 11, 2021 21:01 — forked from revant/README.md
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
DNI9 / FirefoxDeveloperEdition.desktop
Created March 15, 2021 16:01
Firefox Developer Edition Desktop File for Linux
[Desktop Entry]
Version=1.0
Name=Firefox Developer Edition
GenericName=Web Browser
Exec=/opt/firefox/firefox %U
Terminal=false
StartupNotify=true
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Type=Application
Categories=Network;WebBrowser;Favorites;
@DNI9
DNI9 / android-backup-apk-and-datas.md
Created March 30, 2022 15:24 — forked from AnatomicJC/android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

Fetch application APK