Skip to content

Instantly share code, notes, and snippets.

View gladiatorAsh's full-sized avatar
🎯
Focusing

Ashutosh Singh gladiatorAsh

🎯
Focusing
View GitHub Profile
@gladiatorAsh
gladiatorAsh / react_fiber.md
Created November 21, 2018 22:57 — forked from geoffreydhuyvetters/react_fiber.md
What is React Fiber? And how can I try it out today?
@gladiatorAsh
gladiatorAsh / react_fiber.md
Created November 21, 2018 22:57 — forked from geoffreydhuyvetters/react_fiber.md
What is React Fiber? And how can I try it out today?
@gladiatorAsh
gladiatorAsh / react-reusable-component.md
Created November 21, 2018 22:58 — forked from ericelliott/react-reusable-component.md
React - Complete Reusable Component

React Reusable Component Factory

'use strict';

const ENTER_KEY = 13;

const emailFactory = function ({
  React,
  setEmail,
@gladiatorAsh
gladiatorAsh / notes.md
Created November 21, 2018 22:58 — forked from LeZuse/notes.md
React.js internals

React.js

React

  • Element is a simple key,ref,props enclosure
  • Gets generated on every react batch strategy pass
  • It is "owned” by ReactCompositeComponent
  • JSX translates tags into ReactElement.createElement ftion calls

ReactCompositeComponent

  • React component (class)
@gladiatorAsh
gladiatorAsh / AngularRevision.md
Last active November 22, 2018 01:09
Revision of Angular
  1. Directives are HTML attribute modifiers
  2. Expressions bind data to HTML
  3. Filters format data and coincidentally also filter
  4. Modules define Angular JS applications
  5. Controllers control AngularJS applications
  • ng-app directive: Initiates an angular js application
  • ng-model directive: binds value of HTML controls to app data
@gladiatorAsh
gladiatorAsh / Extensions.md
Last active March 8, 2019 07:25 — forked from testgithubd/Extensions.md
Extensions for VS Code

Extensions I use

  1. Auto Import
  2. Beautify
  3. Better Comments
  4. Bracket Pair Colorizer
  5. C#
  6. CodeMetrics
  7. Debugger for Chrome
  8. ESLint
  9. Format Files

Switching node to windows

1. Go here https://github.com/coreybutler/nvm-windows and click Download Now to get nvm installer for windows
2. Close all command consoles
3. Run installer to install nvm
4. Start console and type nvm list to show the current list of node versions installed
5. Install 8.15.0 by running nvm install <version> if you don’t have this specific version
6. Run nvm use <version> to switch to that node version
7. To confirm run nvm list. The version with an asterisk is your current version You can always use node -v :-)

Extensions I use

  1. Auto Import
  2. Beautify
  3. Better Comments
  4. Bracket Pair Colorizer
  5. C#
  6. CodeMetrics
  7. Debugger for Chrome
  8. ESLint
  9. Format Files
@gladiatorAsh
gladiatorAsh / C#.md
Created September 23, 2019 18:32
C Sharp questions
  1. How can you return multiple values from a method in C#?
  2. What's the difference between ref and out?
  3. What are the value and reference types in C#?
  4. What is the base class in C# for all data types?
  5. What is boxing and unboxing?
  6. What are pointer types in C#?
  7. What is the purpose of is and as operators?
  8. What is encapsulation and how is it implemented in C#?
  9. What is a struct and how is it different from a class?
  10. What is an enum?