Skip to content

Instantly share code, notes, and snippets.

View po8rewq's full-sized avatar

Adrien Fischer po8rewq

View GitHub Profile
@po8rewq
po8rewq / first-migration.sql
Created March 4, 2023 21:51
Supabase initial migration
create table "public"."profiles" (
"id" uuid not null,
"email" character varying not null,
"firstname" character varying,
"lastname" character varying,
"created_at" timestamp with time zone not null default now()
);
alter table "public"."profiles" enable row level security;
{
"class": {
"prefix": "class",
"body": [
"package ${1};",
"class ${name:$TM_FILENAME}",
"{",
"",
"\tpublic function new(${2})",
"\t{",
@po8rewq
po8rewq / Main.hx
Last active August 19, 2016 13:10
Empty haxe / pico-8 project
package ;
import Pico.*;
class Main
{
static function main()
{
onInit = init;
@po8rewq
po8rewq / JqNotification.hx
Last active January 4, 2016 15:05
Simple JQuery notification with Haxe
package ;
import js.JQuery;
import js.JQuery.JQueryHelper.*;
class JqNotification
{
var _element : JQuery;
var _note : Dynamic;
var _options : NotificationOptions;