Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Dominyk Tiller DomT4

🏠
Working from home
View GitHub Profile
@DomT4
DomT4 / changes.txt
Created Apr 11, 2015
Cert Changes Between OS X 10.10.2 and OS X 10.10.3
View changes.txt
================================================================================================================
NEW IN 10.10.3
================================================================================================================
SHA-1 hash: 26:CA:FF:09:A7:AF:BA:E9:68:10:CF:FF:82:1A:94:32:6D:28:45:AA
ANF Global Root CA
-----BEGIN CERTIFICATE-----
MIIIGDCCBgCgAwIBAgIGAT8vMXfmMA0GCSqGSIb3DQEBCwUAMIIBCjELMAkGA1UE
BhMCRVMxEjAQBgNVBAgMCUJhcmNlbG9uYTFYMFYGA1UEBwxPQmFyY2Vsb25hIChz
ZWUgY3VycmVudCBhZGRyZXNzIGF0IGh0dHA6Ly93d3cuYW5mLmVzL2VzL2FkZHJl
View langoliers.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'twitter'
require 'json'
require 'faraday'
# things you must configure
PATH_TO_DROPBOX = "/Users/your_name/Dropbox/backup/tweets/" # you need to create this folder
TWITTER_USER = "your_twitter_username"
View pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@DomT4
DomT4 / email.txt
Last active Aug 29, 2015
Alpine-Chappa-Yosemite.
View email.txt
Sender: chappa@gmx.com
Dear Dominyk,
Thank you for your messages and your patch. I was not aware of this issue. The problem occurs because two teams of developers agree on a common name for a function that has two different uses. On the one hand, the developers of MACH use a function called "panic", and so did the alpine developers.
I imagine that the panic function for MACH was used to indicate problems with the micro kernel, while the panic function in Alpine was used to report bugs or stop the program altogether. The panic function is not a library function in Alpine, it is a function that a developer using its libraries must write (so Alpine and Web Alpine have their own versions of it) so in order to reduce confusion in the future, what I will do is to rename the panic function to "alpine_panic" so that no program will have the confusion as to what "panic" means in terms of library calls, should anyone ever need to link with a library that calls panic something else.
This is the solution that wi
@DomT4
DomT4 / kextexclusionlist.xml
Last active Aug 29, 2015
Kext Signing Exception List OS X 10.10
View kextexclusionlist.xml
This file has been truncated, but you can view the full file.
// Apple moved the file, again. It's now in /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>OSKextExcludeList</key>
<dict>
<key>at.obdev.nke.LittleSnitch</key>
@DomT4
DomT4 / gist:7e08b84dfb6022b96ed0
Last active Aug 29, 2015
OS X 10.10 Bootable USB
View gist:7e08b84dfb6022b96ed0

Twitter user Jaroneko published some instructions on how to create a bootable USB for OS X 10.10 the other day.

This is a revised edition tweaked by me to address a couple of the errors terminal was spewing out in response to Jaroneko's instructions, as well as improving the clarity of the process with exercising the verbose option.

If OS X 10.10 Developer Preview.app is in /Downloads:

  • defaults write com.apple.finder AppleShowAllFiles TRUE
  • killall Finder
  • sudo hdiutil attach ~/Downloads/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/SharedSupport/InstallESD.dmg
  • diskutil list (Find the /dev/disk corrosponding to your USB stick).
You can’t perform that action at this time.