Skip to content

Instantly share code, notes, and snippets.

View vijaydeepak-tt's full-sized avatar
💭
I may be slow to respond.

Vijay Deepak vijaydeepak-tt

💭
I may be slow to respond.
View GitHub Profile

Use CRA to get you going.

$ npx create-react-app component-library

You're going to want styleguidist. Follow the instructions here.

Add .babelrc file to the root of your library.

@vijaydeepak-tt
vijaydeepak-tt / Projects to try
Created August 10, 2020 16:07
A list of projects to try by a developer.
1. Web scraper
2. Built an API
3. Snake game
4. Create a basic web server
5. Chip-8 Emulator
------------------------------
1. Simple clone of app in web application
2. Popular Algorithms
@vijaydeepak-tt
vijaydeepak-tt / Open Source websites link's
Created May 3, 2020 04:57
Websites to get open source data, images, API etc.,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<script src="https://unpkg.com/jspdf@latest/dist/jspdf.min.js"></script>
</head>
<body>
<form>
String methods:
concat()
endsWith()
includes()
indexOf()
lastIndexOf()
repeat()
replace()
search()
@vijaydeepak-tt
vijaydeepak-tt / JavaScript libraries
Created February 12, 2020 16:14
A list of JavaScript libraries
Anime.js - https://animejs.com/
Howler.js - https://howlerjs.com/
Chart.js - https://www.chartjs.org/
Reveal.js - https://revealjs.com
Three.js - https://threejs.org/
Pixi.js - https://www.pixijs.com/
Video.js - https://videojs.com/
Step1: Push all codes to the git hub
Step2: Add "hompage": "https://username.github.io/repository-name" after the scripts object in the packet.json
Step3: Add basename="/repository-name" to the mainRouter element
Step4: In cmd run the command "npm run build" that it will create the production built file inside the project folder.
Step5: Again run the command "npm install --save-dev gh-pages" that is used to publish the project.
@vijaydeepak-tt
vijaydeepak-tt / Angular github publish
Created November 25, 2019 16:35
Angular github publish
Publishing Procedure:
Step1: Run "npm build --prod".
Step2: install ghpage for angular cli by running "npm i -g angular-cli-ghpages" in cmd.
Step3: push the complete code to the github repository.
Step4: run ng build --prod --base-href "https://USERNAME.github.io/REPOSITORY/" command.