Skip to content

Instantly share code, notes, and snippets.

View DNI9's full-sized avatar
🐧

DNI9 DNI9

🐧
  • India
View GitHub Profile
@DNI9
DNI9 / install.sh
Last active May 27, 2023 06:37
Install basic stuffs on newly installed arch distro: https://git.io/J9GnI
#!/usr/bin/env bash
check_package() {
if ! pacman -Qs "$1" >/dev/null; then
echo "$1 is not installed"
return 1
fi
}
promt() {
@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

@DNI9
DNI9 / setup-typescript-eslint-prettier.js
Created June 24, 2022 10:52 — forked from chill-cod3r/setup-typescript-eslint-prettier.js
Automate TypeScript ESLint Prettier + my opinionated ESLint rules
const fs = require('fs');
const cp = require('child_process');
const util = require('util');
const path = require('path');
const exec = util.promisify(cp.exec);
const writeFile = util.promisify(fs.writeFile);
const prettierConfigVscode = {
'editor.codeActionsOnSave': {
@DNI9
DNI9 / keybindings.json
Created December 11, 2023 20:46
VSCodeVim Settings
[
{
"key": "ctrl+j",
"command": "selectNextSuggestion",
"when": "vim.active && suggestWidgetVisible"
},
{
"key": "ctrl+k",
"command": "selectPrevSuggestion",
"when": "vim.active && suggestWidgetVisible"