Skip to content

Instantly share code, notes, and snippets.

View ayushgupta11's full-sized avatar

Ayush Gupta ayushgupta11

  • Bhopal
View GitHub Profile
@ayushgupta11
ayushgupta11 / .eslintrc.json
Created May 9, 2024 05:08
.eslintrc.json for typescript + react
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
const states = {
id: UUID,
stateName: STRING,
metaData: OBJECT,
capacity: FLOAT
}
const rawMaterials = {
id: UUID,
name: STRING
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Mamacita</name>
<Style id="icon-1899-000000-nodesc-normal">
<IconStyle>
<color>ff000000</color>
<scale>1</scale>
<Icon>
<href>http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png</href>
let requestData = {
data:{
"name": "name",
"email": "email",
"contact": "contact",
"college": "college",
"profession": "profession",
"city": "city",
"question1": "answer",
"question2": "answer",
<template>
<div class="widget-container flex">
<div class="card flex column">
<div class="card-image">
<img src="https://pay.google.com/about/static/images/social/knowledge_graph_logo.png" />
<div class="card-overlay flex apart">
<div class="flex column grow">
<span>Title</span>
<span>Subtitle</span>
</div>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<template>
<div class="home">
<img alt="Vue logo" src="../statics/svg_file.svg">
<HelloWorld msg="Welcome to Your Vue.js App"/>
</div>
</template>
<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'
<template>
<div class="container">
{{computeListData}}
</div>
</template>
<script>
export default {
computed: {
computeListData(){
let newList = []
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
.container{
display: flex;
}
.overlay{
position: fixed;
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
.container{
display: flex;
}
.overlay{
position: fixed;