Skip to content

Instantly share code, notes, and snippets.

View Deep-Codes's full-sized avatar
🎯
Hack

Deepankar Deep-Codes

🎯
Hack
View GitHub Profile
  • Show the GitHub repo / blog -> git clone -> template branch
  • Explain folder structure
  • components -> have all dumb react components most of them are stateless, some of them need props which we will look into when we are using them
  • Icons -> have all our icons as a react svg component
  • Utils -> have all our utility functions
  • Show example.env

Add env variables in .env file


@Deep-Codes
Deep-Codes / CustomImage.tsx
Created September 4, 2021 20:35
loading + blur
import React from 'react';
import Image from 'next/image';
interface Props {
width: number;
height: number;
src: string;
alt: string;
}
@Deep-Codes
Deep-Codes / affinity.css
Last active August 17, 2021 03:33
Affinity theme for obsidian [WIP] only dark / light theme
:root {
--default-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif !important;
--mermaid-font: var(--default-font);
--reveal-font: var(--default-font);
--font-monospace: Menlo, Monaco, Lucida Console, Liberation Mono,
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace !important;
--text-xs: 12px;
@Deep-Codes
Deep-Codes / query-variables
Last active June 12, 2021 15:11
Graphql API calls to get last updates git files from Github
{
"path": "pages/changelog.mdx",
"repo": "chloromaps"
}
@Deep-Codes
Deep-Codes / coa-viva.md
Last active May 19, 2021 01:25
Viva Solutions for COA subject

COA

Practicals on LOGISIM and TASM.

  • Details and Features of 8086 microprocessor
    • enhanced v of 8085 developed by Intek in 1976
    • 16-bit microPro
    • 20 address lines
    • 16 data lines
    • 1mb storage and powerful set of instructions(multiply , divide)