Skip to content

Instantly share code, notes, and snippets.

kevinelliott /
Last active Apr 10, 2022
Mac OS X 10.11 El Capitan Setup

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist Note that I expect this to change significantly as I install El Capitan several times.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

cybertk / NSData+HexString.swift
Created Aug 13, 2015
Print NSData into Hex format
View NSData+HexString.swift
// NSData+HexString.swift
// Cybertk
// Created by Quanlong He on 8/14/15.
// Copyright © 2015 Quanlong He. All rights reserved.
import Foundation
cybertk / git-copy
Last active Aug 29, 2015
Copy a remote git repo to another remote destination
View git-copy
# Copy a remote git repo to another remote destination
# Copyright (C) 2015 Quanlong <>
set -e
# Options validation
masonforest / Dockerfile
Last active Mar 18, 2020
Test Drive Your Dockerfiles with RSpec and ServerSpec
View Dockerfile
FROM ubuntu:14.04
MAINTAINER Mason Fischer <>
RUN apt-get update && apt-get install -y nodejs
ttscoff / Automator Workflow.sublime-build
Last active Oct 22, 2018
A script to take input on STDIN and update a specified Automator (OS X) workflow action with it
View Automator Workflow.sublime-build
"shell_cmd": ["cat", "$file", "|", "/usr/bin/ruby", "/Users/ttscoff/scripts/update_workflow.rb"]
frdmn /
Last active Feb 22, 2022
Install OS X 10.10 Yosemite in VirtualBox
cybertk /
Created Sep 11, 2014
Create mocha test/suite at runtime
Mocha = require 'mocha'
Test = Mocha.Test
Suite = Mocha.Suite
mocha = new Mocha
suite = Suite.create mocha.suite, 'I am a dynamic suite'
suite.addTest new Test 'I am a dynamic test', ->
true.should.equal true
cybertk /
Last active Aug 29, 2015
Render github issue with link
bzerangue /
Last active Aug 10, 2022
Binding and Unbinding to Active Directory from Mac OS via Command Line

Binding and Unbinding to Active Directory from Mac OS via Command Line

  • Open the Terminal Application
  • Type in sudo -i and type in your Mac Administrator account password. sudo gives you root level or administrator level privileges.

To View current Active Directory Settings

dsconfigad -show

To Unbind a Computer from an Active Directory Domain

kavu / example.go
Created Sep 28, 2013
Minimal Golang + Cocoa application using CGO. Build with `CC=clang go build`
View example.go
package main
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -framework Cocoa
#import <Cocoa/Cocoa.h>
StartApp(void) {
[NSAutoreleasePool new];