Skip to content

Instantly share code, notes, and snippets.

View 0b1kn00b's full-sized avatar

0b1kn00b

View GitHub Profile
@0b1kn00b
0b1kn00b / customField.js
Last active June 10, 2024 17:16
#Strapi #React customField
app.customFields.register({
"name" : "editorjs-field",
"pluginId" : pluginId,
"type" : "json",
"components" : {
Input: async () => {
const Module = (await import ('./components/Editor'));
const Component = Module.default;
const inst : React.FC<any> = ( ({...props}) => {
return (
@0b1kn00b
0b1kn00b / flake.nix
Created January 24, 2023 16:01
Struggling with nix
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.follows = "nix/nixpkgs";
# debug.url
nguix.url = "github:sauricat/nguix";
nguix.follows = "nix/nixpkgs";
#stdenv.url
};