Skip to content

Instantly share code, notes, and snippets.

View abhishekpratapa's full-sized avatar
🎯
Focusing

Abhishek abhishekpratapa

🎯
Focusing
View GitHub Profile
@abhishekpratapa
abhishekpratapa / cargo_commands.sh
Created December 29, 2021 01:05
Setup Rust On MacOS
# https://youtu.be/nMpaCApCebQ
# A list of commands used in the video
cargo new my_app
cd my_app
cargo run
cargo test
@abhishekpratapa
abhishekpratapa / aws_user_management.js
Created August 29, 2020 23:49
AWS Cognito [Summary]: User Management Code for React
// config.json
/* -------------------------------------------------------------------- */
//// Setup a user pool here on AWS to get these params:
//// https://aws.amazon.com/cognito/
{
"cognito" : {
"REGION": /* Region */,
@abhishekpratapa
abhishekpratapa / abhi_weight.csv
Last active April 24, 2018 17:27
abhi_weight.csv
date weight (lbs) met calorie intake(3000) met sleep requirement workout
4/16/18 130.2 no no shoulders/chest
4/17/18 132.4 yes yes legs/arms
4/18/18 132.6 yes yes
4/19/18 133.4 no no shoulders/back
4/20/18 134.0 no yes
4/21/18 132.4 no yes chest/shoulder
4/22/18 130.4 no no
4/23/18 131.5 no yes (sick)
4/24/18 130.4 no yes (sick)
import spacebrew.*;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
Robot robot;
String server="192.168.0.32";
String name="Emulator";
# Code for Part 2 of the video series
# Special thanks to Siraj Raval for his excellent work in the community, inspired me to do this
# Special thanks to Andrej Karpathy and his blog-post "http://karpathy.github.io/neuralnets/"
# Special thanks to iamtrask and his blog-post "http://iamtrask.github.io/2015/07/12/basic-python-network/"
import math
import random
@abhishekpratapa
abhishekpratapa / neural_network.py
Created December 27, 2016 17:02
Here is the code for the Youtube Video
# Code for Part 1 of the video series
# Special thanks to Siraj Raval for his excellent work in the community, inspired me to do this
# Special thanks to Andrej Karpathy and his blog-post "http://karpathy.github.io/neuralnets/"
# Special thanks to iamtrask and his blog-post "http://iamtrask.github.io/2015/07/12/basic-python-network/"
import math
import random
@abhishekpratapa
abhishekpratapa / db_model.md
Last active September 17, 2016 22:12
Database Models

Here is the data base model

####These are the things we need to do

  • Create a structure for the database
  • Define Map Reduce