Skip to content

Instantly share code, notes, and snippets.

View rojotek's full-sized avatar

Rob Dawson rojotek

  • ConsenSys
  • Australia
View GitHub Profile
@rojotek
rojotek / ruby.2.1.0-setup.sh
Last active August 29, 2015 13:56 — forked from mustafaturan/ruby.2.0.0-setup.sh
fork of ruby 2.0.0 setup to make it work with with ruby 2.1 ruby-gems 2.2.2 on centos 6.4
#!/usr/bin/env bash
# repository
cd /tmp
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
# system update
yum -y update
yum -y groupinstall "Development Tools"
yum -y install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel libyaml-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick
@rojotek
rojotek / DataManager.h
Created April 11, 2012 20:59 — forked from NachoMan/DataManager.h
Core Data singleton manager class capable of being run from a static library - updated for ARC.
// DataManager.h
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
extern NSString * const DataManagerDidSaveNotification;
extern NSString * const DataManagerDidSaveFailedNotification;
@interface DataManager : NSObject {
}