Skip to content

Instantly share code, notes, and snippets.

View sayandedotcom's full-sized avatar
🔍
Exploring

Sayan De sayandedotcom

🔍
Exploring
View GitHub Profile
@sayandedotcom
sayandedotcom / gist:cfd39848edd55a2955b2a5efea99dc8e
Created July 30, 2023 16:22
React Select Library with shadcnui's design systems and forms !
1. Select Component ---------------------------------------------------------------------------------
"use client";
import clsx from "clsx";
import { ChevronDownIcon, X } from "lucide-react";
import Select, {
ClearIndicatorProps,
DropdownIndicatorProps,
MultiValueRemoveProps,
@tanishqsh
tanishqsh / DOBPicker.tsx
Created July 3, 2023 03:54
DOB Calendar
/**
/DOBPicker.tsx
**/
'use client';
import * as React from 'react';
import { format, subYears } from 'date-fns';
import { cn } from '@/lib/utils';
import { Button } from '@/components/ui/button';
@dragonde
dragonde / sre-roadmap.md
Last active May 26, 2024 05:17
SRE Roadmap

SRE Roadmap

  1. Scripting and Programming

    • Bash
    • Python
    • Go
  2. Documentation tools

    • Markdown
  • Serializers: YML,JSON

I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:

Do consider to STAR, if it helped you.

London

@JustAyush
JustAyush / react-select-with-rhf.tsx
Created September 14, 2021 11:59
React Select usage with react-hook-form
import {
Button,
FormControl,
FormErrorMessage,
FormLabel,
Link,
SimpleGrid,
Stack,
} from '@chakra-ui/react';
import React from 'react';
import AsyncSelect from 'react-select/async';
export default function PageComponent() {
const mapResponseToValuesAndLabels = (data) => ({
value: data.id,
label: data.name,
});
async function callApi(value) {
@jonlabelle
jonlabelle / docker_compose_cheatsheet.md
Last active July 17, 2024 14:11
Docker Compose Cheatsheet
@jareware
jareware / SCSS.md
Last active July 1, 2024 09:25
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at jrw.fi

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso