Skip to content

Instantly share code, notes, and snippets.

View sudhakar6's full-sized avatar
🎯
Focusing

Sudhakar sudhakar6

🎯
Focusing
View GitHub Profile
@sudhakar6
sudhakar6 / aws_imds.md
Last active July 18, 2026 10:33
AWS IMDS hop limit: the one-line change I wouldn't sign off until I understood it

AWS IMDS hop limit: The one-line change I wouldn't sign off on until I understood it

A cryptic one-line change request — "bump the IMDS hop limit from 1 to 2 for CastAI" — and the trail of questions it took to approve it with a straight face.


The change request is five lines long:

Increase IMDS hop limit 1 → 2 on the EKS nodes. Required for CastAI configuration. Requires node patching. Possible downtime. Approver: you.

You can use your BiPC background and CUET to enter several strong BSc life‑science routes in India (Life Science, Biomedical Science, Biochemistry, Microbiology, Genetics, Botany, Zoology, Psychology, etc.), each leading to different industry and research careers in pharma/biotech, clinical research, agriculture–environment, and academia. For most high‑end roles and serious research, you should plan on BSc → MSc → (often) PhD, while using internships and projects to become employable in specific industries like pharma, diagnostics, agri‑biotech, or clinical research. articles.findmycollege


Big picture: life‑science careers in India

India’s life‑science industry is in a high‑growth phase driven by biotechnology, pharmaceuticals, medical devices, genomics and agricultural sciences. Graduates in biotechnology, microbiology, genetics, biochemistry and related areas now find roles not only in labs and academia but also in drug

@sudhakar6
sudhakar6 / nonRegularGitCommands.md
Created April 12, 2026 18:04
Everyday git commands with some non regular ones
@sudhakar6
sudhakar6 / openFolderInVSCodeViaTerminal.md
Created April 12, 2026 17:54
VSCode: How to open a folder/directory in VSCode via terminal

🚀 Opening Folders in VS Code via Terminal

📂 Basic Commands

Navigate to your project directory and use one of the following:

  • Open in a new window:
    code .
@sudhakar6
sudhakar6 / NonRegularGitCommands
Last active January 29, 2026 20:00
The GIT commands not used frequently and forgettable
https://levelup.gitconnected.com/15-git-commands-you-should-learn-before-your-very-first-project-f8eebb8dc6e9
https://www.freecodecamp.org/news/learn-the-basics-of-git-in-under-10-minutes-da548267cc91/
https://www.freecodecamp.org/news/7-git-commands-you-might-not-know/
SETUP USER:
If one github account needs to setup all of the branches the commands can do that job.
git config --global user.email "yourGitHub@email.com"
git config --global user.name "yourGitHubusername"
If a specific github account need to be setup for specific git repo we just need to ommit --global in the command
@sudhakar6
sudhakar6 / Enable "Go to Definition" and "Peek Definition" on VSCode for Salesforce
Last active July 29, 2025 19:26
Enable "Go to Definition" and "Peek Definition" on VSCode for Salesforce
The suggested solutions in this link worked for me: https://github.com/forcedotcom/salesforcedx-vscode/issues/1732
To configure this we need a specific JAVA version , here https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/java-setup.html#:~:text=The%20Apex%20Language%20Server%2C%20included,version%2021%20for%20optimal%20performance. we can see which java version Salesforce Apex Language Server currently supports.
Java on mac and hwo to check them is discussed here: https://stackoverflow.com/questions/36766028/see-all-the-java-versions-installed-on-mac
@sudhakar6
sudhakar6 / Sfdc Session ID code
Last active March 16, 2023 13:35
Code to get session and login with session ID
code to get session id:
System.debug('&######## '+ UserInfo.getOrganizationId()+''+UserInfo.getSessionId().SubString(15));
Login URL: <orgURL>/secur/frontdoor.jsp?sid=<orgSessionID>
You can use cmmand+ to increase size and font of terminal
https://www.youtube.com/watch?v=iFvXNfFE_IE
To clear : Command+K or clear (When you click command K it completely erases but when you use "clear" it just scriolls up), command+l (it just clears the previous command we used)
To check software version type: sw_vers
To know even more details: system_profiler (it gives you lots of information, that you can't even read
To go to the granualar level of system usage caommand: system_profiler -usage (it gives different commands and it's uage)
To use a specific types which is given by above command: system_profiler -listDataTypes (which gives all the data types)
To find is there any software to update: softwareupdate -l
To monitor network connections: nettop (press q to come out of that window)
To monitor the tcp netowrk connections: nettop -m tcp (it shows all the connections using tcp)
@sudhakar6
sudhakar6 / filenamechange.py
Last active May 9, 2022 07:25
Python script to change the change files names in a directory(Windows, May work for Mac as well but not tested)
import os
path = r'C:\Users\SudhakaraReddy.Chint\Desktop\customMetadata\\'
files = os.listdir(path)
for index, file in enumerate(files):
print(file)
#To remove suffix of the file name, this can be replaced based on the requirement
filern = file.removesuffix('.md-meta.xml')
#To remove last three characters of the file name, this can also be modified.
@sudhakar6
sudhakar6 / namechange.bat
Created May 4, 2022 19:09
Windows batch script to find a string in files names and replace with another string. Ex: file.md-meta.xml to file1.md-meta.xml. It loops through the all files and changes file name
@echo off
setlocal enableDelayedExpansion
for %%F in (*.md-meta.xml) do (
set "name=%%F"
ren "!name!" "!name:.md-meta=1.md-meta!"
)