Skip to content

Instantly share code, notes, and snippets.


Matt Aimonetti mattetti

View GitHub Profile
mattetti / audioGenButton.cs
Created Oct 5, 2021
Unity script to generate and load an audio clip using Azure Cognitive Services
View audioGenButton.cs
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using Microsoft.CognitiveServices.Speech;
using Microsoft.CognitiveServices.Speech.Audio;
using System.IO;
using UnityEngine.Networking;
using System.Threading.Tasks;
View Quartz updates for 4.27.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
mattetti / h3.vcxproj
Created Mar 17, 2021
VS/Cmake target shipping with the MPC vst plugin
View h3.vcxproj
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug_Fast|x64">
<ProjectConfiguration Include="Debug|x64">
mattetti /
Last active Mar 17, 2022
bash script to run from WSL to setup Windows and Linux from the linux side. To run: `wget -O` and then `bash`
export WINHOME=$(wslpath "$(wslvar USERPROFILE)")
# github username is needed to pull down the dot files
export GITHUBUSERNAME="mattetti"
# wininstall does an install using winget and checks that it went well
function wininstall {
echo "Installing $1";
cmd.exe /C winget.exe install -e $1;
mattetti / main.go
Created Nov 1, 2019
tinygo arduino nano 33 + apa102
View main.go
// wiring: See
// MOSI / Data on port A3
// Clock on port A2
// power VUSB
// ground
package main
import (
mattetti /
Last active Dec 8, 2017
Splice Tech values - 2017

Splice tech values

Rational, Collaborative, Excellent


  • Explicit > implicit
  • Over communicating > under communicating
  • We look at problems as opportunities
  • We are consistent in communication
mattetti / main.go
Created Nov 26, 2016
example of using Go + Echo
View main.go
You need to have Go installed and make sure your $GOPATH is set.
Then, install echo by running:
go get -u
Finally run:
go run main.go
Where main.go is this file.
It will start the server on port 8080
You can now query your server using curl:

Dear SMMUSD parents and guardians,

We understand that the heated rhetoric used during the recent presidential election has left some of our students and families feeling anxious and afraid. We are aware that in our district, as in others, there is significant fear about how potential changes in immigration law and enforcement may affect some of our students and families. The Santa Monica-Malibu Unified School District remains steadfastly dedicated to maintaining positive school climates that promote student learning and development. School counselors are available at school for students who are feeling overwhelmed or fearful.

Our district is committed to the education and welfare of students from all backgrounds. We want to ensure that our families are aware of current practices and policies that are in place with respect to maintenance or protection of data related to immigration status and federal enforcement. We will be exploring, along with other school districts and governmental entities

View adc.txt
| |
| +----------------------+ +------------+ |
+---------------+ +--------------------+ | | | | | |
| | | +----->| 1 0 1 1 1 0 0 1 0 1 0+-->| Processing | |
| +-------->+ | | | | | | |
| Voice | | Analog to Digital | | | 0 1 1 0 0 1 0 1 1 0 1|<--+ | |
| | | |<-----+ | | | |
+---------------+ +-------+------------+ | +----------------------+ +------------+ |
| | |
View gist:11b01f99eb22caceddb46cb51e926255
// Place your snippets for Go here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [