This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################### | |
# Neil Burchfield | |
# Nov 6, 2013 | |
# Imports and Sorts Github issues into CSV File | |
################################################### | |
require 'octokit' | |
require 'csv' | |
require 'date' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/bin/appledoc \ | |
--project-name "${PROJECT_NAME}" \ | |
--project-company "HCRUB" \ | |
--company-id "com.hcrub" \ | |
--output "${PROJECT_DIR}/Documentation" \ | |
--install-docset \ | |
--logformat xcode \ | |
--keep-undocumented-objects \ | |
--keep-undocumented-members \ | |
--keep-intermediate-files \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (void)load | |
{ | |
Method original, swizzled; | |
original = class_getInstanceMethod(self, @selector(original_method)); | |
swizzled = class_getInstanceMethod(self, @selector(swizzled_method)); | |
method_exchangeImplementations(original, swizzled); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creating a class at runtime can be accomplished using the objc_allocateClassPair function in objc/runtime.h. | |
/** | |
* objc_allocateClassPair | |
* | |
* (Class superclass, const char *name, size_t extraBytes) | |
**/ | |
Class runtimeClass = objc_allocateClassPair([NSObject class], "ThisRuntimeClass", 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* objc_getClassList | |
* Obtains the list of registered class definitions. | |
* | |
* int objc_getClassList(Class *buffer, int bufferLen) | |
* | |
* Parameters: | |
* | |
* buffer | |
* An array of Class values. On output, each Class value points to one class definition, up to either bufferLen or the total number of registered classes, whichever is less. You can pass NULL to obtain the total number of registered class definitions without actually retrieving any class definitions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* class_respondsToSelector | |
* Returns a Boolean value that indicates whether instances of a class respond to a particular selector. | |
* Overall, class_respondsToSelector looks up the selector in the class's method table to see if it has an entry | |
* | |
* BOOL class_respondsToSelector(Class cls, SEL sel) | |
* | |
* Parameters | |
* cls | |
* The class you want to inspect. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* class_addIvar | |
* Adds a new instance variable to a class. | |
* | |
* BOOL class_addIvar(Class cls, const char *name, size_t size, uint8_t alignment, const char *types) | |
* | |
* Return Value | |
* YES if the instance variable was added successfully, otherwise NO. | |
**/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ########################################################## | |
# Author: Neil Burchfield | |
# Purpose: Localization Script | |
# Date: Nov 16, 2013 | |
# ########################################################## | |
# ########################################################## | |
# Vars |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ########################################################## | |
# Author: Neil Burchfield | |
# Purpose: Pack Textures Script | |
# Date: Nov 16, 2013 | |
# ########################################################## | |
TP="/usr/local/bin/TexturePacker" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --graph --pretty=format:'%Cred%h%Creset -%C(white)%d%Creset %s' | |
// Output Example: | |
* fe14be7 - (HEAD, origin/development_v1.4.0, development_v1.4.0) Updated/Cleaned/Formatted Filter Controller | |
* dd5ac6e - Updated/Cleaned/Formatted Camera Controller | |
* 5fe469f - refs #3, CC Crash on Appending nil NSString | |
* 73b7655 - refs #5, Updated Sign-out route -> /venues/VENUE_ID/checkins/SESSION_ID | |
etc... |
OlderNewer