Skip to content

Instantly share code, notes, and snippets.

@Nantris
Nantris / json
Created October 30, 2019 20:08
.eslintrc
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
Parallel execution with configuration on demand is an incubating feature.
> Configure project :app
AWS Device Farm Plugin version 1.3
Installing unimodules:
[email protected] from /app/turtle/workingdir/android/sdk34/android-shell-app/enabled-modules/@unimodules/core
[email protected] from /app/turtle/workingdir/android/sdk34/android-shell-app/enabled-modules/@unimodules/react-native-adapter
[email protected] from /app/turtle/workingdir/android/sdk34/android-shell-app/enabled-modules/expo-ads-admob
[email protected] from /app/turtle/workingdir/android/sdk34/android-shell-app/enabled-modules/expo-ads-facebook
[email protected] from /app/turtle/workingdir/android/sdk34/android-shell-app/enabled-modules/expo-analytics-amplitude
[email protected] from /app/turtle/workingdir/android/sdk34/android-shell-app/enabled-modules/expo-analytics-segment
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Unavailable
2019-05-14 00:38:57.7253 MyCryptoCheckout: In test mode. Not creating payment for EDD order 5594
2019-05-14 00:38:57.7473 MyCryptoCheckout: Scheduling check_for_valid_payment_id:
stdClass::__set_state(array(
'post_id' => 5594,
'blog_id' => 1,
))
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\www\test.com\wp-content\plugins\mycryptocheckout\vendor\plainview\sdk\wordpress\traits\debug.php:147) in C:\www\test.com\wp-includes\pluggable.php on line 1251
Call Stack
import Debug from 'debug'
import invariant from 'tiny-invariant'
import isPlainObject from 'is-plain-object'
import warning from 'tiny-warning'
import { List } from 'immutable'
import CommandsPlugin from '../plugins/commands'
import CorePlugin from '../plugins/core'
import Operation from '../models/operation'
import PathUtils from '../utils/path-utils'
@Nantris
Nantris / SlateAndroidBugTemplate.md
Last active May 2, 2019 00:36
Slate Android Bug Report Template

Bug: (Insert the title of your bug here)

Severity

(SHOWSTOPPER, MAJOR, MINOR, TRIVIAL)

Rationale for severity

(Why did you choose the selected severity?)

Recording

@Nantris
Nantris / js
Created January 18, 2019 20:05
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import { createHashHistory } from 'history';
import { routerMiddleware, routerActions } from 'connected-react-router';
import { createLogger } from 'redux-logger';
import {
forwardToMain,
forwardToRenderer,
triggerAlias,
replayActionMain,
ERROR in main.prod.js from UglifyJs
TypeError: Cannot read property 'name' of undefined
at eval (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:9283:61)
at all (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:263:14)
at join_object_assignments (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:9282:26)
at join_consecutive_vars (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:9340:33)
at tighten_body (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:8386:17)
at eval (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:13560:47)
at AST_Arrow.eval [as optimize] (eval at <anonymous> (C:\projects\myApp\node_modules\uglify-es\tools\node.js:21:1), <anonymous>:7677:23)
at Compressor.before (eval at <anonymous> (C:\
/**
* Base webpack config used across other specific configs
*/
import path from 'path';
import webpack from 'webpack';
import merge from 'webpack-merge';
import externals from './externals';
const rootPath = process.cwd();
/**
* Webpack config for production electron main process
*/
import path from 'path';
import webpack from 'webpack';
import merge from 'webpack-merge';
import UglifyJSPlugin from 'uglifyjs-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import CheckNodeEnv from '../internals/scripts/CheckNodeEnv';