Skip to content

Instantly share code, notes, and snippets.

View saurabh47's full-sized avatar
🎯
Focusing

Saurabh Gangamwar saurabh47

🎯
Focusing
View GitHub Profile
@saurabh47
saurabh47 / ec2-myql8-setup.md
Last active May 24, 2020 17:09
MYSQL 8 server setup on EC2 Linux

MYSQL 8 Database Setup On AWS EC2 LINUX

  1. Download RPM file
wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
  1. Install MYSQL server
sudo yum install mysql-community-server
  1. Start the MYSQL service
@Angelfire
Angelfire / largestSquareSubMatrix.js
Last active May 11, 2021 00:03
The largest square sub-matrix
/* Casey has a square image made up of black and white pixels
represented as 0 and 1 respectively. As part of an image analysis
process, Casey needs to determine the size of the largest square area
of white pixels. Given a 2-dimensional square matrix that represents
the image, write a function to determine the length of a side of the
largest square area made up of white pixels.
For example, the n x n = 5 x 5 matrix of pixels is represented as arr =
[[1,1,1,1,1], [1,1,1,0,0], [1,1,1,0,0], [1,1,1,0,0], [1,1,1,1,1]. A diagram of
the matrix is:
1 1 1 1 1
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active April 23, 2025 12:49
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active April 24, 2025 19:54
crack activate Office on mac with license file
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
@akexorcist
akexorcist / index.js
Last active September 13, 2024 19:03
Axios post method requesting with x-www-form-urlencoded content type. See https://axios-http.com/docs/urlencoded
const axios = require('axios')
/* ... */
const params = new URLSearchParams()
params.append('name', 'Akexorcist')
params.append('age', '28')
params.append('position', 'Android Developer')
params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/')
params.append('awesome', true)
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active April 24, 2025 07:18
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@vasanthk
vasanthk / System Design.md
Last active April 24, 2025 13:48
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?