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
Machine({ | |
id: "challenge-state", | |
initial: "draft", | |
states: { | |
draft: { | |
on: { | |
CREATE: "created" | |
} | |
}, |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
call plug#begin("~/.vim/plugged") | |
" Themes | |
Plug 'dracula/vim' | |
Plug 'dikiaap/minimalist' | |
" fern | |
"Plug 'lambdalisue/nerdfont.vim' | |
"Plug 'lambdalisue/fern.vim' |
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
/** | |
* US area codes arranged by state | |
* source: NPA Database - https://www.nationalnanpa.com/reports/reports_npa.html | |
*/ | |
export const US_AREA_CODES = { | |
Alabama: ['205', '251', '256', '334', '659', '938'], | |
Alaska: ['907', 'Hyder', '236', '250', '778'], | |
Arizona: ['480', '520', '602', '623', '928'], | |
Arkansas: ['327', '479', '501', '870'], | |
California: [ |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch Server", | |
"type": "node", | |
"request": "launch", | |
"args": ["${workspaceRoot}/server/src/index.ts"], | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"], | |
"cwd": "${workspaceRoot}/server", |
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
function dl | |
set prev (pwd) | |
set songs "$HOME/Documents/Music/Songs" | |
cd $songs | |
youtube-dl -x --audio-format \"wav\" $argv | |
cd $prev | |
end | |
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
// example usage | |
import React from 'react'; | |
enum SelectVal { | |
ONE, | |
TWO, | |
THREE | |
} |
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
FROM continuumio/miniconda3 | |
RUN git clone https://github.com/facebookresearch/demucs.git /app | |
WORKDIR /app | |
RUN conda env update -f environment-cpu.yml | |
RUN conda init bash | |
RUN echo "conda activate demucs" > ~/.bashrc |
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
#!/usr/bin/env bash | |
sudo apt install fish | |
FISH_SH=$(which fish) | |
echo "$FISH_SH" | sudo tee -a /etc/shells | |
chsh -s "$FISH_SH" | |
# fisher | |
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish |
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
{ [Error: ./scripts/core/services/3dViewer.js | |
Module not found: Error: Can't resolve '@renoworks/measurements-view' in '/Users/awave/work/surfaces-config/dist/fasttrack/scripts/core/services' | |
resolve '@renoworks/measurements-view' in '/Users/awave/work/surfaces-config/dist/fasttrack/scripts/core/services' | |
Parsed request is a module | |
using description file: /Users/awave/work/surfaces-config/dist/fasttrack/package.json (relative path: ./scripts/core/services) | |
aliased with mapping '@renoworks/measurements-view': '/Users/awave/work/surfaces-config/dist/fasttrack/node_modules/@renoworks/measurements-view/lib/es5' to '/Users/awave/work/surfaces-config/dist/fasttrack/node_modules/@renoworks/measurements-view/lib/es5' | |
using description file: /Users/awave/work/surfaces-config/dist/fasttrack/package.json (relative path: ./scripts/core/services) | |
Field 'browser' doesn't contain a valid alias configuration | |
using description file: /Users/awave/work/surfaces-config/dist/fasttrack/node_modules/@r |
NewerOlder