Skip to content

Instantly share code, notes, and snippets.

@melbic
melbic / MTLManagedObjectAdapter.podspec
Created January 29, 2016 08:37
MTLManagedObjectAdapter Podspec 1.0.1
{
"name": "MTLManagedObjectAdapter",
"version": "1.0.1",
"license": "MIT",
"summary": "Model framework for Cocoa and Cocoa Touch.",
"homepage": "https://github.com/Mantle/Mantle",
"authors": {
"GitHub": "support@github.com"
},
"source": {
@melbic
melbic / MockResponse.py
Last active August 29, 2015 14:27 — forked from puffin/MockResponse.py
Mock urllib2.open for UnitTest
class MockResponse(object):
def __init__(self, resp_data, code=200, msg='OK'):
self.resp_data = resp_data
self.code = code
self.msg = msg
self.headers = {'content-type': 'text/plain; charset=utf-8'}
def read(self):
return self.resp_data
#!/bin/sh
~/Applications/UniversalIndentGUI/indenters/uncrustify -l OC -q -c ~/Applications/UniversalIndentGUI/config/uncrustify_obj_c.cfg
#!/bin/sh
~/Applications/UniversalIndentGUI/indenters/uncrustify -l OC -q -c ~/Applications/UniversalIndentGUI/config/uncrustify_obj_c.cfg