This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
neural_dsp_petrucci editorSize routing tempo ���b@presetNameProp chugster -12 presetPathProp L/Library/Audio/Presets/Neural DSP/Archetype Petrucci/User/chugster -12.xml presetUIDProp �����b�presetVersionProp 1.0.0 PARAM id ampType value @ PARAM id ampsActive value �? PARAM id cab1Active value �? PARAM id cab1Distance value PARAM id cab1Level value &� PARAM id cab1MicIR value @ PARAM id cab1Pan value PARAM id cab1Phase value PARAM id cab1Position value PARAM id cab2Active value �? PARAM id cab2Distance value `b�? PARAM id cab2Level value ���&� PARAM id cab2MicIR value @ PARAM id cab2Pan value �z�? PARAM id cab2Phase value PARAM id cab2Position value �A`�? PARAM id cabSectionActive value �? PARAM id chorus2Active value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const isOdd = (num) => Boolean(num & 0x01); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl -SLsf https://go.d1m.dev/installjest | sh | |
curl -SLsf https://go.d1m.dev/installprettier | sh | |
curl -SLsf https://go.d1m.dev/installts | sh | |
curl -SLsf https://go.d1m.dev/installtsnodemon | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on " enable syntax highlighting | |
set cursorline " highlight the current line | |
set ruler " show line number in bar | |
set nobackup " don't create pointless backup files; Use VCS instead | |
set autoread " watch for file changes | |
set number " show line numbers | |
set showcmd " show selection metadata | |
set showmode " show INSERT, VISUAL, etc. mode | |
set autoindent smartindent " auto/smart indent | |
set smarttab " better backspace and tab functionality |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add -D nodemon ts-node | |
npx add-project-script -n "dev" -v "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' src/index.ts" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add -D jest @types/jest | |
npx add-project-script -n "test" -v "jest" | |
npx add-project-script -n "test:watch" -v "jest --watch" | |
npx add-project-script -n "test:coverage" -v "jest --coverage" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the following command to run this code in your computer: | |
# curl -SLsf https://go.d1m.dev/installts | sh | |
yarn add -D typescript @types/node | |
yarn add tslib | |
cat > ./tsconfig.json <<EOL | |
{ | |
"compilerOptions": { | |
"pretty": true, | |
"strict": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-ignore | |
import {base, dark} from '@theme-ui/presets'; | |
export const theme = { | |
...base, | |
initialColorModeName: 'light', | |
useColorSchemeMediaQuery: true, | |
fontSizes: [ | |
'0.75em', | |
'0.875em', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# open terminal | |
cmd - return : open -n -a "Terminal" | |
# open chrome | |
cmd + shift - return : open -n -a "Google Chrome" | |
# moves focus between windows in the current focused display | |
alt - h : yabai -m window --focus west | |
alt - j : yabai -m window --focus south | |
alt - k : yabai -m window --focus north |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- You can use either 'error', 'failure' or 'success' as a status on each of these. | |
UPDATE stages SET stage_status = 'success' WHERE stage_id = $stage_id; | |
UPDATE builds SET build_status = 'success' WHERE build_id = $build_id; | |
UPDATE steps SET step_status = 'success' WHERE step_id = $step_id; | |
-- This timestamp must be bigger than the step_started field of the steps table. | |
UPDATE steps SET step_stopped = 1583330000 WHERE step_id = $step_id; |
NewerOlder