##Toast Notifications
{
"title" : "The title",
"alert" :"HELLO!",
"duration" : "short|long",
"launch" : {
"type": "toast",| #!/bin/bash | |
| #title :wildfly-install.sh | |
| #description :The script to install Wildfly 8.x | |
| #author :Dmitriy Sukharev | |
| #date :20131222 | |
| #usage :/bin/bash wildfly-install.sh | |
| WILDFLY_VERSION=8.0.0.CR1 | |
| WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION | |
| WILDFLY_ARCHIVE_NAME=$WILDFLY_FILENAME.tar.gz |
| @Override | |
| public boolean canEnhance(InstanceOrCallableInstance instance, Class<?> droneType, Class<? extends Annotation> qualifier) { | |
| if (RemoteWebDriver.class == droneType || ReusableRemoteWebDriver.class == droneType) { | |
| return true; | |
| } | |
| Class<?> realInstanceClass = instance.asInstance(droneType).getClass(); | |
| if (RemoteWebDriver.class == realInstanceClass || ReusableRemoteWebDriver.class == realInstanceClass) |
| window.Graphene = window.Graphene || {}; | |
| window.Graphene.Page = window.Graphene.Page || {}; | |
| window.Graphene.Page.XHRHalter = (function() { | |
| var STATE_CONSTRUCT = -3, | |
| STATE_OPEN = -2, | |
| STATE_SEND = -1, | |
| STATE_UNITIALIZED = 0, |
| curl -u 19614a6d-94a4-4788-a0bb-9d559f841b58:221610d0-4668-4379-9db7-29a086c98793 -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"deviceToken":"BSPA91bGDWDdl-xW3EmSs2bH7Qlo5AOfbCJtmyOukYxVHq8KKUqpPLBLUjettGYoN2nahBbAe3GgmxKPcZnqEIFFxHw3_brKOSmeXjZQuEVehSJTUdJuXUCmR3XweZ2MM_455fYMcvkUse1DIp1wjxnik2uHYSNl87wrJzLddoC7tPp-gch3eJAf","alias":"bob","categories":["lead"],"deviceType" : "iPhone", "operatingSystem" : "iOS", "osVersion" : "6.1.2"}' http://localhost:8080/ag-push/rest/registry/device |
##Toast Notifications
{
"title" : "The title",
"alert" :"HELLO!",
"duration" : "short|long",
"launch" : {
"type": "toast",