Skip to content

Instantly share code, notes, and snippets.

View jugshaurya's full-sized avatar
🐢
Focusing, learning, enjoying & building web apps

Shaurya Singhal jugshaurya

🐢
Focusing, learning, enjoying & building web apps
View GitHub Profile

Minimum Stangeness - Trilogy Innovations

aa b

Question 1: Finding Maximum OR

My Problem with it.

  • why can't the recurrence be 1D dp (Form 1) like:-
@jugshaurya
jugshaurya / snippets.md
Last active September 4, 2021 20:36
c++ template

Note

  • Go to File>Preferences>Snippets
  • or ctrl+Shift+p and enter snippets then create new global snppet file.
  • and use
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.

for loop

@jugshaurya
jugshaurya / theme.md
Last active May 20, 2021 12:53
vscode horizon theme

Extension

  • Add Horizon Theme
  • Add Prettier
  • vscode icon mac

settings with colors changes

{
@jugshaurya
jugshaurya / prettier-eslint-babel-webpack.md
Last active July 11, 2020 15:46
Prettier-eslint-babel-webpack

Note: package-lock.json helps in installing exact versions in package json using npm ci Note: package.json installs lastest versions in package json using npm i

webpack

  • Entry
  • Output
    • Tells webpack WHAT (files) and Where to load for the browser; Compliments the Output property.
  • Loaders
  • webpack only understands JavaScript and JSON files. Loaders allow webpack to process other types of files and convert them into valid modules that can be consumed by your application and added to the dependency graph.
@jugshaurya
jugshaurya / IssuePRresolve.md
Last active May 4, 2021 07:10
IssueResolveBounty: Claimed
@jugshaurya
jugshaurya / gondor openSource Helper
Last active May 4, 2021 07:12
gondor openSource Helper
**Install Postgres**
$sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install postgresql postgresql-contrib libpq-dev pgadmin3
$ sudo su - postgres
$ psql
postgres-# \l
**Create Database**
@jugshaurya
jugshaurya / reactthings
Created February 4, 2020 10:49
ReactThings
### Technology Used:
react
react-router-dom
react-redux - <Provider/>, connect()
redux - createStore(), applyMiddleware(), combineReducers()
redux-logger - logger
react-stripe-checkout - <stripeCheckout />
redux-thunk
### to be Done:
@jugshaurya
jugshaurya / gist_mh2.txt
Last active September 24, 2019 05:47
npmCLI, ENV-variables
# npm CommandLine
1. Initialize node repo
$ npm init
2. To see the recurive-list of dependences for your project in a graph like structure
$ npm list
npm list --depth=0
- to see only toplevel dependencies
@jugshaurya
jugshaurya / gist_mh.txt
Last active April 29, 2020 06:09
Semver or modules-tried or to be tried
# Small Intro of Node:
Node - Runtime Enviornment for execting JS code, perfect choice for building RESTful API , for building I/O intensive Application
Node Apps are Single-threaded ,non-blocking or asynchronous in nature.
Node have 'global' in anologous to 'window' on browser and have things/internal modules to talk to OS, have filesystem to do read and write ops, and more.
Avoid:
For CPU-intensive apps because more they have to wait for a work to be done more time user have to wait to get related data.
NPM to download and install 3rd-party libraries from the npm registry