Skip to content

Instantly share code, notes, and snippets.

@rchen
rchen / gist:f66d363b9a1276f0b3b7905cd73715b7
Last active October 25, 2018 05:12
this reference self
search(q){
const option: IContactFindOptions={
filter: q
}
this.contacts = this.contacts.find(["displayName"],option)
// this.contacts.find(["displayName"],option).then(conts => {
//this.contactsFound=conts;
console.info("cccccccccccccccccccccccccccccccccccc "+JSON.stringify( this.contacts.displayName))
@rchen
rchen / upload-to-appstore.sh
Created March 9, 2016 08:06 — forked from jedi4ever/upload-to-appstore.sh
Command upload App/Ipa to the iTunes Connect App Store
#!/bin/bash
set -ex
# This scripts allows you to upload a binary to the iTunes Connect Store and do it for a specific app_id
# Because when you have multiple apps in status for download, xcodebuild upload will complain that multiple apps are in wait status
# Requires application loader to be installed
# See https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html
# Itunes Connect username & password
USER=bla