What is this script?
This script is like a special listener for music notes from a MIDI device (like a keyboard or a synthesizer). It listens to the notes you play and tells you information about them in a fun way.
How does it work?
| using Newtonsoft.Json; | |
| //This grab the output from a nodejs and transform it into C# object | |
| namespace dnc_nodejs_001 | |
| { | |
| class Program |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var uglify = require('gulp-uglify'); | |
| var rename = require('gulp-rename'); | |
| var include = require('gulp-include'); | |
| var mustache = require('gulp-mustache'); | |
| var cleanCSS = require('gulp-clean-css'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var browserSync = require('browser-sync').create(); |
| - Open Automator | |
| - File -> New -> Service | |
| - Change "Service Receives" to "files or folders" in "Finder" | |
| - Add a "Run Shell Script" action | |
| - Change "Pass input" to "as arguments" | |
| - Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
| - Save it as something like "Open in Visual Studio Code" |