Skip to content

Instantly share code, notes, and snippets.

View ma-9's full-sized avatar
🌏
Building Tech for good 😊

Manav Oza ma-9

🌏
Building Tech for good 😊
View GitHub Profile
@ma-9
ma-9 / githubPage.md
Last active December 22, 2019 10:48
Upload React App to Github Pages

How to deploy React App to GitHub Pages

![](data:image/*;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAcHBwcHBwgJCQgLDAsMCxAPDg4PEBkSExITEhklFxsXFxsXJSEoIR4hKCE7LykpLztFOjc6RVNKSlNpY2mJibgBBwcHBwcHCAkJCAsMCwwLEA8ODg8QGRITEhMSGSUXGxcXGxclISghHiEoITsvKSkvO0U6NzpFU0pKU2ljaYmJuP/CABEIADIAMgMBIgACEQEDEQH/xAAzAAACAwEBAQAAAAAAAAAAAAAABQMEBgIBBwEAAgIDAAAAAAAAAAAAAAAABAUBAwACBv/aAAwDAQACEAMQAAAA+fyWVPOdaoj4haK9pMkeh38ARNhO8rDE5KFutbL2b6jbGnsiMi9BZtiFZFRsIGi+YuwbUVQB7dG3DLuKAPUPkIbwpAHv/8QAJRAAAgEDAwQCAwAAAAAAAAAAAQIDAAQRBSFRBhITMRQyM0Fh/9oACAEBAAEJAIwSKIRASTc9QojlYIYepWDATW9vPDcxLLE5C89tXsKJLhRqDC3sppBVrpNs8Ku5vNOt4/oenmBsSlYPOH4vziYYXUIxNaSoUCXYOz33yNgz6AipazZrKc5Wr3v8qYpkBUgiWbswKnmzPknT4vFax7Gsfy4Chl2OObyMpMWUSgM4PYpOBhWYfuvKnNzC0zxKot9H3zI2qafNFcs0SQaYxZWlT4TEZp4ZFrbi1/PSVKAV9P7o+hTAYpgO47f/xAAjEQACAQQBAwUAAAAAAAAAAAABAgADBBESIkFRcRAxMjNh/9oACAEDAQE/AKhC7E9I5vByLDxFfZFJ6iZlUgkgyuijPNsloOKgfk3EruqMcmXNygQNmJdpUHYzYdxLz7T4EufmIvt6f//EACcRAAIBAwIDCQAAAAAAAAAAAAECAAMREgRREDJxBRMhIjE0QUKB/9oACAECAQE/AKZ7zG3zFTTcuJ

@ma-9
ma-9 / fontDownload.md
Last active February 16, 2020 04:10
Instructions to set Operator Mono as default font in VS Code
@ma-9
ma-9 / 0-redux.md
Last active December 11, 2019 13:27
Follow these steps to implement Redux in your application

Lets Install Redux in your application step-by-step

First Install Redux

Always remember these three things:

Store.js (in Main Src Folder)

Actions (Src/Actions/...)

@ma-9
ma-9 / Create-Linked-Profile-Badge.md
Created December 3, 2019 05:41
Create LinkedIN Profile Badge for Your Blog or Website

Just Paste following code into your website

@ma-9
ma-9 / Create-Redux-Store.md
Last active December 11, 2019 12:41
Create Redux Store

Create Redux Reducers and Store

Steps to Create Redux Store

Install Redux and React-Redux from npm

Create "store.js" in your src folder

Create a new folder named "reducers" in src folder

@ma-9
ma-9 / axios-react.js
Created December 2, 2019 17:55
Sending Data to Mongoose using RESTful API
const newUser = {
name,
email,
password
};
try {
const config = {
headers: {
'Access-Control-Allow-Origin': '*',
@ma-9
ma-9 / ArmStrong.js
Created November 28, 2019 13:00
Console Program to Find ArmStrong Numbers in JavaScript
// ArmStrong Numbers are 0,1, 153, 370, 371 and 407
let n = 153;
let r,
temp,
sum = 0;
temp = n;
while (n > 0) {
r = n % 10;
@ma-9
ma-9 / qrcode.html
Created November 19, 2019 11:32
QR Code CDN
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js"></script>
@ma-9
ma-9 / GoLangQuickArticle.md
Created November 13, 2019 19:43
A Quick Intro to GoLang

GoLang-Go Programming Language

What is Go ?

Go also known as GoLang, is developed by Google to solve problems they face at google. Go is an Open SOurce Language and highly efficient and scalable for large applications. Go is basically developed to handle massive Class Based programs that runs at Google to provide different kind of services. Before Go, These kind of large scale application problems are handled through C++ or JAVA but after some decades now a days we have lots of new services and devices to be operated with the code. Go has easy constructivity and understadable language that can handle all masive problems that we have to face while developing large scale applications. Go easily handles networking, Clusters, and Cloud COmputing Conflicts.

GoLang

Go was Officially introduced in [2007](https://en.wikipedia.or

@ma-9
ma-9 / emailRegex.js
Created November 4, 2019 11:17
Regular Expression for Email Validation by MA9
/^([a-z0-9\.-]+)@([a-z0-9-]+).([a-z]{2,8})(.[a-z]{2,8})/