sudo spctl --master-disable- set
open from anywherefromSecurity & Privacysection ofSystem Prefs
sudo spctl --master-enable
from https://www.imore.com/how-open-apps-anywhere-macos-catalina-and-mojave
| unbind C-b | |
| set -g prefix C-a | |
| set-window-option -g mode-keys vi | |
| bind r source-file ~/.tmux.conf | |
| set -g mouse on | |
| set -g default-terminal "screen-256color" | |
| set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m' |
| if &compatible | |
| set nocompatible " Be iMproved | |
| endif | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'jiangmiao/auto-pairs' | |
| Plug 'jlanzarotta/bufexplorer' | |
| Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
| Plug 'junegunn/fzf.vim' | |
| Plug 'tomtom/tcomment_vim' |
sudo spctl --master-disable open from anywhere from Security & Privacy section of System Prefssudo spctl --master-enablefrom https://www.imore.com/how-open-apps-anywhere-macos-catalina-and-mojave
| const svgson = require('svgson'); | |
| const fs = require('fs'); | |
| const svg = fs.readFileSync('./coordinates.svg').toString(); | |
| const ms = [] | |
| const ls = [] | |
| const json = {} | |
| svgson.parse(svg).then(data => { |
| int r; | |
| PVector l, v, c; | |
| float vScale = 3; | |
| void setup() { | |
| size(500, 500); | |
| r = 100; | |
| l = new PVector(random(-r, r), random(-r, r)); | |
| v = new PVector(random(-1, 1), random(-1, 1)); | |
| c = new PVector(0, 0); |
| 40 => int numGrains; | |
| SndBuf grain[numGrains]; | |
| ADSR grainEnv[numGrains]; | |
| Gain granular => dac; | |
| 50000 => int startPos; | |
| 0.1 => float readRate; | |
| 1000 => int grainLengthMS; | |
| grainLengthMS::ms => dur grainLength; |