Skip to content

Instantly share code, notes, and snippets.

View bartonhammond's full-sized avatar

Barton Hammond bartonhammond

  • Jefferson City, MO
View GitHub Profile
@bartonhammond
bartonhammond / gist:6f6b506a43a8e0128fd61789ec7b8445
Created February 8, 2018 00:03
Appium ios log : Error: Unable to launch WebDriverAgent because of xcodebuild failure
[Appium] Welcome to Appium v1.7.2 (REV 0e9005b71127dc088d693513da4b638e052c77e1)
[Appium] Non-default server args:
[Appium] address: 192.168.1.8
[Appium] port: 4724
[Appium] nodeconfig: ./ios-config.json
[debug] [Appium] Starting auto register thread for grid. Will try to register every 5000 ms.
[Appium] Appium REST http interface listener started on 192.168.1.8:4724
[debug] [Appium] Appium successfully registered with the grid on 192.168.1.3:4444
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
$ composer selenium-server-hub
> ./vendor/bin/selenium-server-standalone -role hub
08:21:30.005 INFO - Selenium build info: version: '3.7.1', revision: '8a0099a'
08:21:30.007 INFO - Launching Selenium Grid hub
2018-02-07 08:21:30.639:INFO::main: Logging initialized @1075ms to org.seleniumhq.jetty9.util.log.StdErrLog
08:21:30.664 INFO - Will listen on 4444
2018-02-07 08:21:30.736:INFO:osjs.Server:main: jetty-9.4.5.v20170502
2018-02-07 08:21:30.783:INFO:osjs.session:main: DefaultSessionIdManager workerName=node0
2018-02-07 08:21:30.784:INFO:osjs.session:main: No SessionScavenger set, using defaults
2018-02-07 08:21:30.788:INFO:osjs.session:main: Scavenging every 660000ms
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.2","revision":"0e9005b71127dc088d693513da4b638e052c77e1"}}
[HTTP] <-- GET /wd/hub/status 200 14 ms - 110
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"Safari","deviceName":"iPad","platformName":"ios","platformVersion":"11.2.5"},"capabilities":{"desiredCapabilities":{"browserName":"Safari","deviceName":"iPad","platformName":"ios","platformVersion":"11.2.5"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"Safari","deviceName":"iPad","platformName":"ios","platformVersion":"11.2.5"},null,{"desiredCapabilities":{"browserName":"Safari","deviceName":"iPad","platformName":"ios","platformVersion":"11.2.5"},"firstMatch":[{"browserName":"Safari","platformName":"ios"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 151801349476
@bartonhammond
bartonhammond / 00-about-search-api-examples.md
Created February 13, 2016 16:39 — forked from jasonrudolph/00-about-search-api-examples.md
5 entertaining things you can find with the GitHub Search API
@bartonhammond
bartonhammond / post_item.html
Last active October 5, 2015 17:18
Meteor Webix Datatable Reactive
<!-- format for datatable id, title and url
-->
<template name="postItem">
<li data-id="{{_id}}"
data-title="{{title}}"
data-url='<a href="{{url}}" target="_blank">{{url}}</a>'
>
</li>
</template>
@bartonhammond
bartonhammond / nav.html
Last active September 30, 2015 21:39
How to initialize menu option PostSubmit to hide. 'data-hidden' doesn't seem to work.
<template name="nav">
<div data-id="nav"
data-css="nav"
data-view="toolbar">
<div data-view="label"
data-label="{{t9n 'app.displayName'}}"
data-width=200>
</div>
@bartonhammond
bartonhammond / Helpers.js
Last active September 30, 2015 14:53
Meteor Webix Datatable onClick event. posts_list.html has column w/ 'fa-comment-o' icon. datatable has <config> with 'onClick' and function provided by helper
'use strict';
(function(globals){
"use strict";
globals.Helpers = {};
}(this));
Helpers['onClickDiscuss'] = function(ev, id) {
console.log('onClickDiscuss', ev);
console.log('onClickDiscuss', id);
var path= Router.routes['postPage'].path({_id: id});
@bartonhammond
bartonhammond / posts_list.html
Created September 30, 2015 14:51
Meteor Webix Datatable onClick event. posts_list.html has column w/ 'fa-comment-o' icon. datatable has <config> with 'onClick' and function provided by helper
<template name="postslist">
<div data-id="postslist"
data-view="datatable"
data-type="line"
data-autoheight=1>
<config name="onClick" fa-comment-o="{{onClick}}"></config>
<div data-view="column"
data-fillspace=1
data-id="title">
@bartonhammond
bartonhammond / post_item.html
Created September 30, 2015 05:06
Meteor Webix Datatable - my desire is o click icon in row of datatable and call a function where the row is known so I can do something w/ that data.
<template name="postItem">
<li data-title="{{title}}"
data-url='<a href="{{url}}" target="_blank">{{url}}</a>'
>
</li>
</template>