Skip to content

Instantly share code, notes, and snippets.

View FullStackIndie's full-sized avatar

John Murphy FullStackIndie

View GitHub Profile
@FullStackIndie
FullStackIndie / ip-check.sh
Last active February 21, 2023 23:58
Updated Ip-Check - Custom Dynamic DNS for AWS Route 53
#!/bin/bash
#Variable Declaration - Change These
HOSTED_ZONE_ID="Z0244******"
#test/dummy subdomain to see if my IP has changed
NAME="dynamic-dns.*********.net."
#My websites that need there IP address updated
CRITTER="development.*********.net."
IDENTITY="development.*********.net."
GATEWAY="development.*********.net."
@FullStackIndie
FullStackIndie / Login.cs
Created November 22, 2022 06:49
VivoxVoiceManager
using Unity.Services.Authentication;
using UnityEngine;
public class VivoxManager : MonoBehaviour
{
private VivoxVoiceManager _vivoxManager;
private void Awake()
{
@FullStackIndie
FullStackIndie / VivoxSetup.cs
Last active November 11, 2022 22:08
How to use Vivox from Scratch
using UnityEngine;
using VivoxUnity;
public class VivoxSetup : MonoBehaviour
{
public static VivoxUnity.Client Client { get; private set; }
private void Awake()
{
Client = new VivoxUnity.Client();
@FullStackIndie
FullStackIndie / VivoxSetup.cs
Last active May 1, 2024 18:52
How to Use Vivox Voice and Text Chat with Unity Services
using Unity.Services.Authentication;
using Unity.Services.Core;
using Unity.Services.Vivox;
using UnityEngine;
using VivoxUnity;
public class VivoxSetup : MonoBehaviour
{
private async void Awake()
@FullStackIndie
FullStackIndie / docker-compose.yml
Created February 22, 2022 06:02
Open Telemetry and Nginx Error
version: "3.9"
services:
opentelemetry:
depends_on:
- jaeger
container_name: otel
image: otel/opentelemetry-collector:latest
command: ["--config=/etc/otel-collector-config.yml"]
volumes:
@FullStackIndie
FullStackIndie / addButton.js
Last active November 8, 2022 08:05
Summernote Initialization
var btnExample = function (context) {
var ui = $.summernote.ui;
// create button
var button = ui.button({
contents: '<i class="fa fa-child"/> Hello',
tooltip: 'hello',
click: function () {
// invoke insertText method with 'hello' on editor module.
context.invoke('editor.insertText', 'hello');