Skip to content

Instantly share code, notes, and snippets.

View shivampip's full-sized avatar
🏡
In Quarantine

Shivam Agrawal shivampip

🏡
In Quarantine
View GitHub Profile
@shivampip
shivampip / draw.py
Created October 6, 2018 07:04
[Dragon Curve] #dragoncurve #dragon #curve #python #turtle
import turtle as t
import math
n= 21 # Number of folds
step= 1 # Step length
l= 2**n - 1
a= [0]*l
def fold(m, start, end, dir):
@bradtraversy
bradtraversy / pipenv_cheat_sheet.md
Last active August 27, 2025 18:43
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@shivampip
shivampip / git_unix_store_credentials.md
Created November 18, 2019 14:50
Unix Store Git Credentials
  • Run this cmd
git config credential.helper store
  • Perform push/pull (it will ask username and password once and then store them)
  • Next time not username or password
@shivampip
shivampip / css_div_h_v_align_center.css
Created February 3, 2020 06:49
CSS Vertical and Horizontal align center
.outer {
display: flex;
justify-content: center;
align-items: center;
}
.innter{
align-self: center; /*optional*/
}