Skip to content

Instantly share code, notes, and snippets.

View GlickG's full-sized avatar

Garrett Glick GlickG

View GitHub Profile
@GlickG
GlickG / commands.js
Created April 28, 2022 02:11 — forked from cvan/commands.js
cypress disable basic css transitions + animations
Cypress.Commands.add('cssDisableMotion', (selector = 'head') => {
cy.get('html').then(() => {
document.querySelector(selector).insertAdjacentHTML('beforeend', `
<style>
/* Disable CSS transitions. */
* { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important; }
/* Disable CSS animations. */
* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; }
@GlickG
GlickG / gist:6d2297352bdc9c6fc70d8843e5e66666
Last active January 31, 2019 17:53
Android userID: 8360 Gmail Scraper account in the Needs Attention: Credentials Issue State from commit: c70997e0
2019-01-31 12:31:09.194 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Video track stopping
2019-01-31 12:31:09.194 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Video track source stopping
2019-01-31 12:31:09.194 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Video track source stopped
2019-01-31 12:31:09.195 7674-9563/com.receiptpalapp.android.debug I/MPEG4Writer: Received total/0-length (73/0) buffers and encoded 73 frames. - Video
2019-01-31 12:31:09.196 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Video track stopped
2019-01-31 12:31:09.196 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Stopping writer thread
2019-01-31 12:31:09.197 7674-9562/com.receiptpalapp.android.debug D/MPEG4Writer: 0 chunks are written in the last batch
2019-01-31 12:31:09.197 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Writer thread stopped
2019-01-31 12:31:09.198 7674-7777/com.receiptpalapp.android.debug D/MPEG4Writer: Video track stopping
2019-01-31 12:31:09.241
@GlickG
GlickG / Gmail Credential Issue State Logs
Created January 31, 2019 17:45
Here are the logs for the Nexus 6/7.1.1 userID:8360 in which the [email protected] ended up in a Needs Attention: Credential Issue state. Commit: Pods/BlinkReceipt/BlinkReceipt.framework/nn_model_ReceiptOcr_walmart_scc70997e0
2019-01-31 11:49:05.429 871-871/? W/PackageManager: Failed to parse /system/priv-app/CarrierServices: Package com.google.android.ims at /system/priv-app/CarrierServices ignored: updated version 30075451 better than this 1
2019-01-31 11:49:05.628 871-871/? W/PackageManager: Failed to parse /system/priv-app/GCS: Package com.google.android.apps.gcs at /system/priv-app/GCS ignored: updated version 3003 better than this 1510
2019-01-31 11:49:05.685 871-871/? W/PackageParser: No actions in intent filter at /system/priv-app/GoogleContacts/GoogleContacts.apk Binary XML file line #307
2019-01-31 11:49:05.689 871-871/? W/PackageManager: Failed to parse /system/priv-app/GoogleContacts: Package com.google.android.contacts at /system/priv-app/GoogleContacts ignored: updated version 2171201 better than this 10422
2019-01-31 11:49:05.749 871-871/? W/PackageManager: Failed to parse /system/priv-app/GoogleDialer: Package com.google.android.dialer at /system/priv-app/GoogleDialer ignored: updated version 3348651 better than th
2019-01-30 14:36:18.602 874-1385/? W/PackageManager: Unknown permission com.android.chrome.PRERENDER_URL in package com.google.android.googlequicksearchbox
2019-01-30 14:36:18.602 874-1385/? W/PackageManager: Unknown permission android.permission.SET_MEDIA_KEY_LISTENER in package com.google.android.googlequicksearchbox
2019-01-30 14:36:18.602 874-1385/? W/PackageManager: Unknown permission android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER in package com.google.android.googlequicksearchbox
2019-01-30 14:36:18.602 874-1385/? W/PackageManager: Not granting permission com.google.android.googleapps.permission.GOOGLE_AUTH to package com.android.providers.calendar (protectionLevel=2 flags=0x30083e45)
2019-01-30 14:36:18.602 874-1385/? W/PackageManager: Not granting permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl to package com.android.providers.calendar (protectionLevel=2 flags=0x30083e45)
2019-01-30 14:36:18.602 874-1385/? W/PackageManager: Unknown permission android.permission.FOREGROUND_SER
@GlickG
GlickG / gist:1c30e66aa1107db28c3d847688febddb
Created January 14, 2019 18:59
iPhone6_12_liveapp_hangingspinner_amazonreconnect
debug 13:58:34.368198 -0500 ReceiptPal [0x102098d00] create w/name <SCNetworkReachability 0x102098d00 [0x2673695e0]> {name = www.apple.com}
debug 13:58:34.369423 -0500 ReceiptPal __SCNetworkReachabilityGetFlagsFromPath, flags = 0x00000002, nw_path_status_satisfied
debug 13:58:34.370104 -0500 ReceiptPal [0x102098d00] release
debug 13:58:34.824748 -0500 ReceiptPal Ping timer fired, resetting watchdog
debug 13:58:35.513838 -0500 backboardd #BKSendHIDEvent: Sending event to client connection: <IOHIDEventSystemConnection 0x100f2ed50 [0x100e00010]> uuid=79E02DDD-EA33-45D7-B124-F16FAFE62AAF pid=1176 process=ReceiptPal type=Passive ProtectedServicesDisabled=1 caller=BackBoardServices: <redacted> + 364 attributes=<CFBasicHash 0x100f33030 [0x100e00010]>{type = immutable dict, count = 3,
entries =>
0 : <CFString 0x109faaee0 [0x2673695e0]>{contents = "pid"} = <CFNumber 0xe83a6c421d9edbae [0x2673695e0]>{value = +1176, type = kCFNumberSInt64Type}
1 : <CFString 0x109f5d430 [0x2673695e0]>{contents = "bundleID"} = <CFString
@GlickG
GlickG / gist:7464d4f6dac54599aeee9a9fd16f7b0e
Created January 14, 2019 18:57
iPhone6+_12_reconnectamazonaccount_log
debug 13:53:57.780899 -0500 cfprefsd Process 1176 sent a request related to { com.receiptpalapp.iphoneapp, user: mobile, kCFPreferencesAnyHost, /private/var/mobile/Containers/Data/Application/93DEF14F-BD77-4728-A938-BF6A5C111670, managed: 0 }
debug 13:53:57.781830 -0500 cfprefsd Process 1176 wrote the key [email protected] in { com.receiptpalapp.iphoneapp, mobile, kCFPreferencesAnyHost, /private/var/mobile/Containers/Data/Application/93DEF14F-BD77-4728-A938-BF6A5C111670, managed: 0 } from process 1176
debug 13:53:57.782437 -0500 ReceiptPal setting new value <private> for key <private> in CFPrefsPlistSource<0x28209a180> (Domain: com.receiptpalapp.iphoneapp, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No)
debug 13:53:57.809969 -0500 ReceiptPal found no value for key WebKitDebugDragLiftDelay in CFPrefsSearchListSource<0x28209b000> (Domain: com.receiptpalapp.iphoneapp, Container: (null))
debug 13:53:57.810648 -0500 ReceiptPal found no v
ll,"SupplementaryTopics":[]}]},{"BehaviorId":473,"Title":"NULL","BehaviorType":null,"Descripton":"NULL","ImageName":"NULL","VOWMessage":"erdfert","MemberStatus":"INACTIVE","DefaultBehavior":false,"BehaviorProgress":"0%","BehaviorLastUpdatedDate":"","Source":"BCF","IsSelfDirected":false,"Goals":[{"GoalId":697,"GoalTitle":"Test_Aetna_Go
al_E","GoalName":"Test_Aetna_Goal","GoalStatus":"INACTIVE","GoalInstanceId":null,"WeekNumber":1,"GoalStartDate":null,"GoalCompletionDate":null,"GoalExpirationDate":null,"EngagementIndicator":null,"IsDefaultGoal":false,"PreActivityId":null,"SupplementaryTopics":[]},{"GoalId":698,"GoalTitle":"Goal 1","GoalName":"Goal 1","GoalStatus":"IN
ACTIVE","GoalInstanceId":null,"WeekNumber":2,"GoalStartDate":null,"GoalCompletionDate":null,"GoalExpirationDate":null,"EngagementIndicator":null,"IsDefaultGoal":false,"PreActivityId":null,"SupplementaryTopics":[]},{"GoalId":307,"GoalTitle":"Goal 2","GoalName":"Goal
2018-11-30 15:48:35.074 17260-17307 E/ADBMobile: ADBMobile Error : Target - IOException while trying to get content (failed to connect to mboxedge17.tt.omtrdc.net/66.235.147.244 (port 443) from /192.168.7.198 (port 41223) after 5000ms)
2018-11-30 15:48:45.070 7399-7399 E/ClientVe: Failed to create ClientVisualElementsProto for user interaction on view com.google.android.apps.gsa.searchbox.ui.suggestions.views.p{809b78d VFE...CL. ...P.... 207,21-414,275 #39} because the view is not tagged for visual element logging.
2018-11-30 15:48:45.164 17491-17491 E/tpalapp.androi: Not starting debugger since process cannot load the jdwp agent.
2018-11-30 15:48:45.430 17491-17491 E/FlurryAgent: Listener cannot be null
2018-11-30 15:48:45.623 914-1829 E/OMXNodeInstance: getConfig(0xf0da84a0:google.mp3.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-11-30 15:48:45.683 914-1829 E/OMXNodeInstance: getConfig(0xf0da84a0:google.mp3.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Unde
This file has been truncated, but you can view the full file.
aN(u)&&(u=util.zhStringToYear(r[YEAR_GROUP])),i.start.assign("year",u)}else i.start.imply("year",a.year());return i.tags.ZHHantDateParser=!0,i}};
2018-11-02 15:44:55.860 7337-7782 D/RPWebClient: },{"../../result":82,"../../utils/ZH-Hant.js":88,"../parser":67,"moment":371}],64:[function(require,module,exports){
2018-11-02 15:44:55.860 7337-7782 D/RPWebClient: var moment=require("moment"),Parser=require("../parser").Parser,ParsedResult=require("../../result").ParsedResult,util=require("../../utils/ZH-Hant.js"),PATTERN=new RegExp("(\\d+|["+Object.keys(util.NUMBER).join("")+"]+|半|幾)(?:\\s*)(?:個)?(秒(?:鐘)?|分鐘|小時|鐘|日|天|星期|禮拜|月|年)(?:(?:之|過)?後|(?:之)?內)","i"),NUMBER_GROUP=1,UNIT_GROUP=2;exports.Parser=function(){Parser.apply(this,arguments),this.pattern=function(){return PATTERN},this.extract=function(t,r,e,a){var s=e.index;t=e[0];var n=new ParsedResult({index:s,text:t,ref:r}),i=parseInt(e[NUMBER_GROUP]);if(isNaN(i)&&(i=util.zhStringToNumber(e[NUMBER_GROUP])),isNaN(i)){var d=e[NUMBER_GROUP];if("幾"===d)i=3;else{if("半"!=
This file has been truncated, but you can view the full file.
f(r[YEAR_GROUP]&&(i=r[YEAR_GROUP],i=parseInt(i),r[YEAR_BE_GROUP]?r[YEAR_BE_GROUP].match(/BE/)?i-=543:r[YEAR_BE_GROUP].match(/BC/)&&(i=-i):i<100&&(i+=2e3)),i)s.start.imply("day",1),s.start.assign("month",n),s.start.assign("year",i);else{var u=moment(t);u.month(n-1),u.date(1);var m=u.clone().add(1,"y"),l=u.clone().add(-1,"y");Math.abs(m.diff(moment(t)))<Math.abs(u.diff(moment(t)))?u=m:Math.abs(l.diff(moment(t)))<Math.abs(u.diff(moment(t)))&&(u=l),s.start.imply("day",1),s.start.assign("month",n),s.start.imply("year",u.year())}return s.tags.ENMonthNameParser=!0,s}};
2018-11-02 15:44:55.858 7337-7782 D/RPWebClient: },{"../../result":82,"../../utils/EN":84,"../parser":67,"moment":371}],37:[function(require,module,exports){
2018-11-02 15:44:55.858 7337-7782 D/RPWebClient: var moment=require("moment"),Parser=require("../parser").Parser,ParsedResult=require("../../result").ParsedResult,util=require("../../utils/EN"),PATTERN=new RegExp("(\\W|^)(next|last|past)\\s*("+util.INTEGER_WORDS_PATTERN+"|[0-9]+|few|half(?:\\s*an