Skip to content

Instantly share code, notes, and snippets.

View pankajpatel's full-sized avatar
🎯
Focusing

Pankaj Patel pankajpatel

🎯
Focusing
View GitHub Profile
@wojtekmaj
wojtekmaj / .gitignore
Last active March 13, 2025 21:30
How to upgrade Yarn to Yarn Modern (v4 at the moment) seamlessly
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

What Hiring Should Look Like

This is definitely not the first time I've written about this topic, but I haven't written formally about it in quite awhile. So I want to revisit why I think technical-position interviewing is so poorly designed, and lay out what I think would be a better process.

I'm just one guy, with a bunch of strong opinions and a bunch of flaws. So take these suggestions with a grain of salt. I'm sure there's a lot of talented, passionate folks with other thoughts, and some are probably a lot more interesting and useful than my own.

But at the same time, I hope you'll set aside the assumptions and status quo of how interviewing is always done. Just because you were hired a certain way, and even if you liked it, doesn't mean that it's a good interview process to repeat.

If you're happy with the way technical interviewing currently works at your company, fine. Just stop, don't read any further. I'm not going to spend any effort trying to convince you otherwise.

@kennethnwc
kennethnwc / .dockerignore
Last active July 28, 2024 08:09
My docker-compose with nextjs and nginx
.next/
node_modules/
Dockerfile
yarn-error.log
.dockerignore
.git
.gitignore
@pankajpatel
pankajpatel / css-grid-bg.css
Created December 18, 2020 21:39
From Storybook
:root {
--grid-size: 10px;
--cell-amount: 10;
--grid-line-opacity: .4;
--grid-offset-x: 20px;
--grid-offset-y: 20px;
}
.with-grid-lines {
@jonlabelle
jonlabelle / npm_version_cheatsheet.md
Last active April 18, 2025 03:54
npm version cheatsheet

npm version cheatsheet

npm uses Semantic Versioning

npm uses Semantic Versioning. Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards compatible manner, and
  3. PATCH version when you make backwards compatible bug fixes.
@andrecastelo
andrecastelo / NewTypography.tsx
Last active August 1, 2024 06:35
Prop Forwarding with Emotion, Material-UI and Material-UI-System
import styled from '@emotion/styled';
import {
Typography as MaterialTypography,
TypographyProps as MaterialTypographyProps,
} from '@material-ui/core';
import {
spacing,
SpacingProps,
sizing,
SizingProps,