Skip to content

Instantly share code, notes, and snippets.

View i8degrees's full-sized avatar

Jeffrey Carpenter i8degrees

View GitHub Profile
Process: ttcards [77673]
Path: /Users/USER/*/ttcards.app/Contents/MacOS/ttcards
Identifier: org.i8degrees.ttcards
Version: 0.10.0 (2.8.12.1)
Code Type: X86-64 (Native)
Parent Process: bash [77452]
Responsible: Terminal [77448]
User ID: 501
Date/Time: 2013-12-15 21:54:12.074 -0600
@i8degrees
i8degrees / exif_tags.sh
Created July 18, 2014 05:27
incomplete exif tagging tool
#!/bin/sh
#
# 2011-12/21:jeffrey.carp@gmail.com
#
# ~/bin/exif_tags.sh
#
# Copyright 2011 Jeffrey Carpenter. All rights reserved.
#
# Released under the BSD license
#
@i8degrees
i8degrees / ios-build.sh
Created September 21, 2014 17:21
SDL2 & Friends Build for iOS 7.1
#### SDL2 & Friends Build for iOS 7.1+
* Note that -scheme puts files in ~/Library/Developer/Xcode/DerivedData
* Note that you should set $BUILD_DIR to wherever you want the destination
libraries to end up.
```
cd ~/Projects/third-party/SDL2.hg/Xcode-iOS/SDL
@i8degrees
i8degrees / diag_main-after.txt
Last active August 29, 2015 14:10
SDL_image: proposed colorspace fix for ImageIO backend (OS X, iOS)
bitmap(0, 0) = ff6e90be
png(0, 0) = ff6e90be
sdlbmp(0, 0) = 6e90be
bitmap(31, 0) = ff6e90be
png(31, 0) = ff6e90be
sdlbmp(31, 0) = 6e90be
NOTE: ff6e90be = R(110) G(144) B(190)
this->player.run_action(scroll_right, [=]() {
this->expected_queue_size(0);
EXPECT_EQ( Point2i(200,195), anim_text->position() );
this->expected_alpha_in_params( anim_fade_in.get(),
Color4i::ALPHA_OPAQUE, anim_fade_tex );
this->expected_action_params( scroll_right.get(),
IAnimationAction::AnimationType::GROUP, 2);
@i8degrees
i8degrees / amps.rb
Created March 4, 2015 03:42
the effects of sleep deprivation on the logical mind
#!/usr/bin/env ruby
class NomNom
def initialize(io)
# ...I'm not writing this class over again, hoe!
end
end
class SuperYumNom < NomNom
@i8degrees
i8degrees / .travis.yml
Created March 29, 2015 06:36
travis-ci example
os:
- osx
# language: cpp
language: objective-c
compiler:
- clang
# - gcc
@i8degrees
i8degrees / tuxpaint.txt
Last active August 29, 2015 14:17
tuxpaint-0.2.2 build
# tuxpaint
```console
# Mid 2011 MacBook Air, Mac OS X v10.10.1 "Yosemite"
Required SDKs
Mac OS X 10.4 SDK (Universal)
Mac OS X 10.6 SDK
homebrew packages (deps)
#!/bin/sh -x ## or just ` curl -Ls http://git.io/vRozn | sh `.
## Downloads the Mac OS X 10.10 Recovery Partition update,
## Copy's over the 10.10 version of Disk Utility.app, then
## use git to apply a binary patch so it will run on 10.11+.
cd /tmp
rm -rf DU1010
mkdir DU1010
@i8degrees
i8degrees / config_remove-usb-cap.plist
Created March 11, 2016 03:26
AppleUSBXHCIPCI kext patch for removing the USB 3 Cap of 15 ports
<!-- SOURCE: http://www.insanelymac.com/forum/topic/308325-guide-1011-full-speed-usb-series-89-keeping-vanilla-sle/page-23#entry2210241 -->
<dict>
<key>Comment</key>
<string>Remove USB limit</string>
<key>Find</key>
<data>
g72M/v//EA==
</data>
<key>Name</key>
<string>AppleUSBXHCIPCI</string>