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 😊
  • DevForge Technology Private Limited
  • Ahmedabad, Gujarat, India
View GitHub Profile
@ma-9
ma-9 / kill-port.md
Created August 6, 2020 12:38
How to Kill Port on Windows

How To Kill unnecessary usage of PORT

netstat -ano | findstr < Port Number >

taskkill /F /PID < Process Id >

@ma-9
ma-9 / admission.md
Last active June 17, 2020 08:18
MCA Admission Options

Colleges for MCA

1) LJ College SG Highway

MCA - 41.5K/Sem

Msc.IT - 30K/Sem

2) Ganpat University

@ma-9
ma-9 / queries.js
Last active June 4, 2020 10:14
My Queries for GraphiQL
query fetchEventQuery {
events {
title
description
creator {
email
}
}
}
@ma-9
ma-9 / README.md
Created May 3, 2020 11:18 — forked from SwapnilSoni1999/README.md
Zoom conference spamming script (selenium)
@ma-9
ma-9 / theme.css
Created April 23, 2020 11:30
google_search_page_dark_theme
@-moz-document url-prefix("https://www.google.com/search?") {
:root {
--main-bg: #121212;
--link-color: #3072e3;
--black-bg: #333;
--black-bg-dark: #222;
--black-bg-light: #444;
--grey: #999;
--light-grey: #555;
--black: var(--black);
@ma-9
ma-9 / prevState.js
Created February 28, 2020 07:43
Update State in Functional Component with PrevState
onChange={e => {
const val = e.target.value;
setMessage(prevState => {
return { ...prevState, message: val }
});
}}
@ma-9
ma-9 / bytesToSIze.js
Created February 28, 2020 07:17
A Helper function to Return Size in Bytes, KB, MB, GB AND TB
function bytesToSize(bytes) {
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
if (bytes == 0) return '0 Byte';
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
return Math.round(bytes / Math.pow(1024, i), 2) + ' ' + sizes[i];
}
@ma-9
ma-9 / extenstions.md
Created February 16, 2020 04:08
Download My VS COde extenstions
@ma-9
ma-9 / updateNode.md
Created February 10, 2020 14:01
Gist to Update Node and NPM

Run PowerShell as Administrator

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force

npm install -g npm-windows-upgrade

npm-windows-upgrade

@ma-9
ma-9 / settings.json
Created February 8, 2020 09:52
Configure VS CODE Fonts
// Theme Configuration
"workbench.colorTheme": "CodeSandbox Black",
// Font Configuration
"editor.wordWrap": "on",
"editor.fontSize": 17,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"editor.fontFamily": "Operator SSm,verdana",