Skip to content

Instantly share code, notes, and snippets.

View dromer's full-sized avatar
🌴
On vacation

dreamer dromer

🌴
On vacation
View GitHub Profile
@dromer
dromer / Dockerfile
Created November 30, 2023 16:01
lapis docker container
FROM openresty/openresty:1.21.4.2-1-alpine-fat
ENV LAPIS_VERSION=1.14.0
RUN apk add openssl-dev
RUN opm get spacewander/luafilesystem
RUN luarocks install luasec
RUN luarocks install busted
RUN luarocks install --check-lua-versions markov-text
RUN luarocks install lapis ${LAPIS_VERSION}
@dromer
dromer / quantizing_random.vcv
Created April 8, 2022 13:10
quantizing in cardinal
{
"version": "2.1",
"path": "/home/dreamer/Sources/_audio/_DISTRHO/_cardinal_patches/_generative/quantizing_random.vcv",
"zoom": 1.0,
"gridOffset": [
-8.0,
-0.21052631735801697
],
"modules": [
{
@dromer
dromer / cardinal_befaco_rhythm.vcv
Created March 8, 2022 20:28
cardinal patch using the new befaco noise plethora
{
"version": "2.1",
"path": "/home/dreamer/Sources/_audio/_DISTRHO/_cardinal_patches/_modules_unique/befaco_rhythm1.vcv",
"zoom": 0.70710659027099609,
"gridOffset": [
31.453386306762695,
-1.6645559072494507
],
"modules": [
{
{
"groups" : [
{
"rows": 8,
"cols": 8,
"position" : [ 0, 35 ],
"dimensions" : [28, 28],
"spacing" : [30, 30],
"controls" : [ 81, 82, 83, 84, 85, 86, 87, 88,
71, 72, 73, 74, 75, 76, 77, 78,
@dromer
dromer / HeavyDaisy_heavy.cpp
Created November 12, 2021 21:06
field_through.pd
#include "HeavyDaisy_heavy.hpp"
#define SAMPLE_RATE 48000.f
using namespace daisy;
Daisy hardware;
@dromer
dromer / codepen-profile-banner.markdown
Created July 10, 2021 03:31
CodePen Profile Banner
@dromer
dromer / accessible-semantic-scss-vanilla-number-input-knob-potentiometer.markdown
Created July 10, 2021 03:20
Accessible Semantic SCSS / Vanilla Number Input Knob / Potentiometer

Accessible Semantic SCSS / Vanilla Number Input Knob / Potentiometer

Accessible Semantic SCSS / Vanilla Number Input Knob / Potentiometer

A Pen by dromer on CodePen.

License.

@dromer
dromer / no_ttl_gen.patch
Last active March 26, 2021 10:07
wstd-plugins.mk
diff --git a/Makefile b/Makefile
index 6d5dec9..ddfd6e9 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ plugins:
$(MAKE) all -C plugins/arp-delay-env
gen: plugins dpf/utils/lv2_ttl_generator
- @$(CURDIR)/dpf/utils/generate-ttl.sh
+ @echo "no ttl generator"
@dromer
dromer / lv2ls.lua
Last active January 31, 2021 06:39
basic lv2ls implementation in luajit using liblilv
local ffi = require "ffi"
local lv2 = ffi.load("liblilv-0.so.0")
ffi.cdef [[
typedef struct LilvPluginImpl LilvPlugin; /**< LV2 Plugin. */
typedef struct LilvPluginClassImpl LilvPluginClass; /**< Plugin Class. */
typedef struct LilvPortImpl LilvPort; /**< Port. */
typedef struct LilvScalePointImpl LilvScalePoint; /**< Scale Point. */
typedef struct LilvUIImpl LilvUI; /**< Plugin UI. */
@dromer
dromer / giphy.py
Created May 30, 2020 11:06
sopel giphy plugin
# -*- coding: utf8 -*-
"""
giphy.py - Willie giphy Module
"""
from sopel.module import commands, example
import requests
import urllib
import re
import random