Tuesday, 1 December 2020

Bootsheet / CSS Cheat sheet


https://hackerthemes.com/bootstrap-cheatsheet/#pagination 

Friday, 9 October 2020

Job Application

CDAC Application id : 6935 Your transaction is successful. Please note your Transaction Id for future reference SHMP9311041844

Wednesday, 7 October 2020

Current Affair Source

Sai Deepak + Supreme court +www.youtube.com https://www.wionews.com/ipl Kunal Shah + beer bicep https://www.researchgate.net/publication/328307877_21_Lessons_for_the_21st_Century Zero To One Book Summary (PDF) by Peter Thiel

Friday, 2 October 2020

django commands

#--------------------------- django-admin startproject TestPro cd TestPro TestPro>python manage.py migrate TestPro>python manage.py runserver #--------------------------- Output... Starting development server at http://127.0.0.1:8000/ #---------------------------- TestPro>python manage.py createsuperuser email:saurabh password:saurabh123 password:saurabh123 #---------------------------- #Now we can access the django using # GUI using 127.0.0.1/admin #Put user login id and password #---------------------------- # Creating the app in django TestPro>python manage.py startapp SportApp TestPro>python manage.py startapp NewsApp #----------------------------- #10 Sept 2020

Monday, 13 July 2020

Kubernetics

Kubernetics used for docker orchestration
Day 1-2 code: First Command : vagrant@node1:`$ sudo kubeadm init --apiserver-advertise-address 172.19.50.11 --pod-network-cidr 10.244.0.0/24 cmd on worker node: kubeadm join 172.19.50.11:6443 --token 9whwkv.remb2jav79cmav48 --discovery-token-ca-cert-hash sha256:dc64b91335ee24b15b4eaadc432afa36db8298e45c9553bafc17acaae903e6ed #----------below cmd on node1------------- mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config #-------------------------------- kubectl config view sudo kubectl delete sudo kubeadm reset [2.50]kubectl version kubectl api-resources #### Day 2+++++++++++++++++++++ kubectl create -f pod1.yml kubectl get pods kubectl describe pod pod-1 alias k=kubectl k get pods k describe pod pod-1 ------------------------------------------ # to create config map # Advantage for using config map k create cm db-config --from-literal=user=root --from-literal= host=localhost k get cm k decribe cm db-config #------------------------------ k create -f pod_cm_2.yml k get pod k delete pod pod-cm #------------------------------ k create cm db-config --from-literal=user=root --from-literal=host=localhost --------------------------------------- vim db-config.yml k describe cm db-config k exec -it pod-cm -- /bin/sh #----------------------------------- # Update this file with command sudo vim /etc/systemd/system/kubelet.service.d/10-kubeadm.conf sudo kubectl k exec -it pod-cm -- /bin/sh +++++++++++++++++++++++++++++++++++++++++++++++++++++++ secret vim pod_secret.yml k get pod k exec -it pod-secret -- bin/sh # common file: config.yml ------------------------------------------ vim rs.yml k create -f rs.yml k get rs kubectl get pods -------multiple terminal tmux cnt+v enter $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ @Service k get deplyment k get svc k delete svc website.......(name of service) ----------------- vim website-deploy.yml k create -f website-deploy.yml # Till now we are in inside deployment folder ---------------------------------- #nodeport service # now we are inside service folder cd ../service/ vim node_port.yml k create -f node_port.yml k get svc ---------------------------------- #now check on browser 192.168.1.110:31012 This is very nice website # this shld be shown on browser ------------------------------------------------------

Machine Learning using Python

Machine Learning using Python is one of the high in demand in Industry