Skip to content

Instantly share code, notes, and snippets.

View jovobe's full-sized avatar

Johan M. jovobe

  • 04:04 (UTC +02:00)
View GitHub Profile
@jovobe
jovobe / supabase_api_auth.sql
Created August 22, 2023 05:43 — forked from FelixZY/supabase_api_auth.sql
How to configure Supabase (https://supabase.com/) to generate and accept API tokens.
-- Token Based API Access for Supabase
--
-- How to configure Supabase (https://supabase.com/) to generate and accept API tokens.
--
-- (c) 2022 Felix Zedén Yverås
-- Provided under the MIT license (https://spdx.org/licenses/MIT.html)
--
-- Disclaimer: This file is formatted using pg_format. I'm not happy with the result but
-- prefer to follow a tool over going by personal taste.
--
@jovobe
jovobe / docker-error.json
Created November 23, 2021 15:02
Error message while testing virtiofs implementation from Docker Desktop for mac.
{"app_name":"com.apple.Virtualization.VirtualMachine","timestamp":"2021-11-23 15:18:52.00 +0100","app_version":"1.0","slice_uuid":"039ffa84-b59a-363c-87e9-80d6131df3dd","build_version":"59.2","platform":1,"bundleID":"com.apple.Virtualization.VirtualMachine","share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.0.1 (21A559)","incident_id":"1CA99460-C1CE-40B2-977E-CAD06EC4D52B","name":"com.apple.Virtualization.VirtualMachine"}
{
"uptime" : 54000,
"procLaunch" : "2021-11-23 15:13:44.8826 +0100",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro15,1",
"procStartAbsTime" : 53713683688343,
@jovobe
jovobe / README.md
Created October 20, 2013 14:29 — forked from nikcub/README.md
#!/bin/sh
# create mount point
if [ ! -d /ram ]
then
mkdir /ram
fi
# create ramfs
mount -t ramfs -o size=512M /ram