Skip to content

Instantly share code, notes, and snippets.

View lucaskuzma's full-sized avatar
😁

lucaskuzma

😁
View GitHub Profile
@lucaskuzma
lucaskuzma / uad_cleaner.py
Created May 26, 2024 11:33
do not pollute your DAW menu with a million UAD plugins you do not own
import os
import shutil
# Define the directory containing the files
directory = '/Library/Audio/Plug-Ins/Components'
# Define the list of substrings to match against
match_list = ["1176LN", "1176SE", "AKG BX 20", "Ampeg SVTVR Classic", "Ampex ATR-102", "AMS RMX16 Expanded", "AMS RMX16", "API Vision Channel Strip", "Bermuda Triangle", "Brigade Chorus", "bx_digital V2", "bx_digital V3 mix", "bx_digital V3", "bx_saturator V2", "Empirical Labs Distressor", "EMT 140", "EMT 250", "EP-34 Tape Echo", "Eventide H910 Harmonizer", "Fairchild", "FATSO", "Galaxy Tape Echo", "Helios Type 69 EQ", "Ibanez Tube Screamer TS808", "LA2A", "Marshall Plexi Classic", "Moog Multimode Filter", "Moog Multimode Filter XL", "Precision Enhancer Hz", "Precision Limiter", "Precision Mix Rack Collection", "Precision Multiband", "Pultec-Pro", "Pultec", "Raw", "RealVerb-Pro", "Softube Amp Room Half-Stack", "Softube Bass Amp Room 8x10", "SSL G Bus Compressor", "Thermionic Culture Vulture", "TS Overdrive", "UA 610-B Tube Preamp and EQ", "Valle
[program:app]
directory=/app/flask-app
command=/usr/local/bin/gunicorn -b 0.0.0.0:8000 app:candidates_app
autostart=true
autorestart=true
stderr_logfile=/tmp/app.err.log
stdout_logfile=/tmp/app.out.log
[supervisord]
logfile=/tmp/supervisord.log
June8 birthday
June19-23 in London; back in the afternoon on 23th
My trip to Barcelona is 5/26-5/29
friend will stay with me 5/29-6/2, so I might not visit you in weekdays next week. But probably 5/29 lunch if you’re free
https://www.cntraveller.com/gallery/sardinia-food-mediterranean
2hrs
**Address:** Da Renzo, Strada Statale 292 Nord Occidentale Sarda, 131, 09070 Siamaggiore OR
**Website:** [darenzo.it](https://www.darenzo.it/)
3hrs
**Address:** Josto, Via Sassari, 25, 09124 Cagliari CA; Framento, Corso Vittorio Emanuele II, 82, 09123 Cagliari CA
**Website:** [facebook.com/josto](https://www.facebook.com/josto) ; [facebook.com/framentopizza](https://www.facebook.com/framentopizza)
@lucaskuzma
lucaskuzma / jp_comp.csv
Created August 20, 2022 06:21 — forked from Rayraegah/jp_comp.csv
Japan Tech Job Salary Dataset
company city date grade_level role skill years_at_company years_of_experience total_compensation
SmartNews Tokyo 01/28/21 L3 Software Engineer Backend 0 3 10500000
Cookpad Tokyo 01/27/21 G4 Software Engineer Backend -1 10 14000000
Indeed Tokyo 01/27/21 TDM3 Engineering Manager Fullstack 2 10 18675000
FPT Software Japan Tokyo 01/27/21 SE3 Software Engineer Networking 2 6 5200000
Rakuten Tokyo 01/26/21 BB Software Engineer Backend -1 1 5200000
HENNGE Tokyo 01/26/21 Brown Software Engineer Web Frontend -1 3 5800000
ACSL, Ltd Tokyo 01/25/21 Associate - Software Engineer Software Engineer AI/ML 2 2 5600000
Indeed Tokyo 01/25/21 SWE 2 Software Engineer Backend -1 4 21000000
Cybozu, Inc. Tokyo 01/25/21 - Software Engineer Web Frontend 1 1 5600000
@lucaskuzma
lucaskuzma / script_tag.py
Created June 11, 2022 07:04
c4d slowly rotate an object using a python tag
from typing import Optional
import c4d
doc: c4d.documents.BaseDocument # The document evaluating this tag
op: c4d.BaseTag # The Python scripting tag
# flags: int # c4d.EXECUTIONFLAGS
# priority: int # c4d.EXECUTIONPRIORITY
# tp: Optional[c4d.modules.thinkingparticles.TP_MasterSystem] # Particle system
# thread: Optional[c4d.threading.BaseThread] # The thread executing this tag

iOS Local Storage

This local storage system provides a schemaless data store for use by an iOS application. It furthermore provides a URL access point, so that a Backbone (or similar) app running in a UIWebView (as when building apps using a cross-platform system like Cordova) can use the storage as though it was using any RESTful API.

Although Cordova did provide local storage at the time of development, this approach was much more transparent to the JS, and it allowed us to use the same JS code on a web server with a Ruby CMS which exposed the same API.

Unlike CoreData, this schemaless method let us do most of the object modeling on the server, so schema changes didn't have to propagate to the application layer.

NOTE: sample code only, not all dependencies are provided