This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require("request"); | |
var models = { | |
"16 GB": "ME341LL%2FA", | |
"32 GB": "ME344LL%2FA", | |
"64 GB": "ME347LL%2FA" | |
}; | |
var result = function(size) { | |
return function (error, response, body) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ytIdFromUrl = function(url) { | |
if (url.indexOf('youtu.be/') !== -1) { | |
var re = new RegExp('.+youtu\.be/([^?#]+)', 'gi'); | |
var array = re.exec(url); | |
return array[1]; | |
} else { | |
var re = new RegExp('.+watch\\?v=([^&#]+)', 'gi'); | |
var array = re.exec(url); | |
return array[1]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.extend({ | |
postJSON: function(url, data, callback) { | |
return jQuery.ajax({ | |
type: "POST", | |
url: url, | |
data: JSON.stringify(data), | |
success: callback, | |
dataType: "json", | |
contentType: "application/json", | |
processData: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// !$*UTF8*$! | |
{ | |
archiveVersion = 1; | |
classes = { | |
}; | |
objectVersion = 50; | |
objects = { | |
/* Begin PBXBuildFile section */ | |
9572EC82265F22AF002CBCAF /* TestProjectApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9572EC81265F22AF002CBCAF /* TestProjectApp.swift */; }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-02-03 17:26:58.132 Db applesimutils[10601:a94f] [com.wix.applesimutils:CLI] Obtaining simulator device list | |
2022-02-03 17:26:58.133 Db applesimutils[10601:a94f] [com.wix.applesimutils:CLI] Running “/usr/bin/which” with argument: “xcrun” | |
2022-02-03 17:26:58.135 Db applesimutils[10601:a94f] [com.wix.applesimutils:CLI] Got output: | |
/usr/bin/xcrun | |
2022-02-03 17:26:58.136 Db applesimutils[10601:a94f] [com.wix.applesimutils:CLI] Running “/usr/bin/xcrun” with arguments: “simctl list --json” | |
2022-02-03 17:26:58.584 Db applesimutils[10601:a94f] [com.wix.applesimutils:CLI] Got output: | |
{ | |
"devicetypes" : [ | |
{ | |
"minRuntimeVersion" : 327680, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devicetypes" : [ | |
{ | |
"minRuntimeVersion" : 327680, | |
"bundlePath" : "\/Applications\/Xcode-13.0.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 4s.simdevicetype", | |
"maxRuntimeVersion" : 655359, | |
"name" : "iPhone 4s", | |
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-4s", | |
"productFamily" : "iPhone" | |
}, |