Skip to content

Instantly share code, notes, and snippets.

View Aravinth-Earth's full-sized avatar
🏠
Working from home

Aravinth Aravinth-Earth

🏠
Working from home
View GitHub Profile
@Aravinth-Earth
Aravinth-Earth / scoop-commands.md
Last active April 30, 2024 06:39
Sccop helpful commands for reference
  • scoop cleanup * -k -> cleanup old versions (to free up space)
  • scoop cache rm * -> clean the cache downloads
  • scoop config gh_token -> to set a new github pat token
@Aravinth-Earth
Aravinth-Earth / Android_Reinstall_Stock_App.md
Created January 7, 2023 15:27
Reinstall the pre-installed app in android phone
  1. make sure 'USB Debugging' is enabled in the android device
    1. if 'USB Debugging' is not enabled, follow below steps,
    2. go to 'Developer Options' in 'Android Settings'
      1. if 'Developer Options' is not available, follow below steps
      2. go to 'About section' in android settings
      3. then go to 'Software Details' section
      4. then find the 'Build Number' section
      5. click on it 6 or more times
      6. you may be prompted to enter your device 'Pin/Pattern' to confirm its the authenticated user
      7. once entered you have enabled 'Developer Options' in your android device
  1. in pc download & extract 'android sdk' to a local folder
  2. enbale developer mode & usb debugging in respetive android device
  3. connect android device to pc via usb & make sure the device is visible in the adb shell using adb devices, when launching the terminal from the extract's sub folder <parent-folder>/Android/Sdk/platform-tools
  4. to get the complete list of installed packages via shell use adb shell pm list packages
  5. for uninstall any app for the current user, use adb shell pm uninstall -k --user 0
@Aravinth-Earth
Aravinth-Earth / useful-linux-commands.md
Last active July 23, 2022 06:15
Ubunut(Linux) user commands

Caution / Note / Disclaimer:

The below table contains commands which i learn from many linux related sources i follow, Use it at your own risk

output
description syntaxt / sample command
@Aravinth-Earth
Aravinth-Earth / Git Bash Shortcuts.txt
Last active July 27, 2022 13:46
A collection of git bash commands, that i have learned more usefull
## Create
git pull --> Get the latest code from the remote
git push --> Only when the local brach also exists in remote, push the local code changes
git push --set-upstream origin <#BranchName#> --> Set the remote tracking branch as per the name provided & push the local code changes
## Modify
git merge <#BranchName#> --> Merge the branch name mentioned to the current branch
git checkout -b <#BranchName#> --> Checkout to the branch name mentioned
git add . --> Stage all the changes to the
git commit -m <#Message#> --> Commit the staged changes with the message mentioned