Skip to content

Instantly share code, notes, and snippets.

View KunalSin9h's full-sized avatar

Kunal Singh KunalSin9h

View GitHub Profile
@KunalSin9h
KunalSin9h / xrandr.md
Created September 22, 2024 12:28
External monitor setup in i3wm.

Autorandr and Xrandr

Display setup for personal use.

Check current display status

xrandr --query

# of simply

Reverse Proxy Mode

Rever Mode

mitmweb --mode reverse:https://127.0.0.1:8080 -p 9090

Solution:

You can solve that problem by inserting"enable-proposed-api": ["ms-toolsai.jupyter"] in the start settings of vs code. 
So press CTRL+ALT+P -> "Preference: Configure Runtime Arguments" then insert the upper line. After that restart vscode.
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install 20
nvm use 20
```
https://www.hackerearth.com/challenges/college/coding_2025-test-2/?login=86489a8a9d20b2fea2badb86be0fc21e
@KunalSin9h
KunalSin9h / android.md
Created December 31, 2023 06:11
Working with Android Applications

Create a KeyStore

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Build Android Application Package

bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks
 --ks=/MyApp/keystore.jks
@KunalSin9h
KunalSin9h / setup_containerd.sh
Last active November 11, 2023 09:07
Install and setup containerd on Ubuntu
#! /bin/bash
TMPROOT=$(mktemp -d)
cd /$TMPROOT
SUDO=''
if (( $EUID != 0 )); then
SUDO='sudo'
fi