Skip to content

Instantly share code, notes, and snippets.

Adam Goldman goldylucks

Block or report user

Report or block goldylucks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
goldylucks / make error in render
Created May 13, 2019
Answer to user's question
View make error in render
class SignUpForm extends React.Component {
// other stuff
const shouldMarkError = (field) => {
const hasError = errors[field];
const shouldShow = this.state.touched[field];
return hasError ? shouldShow : false;
goldylucks / Guide
Created Oct 18, 2018
Checkbox Plugin
View Guide
goldylucks / crashReport.js
Created Jun 19, 2018
backtrace crash reporting example
View crashReport.js
import { crashReporter } from 'electron'
import bt from 'backtrace-js'
import pjson from '../../package.json'
export default { initForMain, initForRenderer }
const token = '3951a92f3c2901f77b728dfadd9539d6120d3fa23d709ccc7980564dda045004'
const endpoint = ''
const attributes = {
goldylucks / safeeyes.json
Created Jul 1, 2017
Safe Eyes file after `mkdir -p ~.config/safeeyes/style`
View safeeyes.json
"active_window_class": {
"skip_break": [],
"take_break": []
"audible_alert": true,
"break_interval": 15,
"disable_options": [
"label": "for_x_minutes",
goldylucks / React
Created May 11, 2017
React to Redux conversion
View React
// @flow
import React from 'react'
import App from './App'
type Props = {
onLogin: Function,
onSignup: Function,
View current response
"title": "Bethlehem",
"children": [
"title": "Bethlehem Labelling",
"children": [
"title": "Box Line",
"title": "Shrink Line"
goldylucks / response
Created Jan 1, 2017
Mobile Structure Response
View response
title: "Rhodes",
children: [
title: "Canneries",
children: [
title: "Bethlehem",
children: [
View appium log
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","appium-version":"1.3","platformName":"Android","platformVersion":"6.0","deviceName":"Android Emulator","app":"android/app/build/outputs/apk/app-release.apk"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","appium-version":"1.3","platformName":"Android","platformVersion":"6.0","deviceName":"Android Emulator","app":"android/app/build/outputs/apk/app-release.apk"},null,null,null,null,null,null]
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] browserName: ''
[Appium] appium-version: '1.3'
[Appium] platformName: 'Android'
[Appium] platformVersion: '6.0'
[Appium] deviceName: 'Android Emulator'
[Appium] app: 'android/app/build/outputs/apk/app-release.apk'
View gist:5292152edde2dc5d6ca2
Verifying I am +adamgold on my passcard.
You can’t perform that action at this time.