Skip to content

Instantly share code, notes, and snippets.

View sudosuraj's full-sized avatar
🎯
Focusing

Suraj Sharma sudosuraj

🎯
Focusing
View GitHub Profile
@vratiu
vratiu / .bash_aliases
Last active April 26, 2025 12:43
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@JavanXD
JavanXD / install-kali-subsystem.md
Last active November 11, 2024 08:51
Hot To: Install Kali Linux as Windows Subsystem
  1. Enable feature in PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  2. Download Kali AppX File: https://aka.ms/wsl-kali-linux-new

    Invoke-WebRequest -Uri https://aka.ms/wsl-kali-linux-new -OutFile Kali.appx -UseBasicParsing
    
  3. Open PowerShell as Admin and Run: Add-AppxPackage .\Kali.appx

  4. Run kali. Create user:user.

  5. Set default user: kali config --default-user root

  6. Keep system up to date:

CONFIG

Include adb and other android tools on your path

In Users/sudosuraj.bash_profile add export PATH=$PATH:/Users/sudosuraj/Documents/AndroidSDKs/sdk/platform-tools export PATH=$PATH:/Users/sudosuraj/Documents/AndroidSDKs/sdk/tools

My own adb location

cd /Users/sudosuraj/Documents/AndroidSDKs/sdk/platform-tools