Skip to content

Instantly share code, notes, and snippets.

@siuying
siuying / RxDataSources.podspec
Created August 8, 2017 09:52
RxDataSources
Pod::Spec.new do |s|
s.name = "RxDataSources"
s.version = "1.0.4"
s.summary = "This is a collection of reactive data sources for UITableView and UICollectionView."
s.description = <<-DESC
This is a collection of reactive data sources for UITableView and UICollectionView.
It enables creation of animated data sources for table an collection views in just a couple of lines of code.
```swift
@siuying
siuying / RxGesture.podspec
Last active August 8, 2017 09:52
RxGesture for RxSwift 4
#
# Be sure to run `pod lib lint RxGesture.podspec' to ensure this is a
# valid spec before submitting.
#
Pod::Spec.new do |s|
s.name = "RxGesture"
s.version = "1.0.1"
s.summary = "RxSwfit reactive wrapper for view gestures."
@siuying
siuying / JXcore.podspec
Last active February 18, 2016 16:03
JXcore podspec
Pod::Spec.new do |spec|
spec.name = 'JXcore'
spec.version = '0.3.11'
spec.license = { :type => 'JXCORE', :file => 'JXCORE_LICENSE' }
spec.homepage = 'https://github.com/jxcore/jxcore'
spec.authors = { 'JXcore Contributors' => 'https://github.com/jxcore/jxcore/graphs/contributors' }
spec.summary = 'ARC Evented IO for Chakra, SpiderMonkey & V8 JavaScript.'
spec.source = { :http => 'https://jxcore.s3.amazonaws.com/0311/jx_iosFATsm.zip' }
spec.public_header_files = '*.h'
spec.vendored_libraries = [
video/mp4; codecs="avc1.64001F, mp4a.40.2"
video/webm; codecs="vp8.0, vorbis"
video/mp4; codecs="avc1.42001E, mp4a.40.2"
video/x-flv
video/3gpp; codecs="mp4v.20.3, mp4a.40.2"
@siuying
siuying / gist:80c41dd1b823b523ebb0
Last active September 7, 2015 14:21
binwalk mtv3300_3800_8000_8_20.upg
binwalk mtv3300_3800_8000_8_20.upg
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
246 0xF6 ZBOOT firmware header, header size: 32 bytes, load address: 0x84000000, start address: 0x84007E90, checksum: 0xC4F4D72A, version: 0x02050000, image size: 12390376 bytes
2142 0x85E gzip compressed data, maximum compression, from Unix, NULL date (1970-01-01 00:00:00)
12453990 0xBE0866 Squashfs filesystem, little endian, version 4.0, compression:gzip, size: 24474985 bytes, 378 inodes, blocksize: 131072 bytes, created: 2014-09-19 02:59:17
37120349 0x236695D Zlib compressed data, best compression
37120765 0x2366AFD Zlib compressed data, best compression
37128294 0x2368866 Squashfs filesystem, little endian, version 4.0, compression:gzip, size: 12323088 bytes, 574 inodes, blocksize: 131072 bytes, created: 2014-04-04 04:12:37
{
"name": "Parse",
"version": "1.7.5",
"license": {
"type": "Commercial",
"text": "See https://www.parse.com/about/terms"
},
"homepage": "https://www.parse.com/",
"summary": "Parse is a complete technology stack to power your app's backend.",
"authors": "Parse",
{
"contributors" : null,
"source" : "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"in_reply_to_status_id" : null,
"retweet_count" : 1,
"place" : null,
"entities" : {
"user_mentions" : [],
"symbols" : [],
"urls" : [],
#import "NSString+UnicodeLength.h"
@implementation NSString (UnicodeLength)
/**
* @param range a unicode codepoint range, as described in twitter
* @return rante a NSRange for the string
* @see https://dev.twitter.com/overview/api/counting-characters
*/
- (NSRange)composedRangeWithRange:(NSRange)range {
Pod::Spec.new do |s|
s.name = 'UniversalDetector'
s.version = '1.3.2'
s.license = { :type => 'Mozilla Public License', :file => 'LICENSE' }
s.summary = 'Wrapper of uchardet for Objective-C.'
s.description = 'UniversalDetector takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text.'
s.homepage = 'https://github.com/siuying/UniversalDetector'
s.author = { 'Francis Chong' => 'francis@ignition.hk' }
s.source = { :git => 'https://github.com/siuying/UniversalDetector.git', :tag => s.version.to_s }
@siuying
siuying / VLCKit.podspec
Created October 31, 2014 05:29
VLCKit Podspec
Pod::Spec.new do |s|
s.name = 'VLCKit'
s.version = '2.1.0'
s.summary = "VLCKit is an Objective-C wrapper for libvlc's external interface, on Mac OS X and iOS."
s.homepage = 'https://wiki.videolan.org/VLCKit/'
s.license = {
:type => 'LGPLv2.1',
:file => 'COPYING'
}
s.author = 'Felix Paul Kühne'