Skip to content

Instantly share code, notes, and snippets.

View prakritidev's full-sized avatar
🏠
Working from home

Prakritidev Verma prakritidev

🏠
Working from home
View GitHub Profile
@prakritidev
prakritidev / .zshrc
Created February 29, 2024 14:57
My .zshrc
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
@prakritidev
prakritidev / NewTabOpener.py
Created July 20, 2018 15:20
Open link in new tab using selenium python
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
import time
driver = webdriver.Chrome("drivers/chromedriver")
try:
driver.get("http://www.google.com")
input_element = driver.find_element_by_name("q")
# encoding: utf-8
"""
@author: BrikerMan
@contact: eliyar917@gmail.com
@blog: https://eliyar.biz
@version: 1.0
@license: Apache Licence
@file: w2v_visualizer.py
@time: 2017/7/30 上午9:37
"""
@prakritidev
prakritidev / README.md
Created January 26, 2018 15:19 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@prakritidev
prakritidev / MNIST_Convonet.py
Created June 25, 2017 13:17
implementation of Convonent using Tensor Flow explained in detail.
# For the maths used in Convonets please refer to the Andrej Karpathy blog and this link > http://cs231n.github.io/convolutional-networks/#conv
# IF you want to go in detail please read this -> https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf
import argparse
import sys
#importing datset from tensorflow
from tensorflow.examples.tutorials.mnist import input_data
#importing tensorflow for computation
import tensorflow as tf
@prakritidev
prakritidev / XOR_numpy_NN.py
Last active June 25, 2017 03:45
XOR using Neural networks Using Numpy
import numpy as np
epochs = 3 #Change and see the results
# Layers
inputLayerSize, hiddenLayerSize, outputLayerSize = 2,3,1
#Learning Rate
L = 0.1
#input
X = np.array([[0,0], [0,1], [1,0], [1,1]])
#Output