Skip to content

Instantly share code, notes, and snippets.

View vsigno's full-sized avatar

vsigno vsigno

View GitHub Profile
@vsigno
vsigno / OSMtoGeoJson.md
Last active June 6, 2024 18:00
Converting OSM JSON data to GeoJson using NodeJS and osmtogeojson

Converting OSM JSON data to GeoJson using NodeJS and osmtogeojson

Requirements

Installation

Prepare the environment by following these steps:

  • Create a new folder
@vsigno
vsigno / Occlusion.shader
Created November 27, 2023 16:15
Occlusion Shader for Unity using the Standard Render Pipeline
Shader "Custom/Occlusion"
{
SubShader
{
Tags { "RenderType"="Opaque" }
Tags { "Queue" = "Geometry-1" }
ZWrite On
ZTest LEqual
ColorMask 0
@vsigno
vsigno / NearWaves.md
Last active September 13, 2024 18:18
Just a RPi playing audio using NFC Tags

NearWaves 🌀 🎶

just a RPi playing audio using NFC Tags

Requirements

  • Raspberry Pi (tested with Raspberry Pi 3B+)
  • SD Card
  • ACR122U NFC Reader
  • USB speakers
  • NFC Tag Type: NTAG (tested with NTAG213: 180 bytes / 130 characters)
@vsigno
vsigno / dotnet4pi.md
Last active July 19, 2022 13:46
This tutorial shows the steps needed to install .NET6 and to develop, build and deploy a .NET6 App on RaspberryPi.

Running .NET 6 App on RaspberryPi

This tutorial shows the steps needed to install .NET6 and to develop, build and deploy a .NET6 App on RaspberryPi.

Requirements

  • a RaspberryPi (only AMR32v7 versions are supported. E.g. Pi Zero W is not supported)
  • code editor (e.g. VSCode) on the dev machine, Windows or Mac

Preparing the Pi

@vsigno
vsigno / mqttController.cs
Created October 9, 2021 16:51
mqttController script used to deserialise a JSON object
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class mqttController : MonoBehaviour
{
public string nameController = "Controller 1";
public string tagOfTheMQTTReceiver = ""; //the Tag of the mqttReceiver
@vsigno
vsigno / iOSBuildPermissionFix.cs
Created October 2, 2021 15:21
C# Script to fix iOS permission when a Unity iOS Project is built on Windows. NB: Save the script in a new (if not existing) _Editor_ folder under _Assets_
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
#if UNITY_IOS || UNITY_IPHONE
using UnityEditor.iOS.Xcode;
#endif
using UnityEditor.Callbacks;
 
public static class iOSBuildPermissionFix