Skip to content

Instantly share code, notes, and snippets.


Owen Mundy omundy

View GitHub Profile
omundy /
Last active Mar 16, 2021
Examples of often used regular expressions
View CameraSETUP.cs
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.


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

View create_silhouettes_imagemagick
## Convert non-transparent pixels in a PNG image to a solid color "silhouette"
## Uses imagemagick
# install imagemagick
brew update && brew install imagemagick
# convert input.png to silhouette
convert input.png -fill "cyan" -colorize 100 output.png
omundy / kill_sophos
Last active Jan 30, 2020
View kill_sophos
# orginal
# make file and run sudo chmod +x kill_sophos
# delete all files
sudo rm -R /Library/Sophos*
sudo rm -R /Library/Application\ Support/Sophos*
sudo rm -R /Library/Preferences/com.sophos.*
sudo rm /Library/LaunchDaemons/com.sophos.*
omundy /
Last active Jun 1, 2020
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.*
View bootstrap-starter-template.html
<!doctype html>
<html lang="en">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
omundy / index.html
Created Oct 30, 2017
A Simple d3 Network Graph
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<script src=""></script>
.link {
stroke: #aaa;
omundy / convert_to_csv.php
Last active Oct 25, 2017
Convert a Google Takeout JSON file to CSV table format
View convert_to_csv.php
* Convert a Google Takeout JSON file to CSV table format
* @author Owen Mundy
* Note: Make sure PHP has enough memory allotted on your system to handle large strings
* Instructions:
* 1. Download PHP file and place next to your JSON file
* 2. Rename string pointing to your data file
* 3. On command line run $ php index.php