Skip to content

Instantly share code, notes, and snippets.

View mattetti's full-sized avatar

Matt Aimonetti mattetti

View GitHub Profile
@echo off
rem Check if the UE_ENGINE_PATH environment variable is set
if not defined UE_ENGINE_PATH (
echo Error: UE_ENGINE_PATH environment variable is not set.
echo Please set the UE_ENGINE_PATH variable to the Unreal Engine installation path.
echo Example: setx UE_ENGINE_PATH "E:\Epic Games\UnrealEngine\Engine"
pause
exit /b 1
@mattetti
mattetti / RadioNova.xspf
Created January 31, 2023 00:31
nova.fr (high res) VLC playlist with user agent bypass
<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1">
<title>Playlist</title>
<trackList>
<track>
<location>https://radionova.ice.infomaniak.ch/radionova-256.aac</location>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
<vlc:option>http-user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36'</vlc:option>
</extension>
@mattetti
mattetti / audioGenButton.cs
Created October 5, 2021 18:24
Unity script to generate and load an audio clip using Azure Cognitive Services
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;
@mattetti
mattetti / Quartz updates for 4.27.pdf
Last active June 3, 2021 04:45
UE5 metasounds stuff
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mattetti
mattetti / h3.vcxproj
Created March 17, 2021 05:17
VS/Cmake target shipping with the MPC vst plugin
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug_Fast|x64">
<Configuration>Debug_Fast</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
@mattetti
mattetti / newWindowsMachine.sh
Last active October 26, 2023 15:09
bash script to run from WSL to setup Windows and Linux from the linux side. To run: `wget https://gist.githubusercontent.com/mattetti/9807e2a1e654a7c00bb9c13f340fc39f/raw/ -O newMachineSetup.sh` and then `bash newMachineSetup.sh`
#!/bin/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
mattetti / main.go
Created November 1, 2019 06:19
tinygo arduino nano 33 + apa102
// wiring: See https://github.com/tinygo-org/tinygo/blob/master/src/machine/board_arduino_nano33.go#L120
// MOSI / Data on port A3
// Clock on port A2
// power VUSB
// ground
package main
import (
"machine"
@mattetti
mattetti / splice-tech-values.md
Last active December 8, 2017 02:34
Splice Tech values - 2017

Splice tech values

Rational, Collaborative, Excellent

Communication

  • Explicit > implicit
  • Over communicating > under communicating
  • We look at problems as opportunities
  • We are consistent in communication
@mattetti
mattetti / main.go
Created November 26, 2016 16:56
example of using Go + Echo
/*
You need to have Go installed and make sure your $GOPATH is set.
Then, install echo by running:
go get -u github.com/labstack/echo
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