Skip to content

Instantly share code, notes, and snippets.

View jyliang's full-sized avatar

Jason Liang jyliang

  • New York, NY
  • 23:28 (UTC -05:00)
View GitHub Profile
@danielbowden
danielbowden / get_provisioning_profile_specifier.rb
Last active December 12, 2016 06:13
Custom Fastlane action - Returns the provisioning profile specifier for the provided provisioning profile
module Fastlane
module Actions
module SharedValues
GET_PROVISIONING_PROFILE_SPECIFIER_CUSTOM_VALUE = :GET_PROVISIONING_PROFILE_SPECIFIER_CUSTOM_VALUE
end
class GetProvisioningProfileSpecifierAction < Action
def self.run(params)
profile_path = params[:profile]
UI.message "Provisioning profile: #{profile_path}"
//
// Signal+Extensions.swift
// Khan Academy
//
// Created by Nacho Soto on 10/1/15.
// Copyright © 2015 Khan Academy. All rights reserved.
//
import ReactiveCocoa
@dbachrach
dbachrach / ConditionalJsonModel.h
Created August 12, 2014 16:04
ConditionalJSONModel
#import <Foundation/Foundation.h>
#import <JSONModel/JSONModel.h>
@interface ConditionalJsonModel : JSONModel
- (NSDictionary*)classMapping;
- (NSString*)classNameProperty;