Skip to content

Instantly share code, notes, and snippets.

View gkanishk's full-sized avatar
🚩
Busy doing #takatakatakataka on keyboard

Kanishk Gupta gkanishk

🚩
Busy doing #takatakatakataka on keyboard
View GitHub Profile
@gkanishk
gkanishk / index.html
Created February 14, 2024 10:01
Swiper
<!-- Slider main container -->
<div class="swiper-container">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide c1">Slide 1</div>
<div class="swiper-slide c2">Slide 2</div>
<div class="swiper-slide c3">Slide 3</div>
<div class="swiper-slide c4">Slide 4</div>
<div class="swiper-slide c5">Slide 5</div>
import * as React from 'react';
import { CSSProperties } from 'react';
import { Dimension } from '../../../core/dependencies/LayoutProvider';
import BaseViewRenderer, { ViewRendererProps } from '../../../core/viewrenderer/BaseViewRenderer';
/***
* View renderer is responsible for creating a container of size provided by LayoutProvider and render content inside it.
* Also enforces a logic to prevent re renders. RecyclerListView keeps moving these ViewRendereres around using transforms to enable recycling.
* View renderer will only update if its position, dimensions or given data changes. Make sure to have a relevant shouldComponentUpdate as well.
* This is second of the two things recycler works on. Implemented both for web and react native.

Input a single-digit number and check whether the number is an Automorphic number or not. Render output on the page. An automorphic number is a number whose square "ends" in the same digits as the number itself.

For example, 5 U+00B2 = 25, here 25 ends with ‘5’ 6 U+00B2 = 36, here 36 ends with ‘6’

@gkanishk
gkanishk / data.md
Last active October 22, 2022 18:04
Data Catalog

Data Catalog:

What is Data?

Datas can be facts, statistics, terms that are collected together for reference or analysis. We get huge number of meta data everyday which can be hard to manage because datas are not structured. If we simply search any data let's say a mobile we will get thousands of results related to mobile but if we specify what kind of mobile we are looking for we get reduced results related to what we are looking for.

What is Meta Data:

Metadata are all the information related to data like size of data, owner of data, reader(user), access permission and other related information.

@gkanishk
gkanishk / faq.md
Last active November 2, 2020 10:05
Bootcamp faqs

Neog-Camp From Zero To Hero ⚡

Bootcamp FAQs:

Any limitaion or number?

I want to take say 100 students and groom all of them for better jobs.

Based on which language?

Language will definetly be Javascript.

@gkanishk
gkanishk / Component.jsx
Created July 23, 2020 08:17 — forked from krambertech/Component.jsx
ReactJS: Input fire onChange when user stopped typing (or pressed Enter key)
import React, { Component } from 'react';
import TextField from 'components/base/TextField';
const WAIT_INTERVAL = 1000;
const ENTER_KEY = 13;
export default class TextSearch extends Component {
constructor(props) {
super();

finalist data updation

This feels like just happened yesterday or few days before but we have crossed almost three months and the challenge ends on 30th June, 2020.

So first thing Kudos that you have achieved the milestone of 5.3.2, I am sure you all have learn and built new connections through the challenge.

Now how can one update his/her data if he has completed the challenge, so let me walk through the steps involved:

  • First you need to update your 5 projects, 3 blogs, and raise an issue for review and update your index.md file by raising a PR, after that when PR gets accepted you need to follow:
  • Process remains the same you need to generate a PR but this time in a different directory which is finalist directory.
@gkanishk
gkanishk / TODO.md
Last active May 3, 2020 01:20
Tanay's TODO

Error:

Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) Unexpected end of JSON input while parsing near '...:"1.5.9","dependencie

image

Error:

Command failed with exit code 1 package error like webpack

Solution: