Skip to content

Instantly share code, notes, and snippets.

View ankit-kumar-jat's full-sized avatar
🎯
Focusing

ankit kumar jat ankit-kumar-jat

🎯
Focusing
View GitHub Profile
@szemate
szemate / package-lock-conflicts.md
Last active February 2, 2026 16:45
How to resolve package-lock.json conflicts

How to resolve package-lock.json conflicts

Important

The following guide has been created for coding bootcamp participants who are new to Git and NPM and not comfortable with CLI tools. Not intended for professional developers.

It is not possible to resolve conflicts of package-lock.json in GitHub's merge tool and you need to do a manual merge.

  1. Update the master branch with the latest changes:
    git checkout master
    
@jacob-ebey
jacob-ebey / image.ts
Last active September 18, 2024 19:12
Remix Image Component
import { createHash } from "crypto";
import fs from "fs";
import fsp from "fs/promises";
import path from "path";
import https from "https";
import { PassThrough } from "stream";
import type { Readable } from "stream";
import type { LoaderFunction } from "remix";
import sharp from "sharp";
import type { Request as NodeRequest } from "@remix-run/node";