Skip to content

Instantly share code, notes, and snippets.

View NaveenDA's full-sized avatar
🤿
Dive deep into the code

Naveen NaveenDA

🤿
Dive deep into the code
View GitHub Profile
/////////////////////////// complete list of bootstrap classes
.affix
.alert
.alert-danger
.alert-dismissible
.alert-info
.alert-link
.alert-success
.alert-warning
.active
@NaveenDA
NaveenDA / List-of-search-engine.json
Created July 5, 2017 05:47
List of Search Engine in Json Format
[
{
"name": "Google",
"url": "http:\/\/www.google.com"
},
{
"name": "Bing",
"url": "http:\/\/www.bing.com"
},
{
@NaveenDA
NaveenDA / List-of-social-site.json
Last active July 6, 2017 05:43
86 List Social Sites
[
{
"Sl.No": 1,
"name": "Facebook",
"url": "http:\/\/www.facebook.com"
},
{
"Sl.No": 2,
"name": "QQ",
@NaveenDA
NaveenDA / helmet.js
Created December 31, 2018 12:44
A sample code for helmet
const express = require('express')
const helmet = require('helmet')
const app = express()
app.use(helmet())
// ...
@NaveenDA
NaveenDA / express-session.js
Created December 31, 2018 12:46
A sample code for express-session.js
var app = express()
app.set('trust proxy', 1) // trust first proxy
app.use(session({
secret: 'keyboard cat',
resave: false,
saveUninitialized: true,
cookie: { secure: true }
}))
@NaveenDA
NaveenDA / phpLiteAdmin-bootstrap-theme.scss
Created September 10, 2019 04:30
Php Lite Admin Bootstrap Theme Scss
/*
@Name : Bootstrap Theme
@author: NaveenDA
@github: github.com/NaveenDA
*/
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
Company Valuation (US $billion) Valution Date Industry
Paytm 18 March 2019 E-commerce
OYO 10 June 2019 Hospitality
Byju's 10 May 2020 Education
Ola Cabs 10 October 2019 Transportation
Swiggy 3.3 December 2018 Online food delivery
Zomato 3.25 Apr 2020 Online food delivery
Zerodha 3 August 2020 Financial service
Udaan 2.8 August 2019 B2B trade platform
ReNew Power 2 February 2017 Renewable energy
import React, { useState } from "react";
import data from "./data.json";
import Item from "./item";
const SettingsPage = () => {
const [searchData, setSearchData] = useState(data);
const searchItem = (query) => {
if (!query) {
setSearchData(data);
return;
[{
"name": "Root",
"children": [
{
"name": "Child 1",
"children": [
{
"name": "Grand Child"
}
]
import React, { useEffect } from "react";
const SimpleComponent = () => {
useEffect(() => {
console.count("Component Rendered ");
}, []);
return <div></div>;
};
export default SimpleComponent;