Skip to content

Instantly share code, notes, and snippets.

View omundy's full-sized avatar

Owen Mundy omundy

View GitHub Profile
@omundy
omundy / status-codes.js
Last active September 3, 2024 16:40
List of HTTP Status Codes and Messages
// PHP change to: $statusMessage = array( '200' => 'OK', '201' => 'Created' ... );
// JS
const statusMessages = {
'200': 'OK',
'201': 'Created',
'202': 'Accepted',
'203': 'Non-Authoritative Information',
'204': 'No Content',
'205': 'Reset Content',
'206': 'Partial Content',
@omundy
omundy / TwineExamples.html
Created September 2, 2024 16:59
Using Twine with SugarCube and vanilla JS (DIG 404)
<!DOCTYPE html>
<html data-init="no-js">
<head>
<meta charset="UTF-8" />
<title>Twine Examples</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="application-name" content="SugarCube" />
<meta name="version" content="2.37.3" />
<!--
@omundy
omundy / README.md
Last active June 14, 2023 21:03
Remove Sophos from a Mac with tamper protection

Sophos Anti Virus hogging your processor? Can't remove it because of tamper protection?


# change into preferences
cd /Library/Preferences

# confirm locations of sophos files
ls com.sophos.*
@omundy
omundy / volunteer.html
Created November 22, 2021 19:17
volunteer.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/styles.css">
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
@omundy
omundy / regex-examples.md
Last active March 16, 2021 20:04
Examples of often used regular expressions
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CameraSETUP: MonoBehaviour {
private Camera m_Camera;
private CanvasGroup myCanvas;
private GameObject myTexty;
public GameObject CamParent;
private GameObject myDot;

Bluetooth Tools

A collection of tools for using Bluetooth on Mac.

system_profiler

This command gives you all the details about Bluetooth, including devices paired, with their names, MAC address.