Skip to content

Instantly share code, notes, and snippets.

View dawnTestCode's full-sized avatar

Dawn (Cannan) Code dawnTestCode

View GitHub Profile
@dawnTestCode
dawnTestCode / gist:dcd45a1ddbd5bcdaca103c0157823410
Created March 30, 2020 17:44
cb remove script tags from html
var bodytext = '';
var m = value.data.match(/<body[^>]*>([^<]*(?:(?!<\/?body)<[^<]*)*)<\/body\s*>/i);
if (m) bodytext = m[1];
console.log(bodytext)
send(0, bodytext);
<script>!function(a){var e="https://s.go-mpulse.net/boomerang/",t="addEventListener";if("False"=="True")a.BOOMR_config=a.BOOMR_config||{},a.BOOMR_config.PageParams=a.BOOMR_config.PageParams||{},a.BOOMR_config.PageParams.pci=!0,e="https://s2.go-mpulse.net/boomerang/";if(window.BOOMR_API_key="E68AF-EQ2CX-6PS4U-GPXGV-5A3RP",function(){function n(e){a.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}if(!a.BOOMR||!a.BOOMR.version&&!a.BOOMR.snippetExecuted){a.BOOMR=a.BOOMR||{},a.BOOMR.snippetExecuted=!0;var i,o,_,r=document.createElement("iframe");if(a[t])a[t]("load",n,!1);else if(a.attachEvent)a.attachEvent("onload",n);r.src="javascript:void(0)",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="width:0;height:0;border:0;display:none;",_=document.getElementsByTagName("script")[0],_.parentNode.insertBefore(r,_);try{o=r.contentWindow.document}catch(O){i=document.domain,r.src="javascript:var d=document.open();d.domain='"+i+"';void(0);",o=r.contentWindow.document}o.open()._l=function(){var a=this.c
@dawnTestCode
dawnTestCode / gist:702eba136ea8a6e947c3e1a47efc51e8
Created October 4, 2019 18:18
Appium 1.15.0 could not install app
The server is running
[Appium] Welcome to Appium v1.15.0
[Appium] Non-default server args:
[Appium] allowInsecure: {
[Appium] }
[Appium] denyInsecure: {
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
@dawnTestCode
dawnTestCode / espresso-appium.txt
Created July 30, 2019 19:39
Espresso Appium output
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:deviceName":"Samsung","appium:platformVersion":"7.0","appium:udid":"06157df6b2f41b32","appium:orientation":"PORTRAIT","appium:automationName":"Espresso","appium:forceEspressoRebuild":true,"appium:app":"/Users/dcode/dev/unspecified/aicure/appium-boilerplate/apps/dev11Debug-2019.6.apk","appium:appPackage":"com.aicure.aiview.clinical.master.mobile","appium:appActivity":"com.aicure.aiviewswitch.AiViewSwitch","appium:noReset":false,"appium:newCommandTimeout":999,"appium:autoGrantPermissions":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:deviceName":"Samsung","appium:platformVersion":"7.0","appium:udid":"06157df6b2f41b32","appium:orientation":"PORTRAIT","appium:automationName":"Espresso","appium:forceEspressoRebuild":true,"appium:app":"/Users/dcode/dev/unspecified/aicure/appium-boilerplate/apps/dev11Debug-2019.6.apk","appium:appPackage":"com.aicure.aiview.clinical.master.mobile"
@dawnTestCode
dawnTestCode / gilreath.txt
Last active January 10, 2018 19:34
Jeremy Gilreath's info about himself
Here's a little more about what I'm looking for. I learn very fast, am comfortable wearing multiple hats, enjoy being given the opportunity to add to my skill sets on the job, and strive to be my own best tester.
Project - Requirements
The focus is on developing and maintaining an exciting product, rather than reviving a legacy application
My duties will *regularly* involve work in Machine Learning and/or Big Data, now or in the next 18 months
I will be in a back-end or full-stack role, with the understanding that my experience and interest is largely back-end
My commute is 25 minutes or less
Salaried Role 85-90k with benefits and 3 weeks PTO
Team is okay with me taking the week of April 2 off (taking a trip with my mother she has been waiting on for 40 years)
Allowed to work remotely at least two half days a week
Option Explicit
Private InitDone As Boolean
Private Map1(0 To 63) As Byte
Private Map2(0 To 127) As Byte
Public Function Base64EncodeString(ByVal s As String) As String
Base64EncodeString = Base64Encode(ConvertStringToBytes(s))
End Function