Skip to content

Instantly share code, notes, and snippets.

View HarshithPaladi's full-sized avatar
🎯
Focusing

Harshith Paladi HarshithPaladi

🎯
Focusing
View GitHub Profile
@HarshithPaladi
HarshithPaladi / Zsh_Init.md
Created November 6, 2022 19:24
Zsh + Plugins Installation

Zsh + Plugins Installation

  1. Install zsh
    sudo apt install zsh
    Follow on-screen instructions for initial configuration. Enable whatever required.
  2. Install oh-my-zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@HarshithPaladi
HarshithPaladi / Git-Branch-Merge.md
Last active February 8, 2022 16:46
Merge subdirectory git history and files to parent directory's git repository

Situation :

We want to merge a subdirectory containing a git repository into a master branch of parent directory git repository.

  • Let the Parent directory git repository be Folder and the subdirectory git repository be SubFolder.
    SubFolder -> Folder .

We want to merge the SubFolder into the Folder

  • Go to the Folder git repo and run the following commands:

    # in Folder
    
@HarshithPaladi
HarshithPaladi / HTML.md
Last active February 12, 2022 06:17
HTML Initial Syntax for Django

HTML

  • ! in VS Code gives basic template of html
  • {% extends "base.html" %} extends the base.html file
  • {% block content %} is the block where the content is written
  • {% block title %} is the block where the title is written
  • {% block body %} is the block where the body is written
  • {% endblock %} ends the block
  • <h1> </h1> is the html tag for the title and just like markdown it can be styled

Variables

  • {{variable}} is the variable that is used to write the content
@HarshithPaladi
HarshithPaladi / Django.md
Last active October 9, 2022 20:45
Django Initial Steps

Django Initial Setup

Here python is the name of the python executable. It can be py or python3 depending on the version of python installed on your system

For Linux users, use python3 instead of python

  • Create Python virtual environment

    • python -m venv "venv-name"

    For linux users, you can use python3 -m venv "venv-name" to create a virtual environment.

@HarshithPaladi
HarshithPaladi / Nvidia Drivers KDE Neon (Ubuntu Related).md
Last active February 27, 2025 16:23
Installation of Proprietary Nvidia drivers in KDE Neon, Ubuntu and related ubuntu distros...