Skip to content

Instantly share code, notes, and snippets.

View CarloCattano's full-sized avatar

Carlo CarloCattano

View GitHub Profile
@CarloCattano
CarloCattano / AR CORE UNITY WORK
Last active December 11, 2019 17:22
Ar core snippets to learn from
//// DETECT PLANE ROUTINE DetectedPlaneGenerator.cs
private List<DetectedPlane> m_NewPlanes = new List<DetectedPlane>();
//// Check that motion tracking is tracking.
if (Session.Status != SessionStatus.Tracking)
{
return;
}

INSTALL basics

sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt install -y nodejs npm  puredata  python3-pip python-pip python3 python  -y

INTERNET HOTSPOT FROM THE PI ;-) good for osc control , servers etc when you dont need internet

wget -q https://git.io/voEUQ -O /tmp/raspap && bash /tmp/raspap
// Imported from within Home.vue app
import Tone from "tone";
import StartAudioContext from "startaudiocontext";
export default {
name: "home",
created() {
//need to start audio context this way due to new browser restrictions
StartAudioContext(Tone.context, "#button").then(function() {
/// Terminal shortcuts
alias restart='sudo shutdown -r 1'
alias ciao='sudo shutdown -P 1'
alias delf='sudo rm -r'
alias desk='cd /home/x/Desktop'
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>yourTitleHere</title>
<meta name="emperaments" content="The HTML5 Herald">
</head>
<body>
</body>
</html>