Skip to content

Instantly share code, notes, and snippets.

View sasikiran's full-sized avatar

Sasi Kiran Malladi sasikiran

View GitHub Profile
@sasikiran
sasikiran / gist:666099a5e116bee99800
Last active August 29, 2015 14:06
UIDevice + Processes
@import UIKit;
@interface UIDevice (Processes)
- (NSArray *)runningProcesses;
@end
#import "UIDevice+Processes.h"
#import <sys/sysctl.h>
@sasikiran
sasikiran / gist:5546035
Last active May 22, 2016 17:09
build-automate.rb
#
# Project name
# Automatic build configuration
# Written by Sasi kiran
# May 8, 2013
#
# Setup variables
xctool_path = "/Users/sasikiran/Documents/Samples/xctool/xctool/xctool.sh"
project_path = "Project.xcodeproj"

Ruby setup:

  1. Install RVM.
  2. vim ~/.bash_profile
  3. Add this: source "$HOME/.rvm/scripts/rvm"
  4. Save. Quit all terminal sessions.
  5. Verify ruby -v or which ruby.