Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 0f3ef9a9980b304cdecfac1a61e99c1e18b38116 @ttwj committed Jun 8, 2012
@@ -0,0 +1 @@
+*.pbxproj -crlf -diff -merge
@@ -0,0 +1,13 @@
+# xcode noise
+build/*
+*.pbxuser
+*.mode1v3
+*.xcuserdatad
+
+# old skool
+.svn
+
+# osx noise
+.DS_Store
+profile
+
BIN .o
Binary file not shown.
@@ -0,0 +1,10 @@
+#import <Foundation/Foundation.h>
+@interface ClutchConfiguration : NSObject {
+
+}
+
++ (BOOL) setValue:(id)value forKey:(NSString *)key;
++ (id) getValue:(NSString *)key;
++ (BOOL) configWithFile:(NSString *)filename;
+
+@end
@@ -0,0 +1,24 @@
+#import "Configuration.h"
+
+static NSMutableDictionary *configurationDictionary = nil;
+static NSString *configPath = nil;
+
+@implementation ClutchConfiguration
+
++ (id) getValue:(NSString *)key {
+ return [configurationDictionary objectForKey:key];
+}
+
++ (BOOL) setValue:(id)value forKey:(NSString *)key {
+ [configurationDictionary setValue:value forKey:key];
+ [configurationDictionary writeToFile:configPath atomically:YES];
+ return YES;
+}
+
++ (BOOL) configWithFile:(NSString *)filename {
+ configurationDictionary = [NSMutableDictionary dictionaryWithContentsOfFile:filename];
+ configPath = filename;
+ return TRUE;
+}
+
+@end
@@ -0,0 +1,18 @@
+//
+// bash.h
+// Clutch
+//
+// Created by Terence Tan on 7/6/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import <Foundation/Foundation.h>
+
+@interface bash : NSObject {
+ NSString* script;
+ NSDictionary* env;
+ NSTask* task;
+}
+- (void) run;
+@end
@@ -0,0 +1,16 @@
+//
+// bash.m
+// Clutch
+//
+// Created by Terence Tan on 7/6/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import "bash.h"
+@implementation bash
+
+- (void) run {
+
+}
+
+@end
@@ -0,0 +1,30 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>us.hackulo.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>keychain-access-groups</key>
+ <array>
+ <string>$(AppIdentifierPrefix)us.hackulo.Clutch</string>
+ </array>
+ <key>task_for_pid_allow</key>
+ <true/>
+ <key>run-unsigned-code</key>
+ <true/>
+ <key>application-identifier</key>
+ <string>us.hackulo.Clutch</string>
+ <key>New item</key>
+ <true/>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit 0f3ef9a

Please sign in to comment.