Skip to content

Instantly share code, notes, and snippets.

View transforminteractive's full-sized avatar

Shane McConnell transforminteractive

View GitHub Profile
[
{
"id" : "73F3F654-9EC5-4876-8BF6-474E22029A49",
"assets" : [
{
"url" : "http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/comp_GL_G004_C010_v03_6Mbps.mov",
"accessibilityLabel" : "Greenland",
"type" : "video",
"id" : "D388F00A-5A32-4431-A95C-38BF7FF7268D",
"timeOfDay" : "day"
@transforminteractive
transforminteractive / fixkexts.sh
Last active December 4, 2021 23:49
fixkexts.sh
# mount the drive as read/write
mount -rw /
# create a directory for "disabled" extensions
mkdir /Volumes/Macintosh\ HD/Library/ExtensionsDisabled
# view files that exist in your Extensions folder but not the recovery partition
kexts=`comm -23 <(ls /Volumes/Macintosh\ HD/Library/Extensions|sort) <(ls /Library/Extensions|sort)`
echo $kexts
@transforminteractive
transforminteractive / osx_yosemite_disable_features.sh
Created April 17, 2017 21:50 — forked from guycalledseven/osx_yosemite_disable_features.sh
Disabling OSX Yosemite annoyances / features I have no use of
# Tested on OSX Yosemite 10.10.4
# there is also an updated version (work in progress) for El Capitan here https://gist.github.com/guycalledseven/31ffe35eca056838b06b
# XXX TODO
# should I disable com.google.Keystone.Agent ??
# http://applehelpwriter.com/2014/07/13/how-to-remove-googles-secret-update-software-from-your-mac/
# Stop DS_Store file creation on network connections
# restart Finder afterwards
@transforminteractive
transforminteractive / README.md
Created April 9, 2017 08:48
git server for WD EX2

Step 1: Create a folder for all your repositories

Ssh to your My Cloud instance (in my case called cloudy). The password is something you need to set in the web console.

ssh sshd@cloudy cd /usr/share mkdir git

Step 2: Create a git user

@transforminteractive
transforminteractive / .osx
Created February 28, 2017 01:20
OS X Useful commands
#!/usr/bin/env bash
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.macos` has finished