📄️ Clear Git Commit History
On you computer, go to the local repository cloned from github, which you use to push commits to github
📄️ Commit from Command Prompt
--> Adds new files to git staging area: git add .
📄️ Deep Learning Frameworks
All commands in Windows Command Prompt, and this will work for manual Python installation only.
📄️ Disk Mounting
When you have multiple disks on your computer, eg NVMe for OS and two other HDD for storing data and backup. In this setting, the drive for OS will be auto-mounted and OS will be loaded but the remaining two will remain unmounted. This gist will show how to mount a secondary disk automatically at startup using fstab in linux.
📄️ Folder Item Copier
Powershell Command to copy all files from all folders (including child folders) in a folder.
📄️ Git Commit Message
Here are some common keywords and what they indicate:
📄️ GPU Testing Code TF
Python code to check if our GPU is visible to our computer and use it in our python code using tensorflow.
📄️ Jupyter Cell inside py file
Adding jupyter cell inside a python file (.py file)
📄️ Linux Context Menu Editing
New addition in linux context menu (options that comes on right-click)
📄️ Markdown Highlights
Have you seen some github repositories like this, having specially rendered marking that shows some we need to focus. It is called Admonitions, in GitHub it is called GitHub Flavored Markdown(GFM). To implement it, use the codes below.
📄️ Microsoft Excel
Useful Microsoft Excel shortcuts
📄️ Ollama Model Copier
Copy Ollama Model to another computer in the same network (Linux)
📄️ Python pip Commands
Some useful python pip commands
📄️ SSH Host Key Change
REMOTE HOST IDENTIFICATION HAS CHANGED Error
📄️ TF Neural Net
A sample neural network using TensorFlow.
📄️ Trust new CA Cerificate
It is common in corporates to use endpoint protection and tracking tools like Fortinet to manage the system as well as access to different sites in the internet. They may issue new certificates that need to be installed in the linux systems separately. To do that, follow
📄️ Update Grub (Linux)
Change GRUB default selection and pause time to select preferred OS
📄️ Vannilla Transformers
The encoder stack consists of layers each of which encodes the input, normalizes it, carries out Multihead attention (to identify contextual dependencies), and then passes these vectors through a fully connected network until the output of the final ecoder layer is concatenated to the decoder input. The decoder stack consists of another set of feed-forward networks responsible for next-token prediction.
📄️ Zip Extractor Windows
PowerShell script that extracts all .zip files in a given folder into separate subfolders named after each zip file.