Skip to content

Instantly share code, notes, and snippets.

View balijepalli's full-sized avatar

Preetam Balijepalli balijepalli

View GitHub Profile
@balijepalli
balijepalli / README.md
Created January 28, 2017 04:33 — 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 you can follow me @leonardofed


@balijepalli
balijepalli / 01__second-brain-system.md
Created February 18, 2023 07:29 — forked from erkobridee/01__second-brain-system.md
Second Brain System and productive useful references
@balijepalli
balijepalli / REGEXurlValidation.md
Created February 21, 2023 04:13 — forked from CaseyDeriso/REGEXurlValidation.md
REGEX tutorial | URL validator

Matching a URL with a Regular Expression

/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/

A regular expression (regex) is a definition for a search pattern. Regex uses a series of commands to compare a string to a set of rules.

In this case, we are trying to determine if the input is a URL.

Summary

In this episode of Who Wants to be a Regular Expression, we will break down each component of this regular expression to gain an understanding of how regular expressions work.

@balijepalli
balijepalli / CalcAngleofLineBetweenTwoPoints
Created February 23, 2023 11:44 — forked from darzo27/CalcAngleofLineBetweenTwoPoints
Calculate Angle of Line between two points - Java, C#, Python
==== J A V A ==================================
/**
* Determines the angle of a straight line drawn between point one and two. The number returned, which is a double in degrees, tells us how much we have to rotate a horizontal line clockwise for it to match the line between the two points.
* If you prefer to deal with angles using radians instead of degrees, just change the last line to: "return Math.atan2(yDiff, xDiff);"
*/
public static double GetAngleOfLineBetweenTwoPoints(Point.Double p1, Point.Double p2)
{
double xDiff = p2.x - p1.x;
double yDiff = p2.y - p1.y;
return Math.toDegrees(Math.atan2(yDiff, xDiff));
@balijepalli
balijepalli / Gradient Descent (master).ipynb
Created February 28, 2024 12:50 — forked from asberk/Gradient Descent (master).ipynb
Gradient Descent (master).ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.