Skip to content

Instantly share code, notes, and snippets.

View omundy's full-sized avatar

Owen Mundy omundy

View GitHub Profile
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.

#!/bin/bash
## 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
omundy / kill_sophos
Last active January 30, 2020 00:27
KILL_SOPHOS
#!/bin/bash
# orginal https://gist.github.com/lukebussey/70fe3b245c7b55fa41300670d2698e54
# 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
omundy / README.md
Last active March 26, 2026 13:47
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.*
<!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 / index.html
Created October 30, 2017 13:11
A Simple d3 Network Graph
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v2.min.js?2.9.3"></script>
<style>
.link {
stroke: #aaa;
}
@omundy
omundy / convert_to_csv.php
Last active October 25, 2017 13:04
Convert a Google Takeout JSON file to CSV table format
<?php
/**
* Convert a Google Takeout JSON file to CSV table format
* @author Owen Mundy owenmundy.com
* 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
@omundy
omundy / NLTK POS Tagging.ipynb
Created December 10, 2016 14:34
NLTK POS Smell Tagging Examples
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.