Skip to content

Instantly share code, notes, and snippets.

@JohnCampionJr
JohnCampionJr / eslint.config.mjs
Last active July 12, 2025 17:20
ESLint Configuration - Based on @antfu/eslint-config, but with Nuxt and Tailwind
import antfu from '@antfu/eslint-config'
import perfectionistNatural from 'eslint-plugin-perfectionist/configs/recommended-natural'
import tailwind from 'eslint-plugin-tailwindcss'
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt(
antfu(
{ formatters: true, stylistic: true },
@koakh
koakh / gist:fbbc37cde630bedcf57acfd4d6a6956b
Last active March 24, 2025 14:40
SurrealDB : How to use signin and signup (server + client nodesjs)
**As a developer you have complete control over the signup and signin functionality...**
```shell
$ surreal sql --conn http://localhost:8000 --user root --pass root --ns test --db test
```
```sql
-- optional : this is the default see --ns test --db test start server flags
-- USE NS test DB test;
@tsrivishnu
tsrivishnu / docker-increase-inotify-max-user-watches.md
Last active July 17, 2025 19:33
Increase inotify watchers in Docker images during build

Increasing fs.inotify.max_user_watches for Docker images

TL;DR You can't set those for an image during build time becasue Docker takes the sysctl configuration from the Host. So, set the config on your host machine.

As in this link, to increase the maximum watchers, we need set fs.inotify.max_user_watches to a higher number in /etc/sysctl.conf.

@PARC6502
PARC6502 / OpenSourceBaas.md
Last active December 28, 2025 10:00
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Note on sizes: a lot of those might be inaccurate as there might be many microservices required aside from the core release/docker image. I haven't tested these recently so I'm not sure

Supabase - ~94.9K stars

  • Designed explicitly as an open source Firebase alternative
  • Typescript based
  • Docker support
  • Full Postgres database with Realtime subscriptions

PocketBase - ~54.5K stars