Skip to content

Instantly share code, notes, and snippets.

View benedyktdryl's full-sized avatar

Benedykt Dryl benedyktdryl

View GitHub Profile
@benedyktdryl
benedyktdryl / Structure.md
Created September 6, 2022 09:22 — forked from hstemplewski/Structure.md
Front-end structure proposal
@benedyktdryl
benedyktdryl / filters.js
Created March 7, 2022 22:46 — forked from deckchairlabs/filters.js
Prisma Custom Generator
#!/usr/bin/env node
const path = require('path')
const generatorHelper = require('@prisma/generator-helper')
const { Project, StructureKind, VariableDeclarationKind } = require('ts-morph')
generatorHelper.generatorHandler({
onManifest(config) {
return {
prettyName: 'Filters',
defaultOutput: path.resolve(__dirname, 'filters'),
# Set this to 1 to enable startup
ENABLED=1
# The user to run Kodi as
USER=root
# Adjust niceness of Kodi (decrease for higher priority)
NICE=-5