Skip to content

Instantly share code, notes, and snippets.

View sebous's full-sized avatar

Sebastian Krepela sebous

  • STRV
  • Brno
View GitHub Profile
@sebous
sebous / react-query-lite.tsx
Last active April 28, 2025 17:36 — forked from nikasepiskveradze/react-query-lite.js
Lightweight implementation of React Query
import { createContext, type ReactNode, useContext, useEffect, useReducer, useRef } from 'react';
type QueryStatus = 'loading' | 'success' | 'error';
interface QueryState<TData, TError> {
status: QueryStatus;
isFetching: boolean;
data?: TData;
error?: TError;
lastUpdated?: number;
@sebous
sebous / privacy_policy.md
Created August 30, 2023 19:13
privacy_policy

Privacy Policy for Cookbook - Facebook App

Effective Date: 1.1.2023

Thank you for using Cookbook, the cooking website and Facebook app (referred to as "we," "us," or "our"). This Privacy Policy outlines how we collect, use, share, and protect your personal information when you access and use our Facebook app. By using Cookbook's Facebook app, you consent to the practices described in this policy.

1. Information We Collect:

1.1. Information You Provide:

@sebous
sebous / README.md
Created January 15, 2023 16:46 — forked from kettanaito/README.md
Chromium on Vercel (serveless)

Chromium on Vercel (serverless)

This is an up-to-date guide on running Chromium in Vercel serverless functions in 2022. What you will read below is the result of two days of research, debugging, 100+ failed deployments, and a little bit of stress.

Getting started

Step 1: Install dependencies

Use chrome-aws-lambda that comes with Chromium pre-configured to run in serverless, and puppeteer-core due to the smaller size of Chromium distributive.

This is it