I hereby claim:
- I am xeresrazor on github.
- I am xeresrazor (https://keybase.io/xeresrazor) on keybase.
- I have a public key ASBKknB3UphdpAtCWk71P92IV9HXE06U1KTHsxnXM8l-XQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // | |
| // NSData+ValueReading.h | |
| // | |
| // Created by David Green on 6/16/14. | |
| // Copyright (c) 2014 David Green. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| @interface NSData (ValueReading) |
| #include "DWCArray.h" | |
| GenerateArray(int, IntArray) | |
| typedef struct { | |
| int intA; | |
| float floatB; | |
| } MyStruct; | |
| GenerateArray(MyStruct, MyArray) |
| // | |
| // MutableVector.h | |
| // smashbots | |
| // | |
| // Created by David Green on 12/8/12. | |
| // Copyright (c) 2012 Digital Worlds Entertainment. All rights reserved. | |
| // | |
| #include <stdint.h> | |
| #include <stdlib.h> |
| NSAttributedString *attributedString = [[NSAttributedString alloc] initWithString:@"Hello World" attributes:@{NSFontAttributeName: [UIFont systemFontOfSize:16.0], NSForegroundColorAttributeName: [UIColor blackColor]}]; |
| CGImageRef cgImage; | |
| CIContext *context = [CIContext contextWithOptions:@{kCIContextUseSoftwareRenderer: @YES}]; | |
| CIImage *ciImage = [CIImage imageWithCGImage:cgImage]; | |
| CIFilter *hueAdjustFilter = [CIFilter filterWithName:@"CIHueAdjust" keysAndValues:@"inputAngle", @(3.0 * M_PI), @"inputImage", ciImage, nil]; | |
| CIFilter *colorControlsFilter = [CIFilter filterWithName:@"CIColorControls" keysAndValues:@"inputSaturation", @(1.3), @"inputBrightness", @(0.3), @"inputImage", hueAdjustFilter.outputImage, nil]; | |
| ciImage = colorControlsFilter.outputImage; | |
| [context createCGImage:ciImage fromRect:ciImage.extent]; |
| // | |
| // MutableVector.h | |
| // | |
| // Created by David Green on 12/8/12. | |
| // Copyright (c) 2012 Digital Worlds Entertainment. All rights reserved. | |
| // | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <assert.h> |
| #import <Foundation/Foundation.h> | |
| @interface Utils : NSObject { | |
| } | |
| +(void)fileLogMessage:(NSString *)message; | |
| @end | |
| @implementation Utils | |
| static FILE *logFile = NULL; |
| // | |
| // DGMutableArray.c | |
| // ArrayTest | |
| // | |
| // Created by David Green on 3/9/12. | |
| // Copyright (c) 2012 David Green. All rights reserved. | |
| // | |
| // Object model inspired an article by Mike Ash. | |
| // |