Skip to content

Instantly share code, notes, and snippets.

@hanxue
hanxue / # [email protected] - 2018-05-24_02-56-47.txt
Created May 24, 2018 02:57
[email protected] on Debian GNU/Linux 8.7 (jessie) - Homebrew build logs
Homebrew build logs for [email protected] on Debian GNU/Linux 8.7 (jessie)
Build date: 2018-05-24 02:56:47
@hanxue
hanxue / # [email protected] - 2018-05-22_23-43-57.txt
Created May 23, 2018 00:16
[email protected] on Debian GNU/Linux 8.7 (jessie) - Homebrew build logs
Homebrew build logs for [email protected] on Debian GNU/Linux 8.7 (jessie)
Build date: 2018-05-22 23:43:57
@hanxue
hanxue / # mongodb - 2018-05-22_23-19-08.txt
Created May 22, 2018 23:33
mongodb on Debian GNU/Linux 8.7 (jessie) - Homebrew build logs
Homebrew build logs for mongodb on Debian GNU/Linux 8.7 (jessie)
Build date: 2018-05-22 23:19:08
ptk=youtube_single&xhr_apiary_host=youtubei.youtube.com&uid=3XTzVzaHQEd30rQbuvCtTQ&innertube_api_version=v1&no_get_video_log=1&focEnabled=1&vmap=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Cvmap%3AVMAP+xmlns%3Avmap%3D%22http%3A%2F%2Fwww.iab.net%2Fvideosuite%2Fvmap%22+xmlns%3Ayt%3D%22http%3A%2F%2Fyoutube.com%22+version%3D%221.0%22%3E%3C%2Fvmap%3AVMAP%3E&vss_host=s.youtube.com&c=WEB&adaptive_fmts=projection_type%3D1%26xtags%3D%26index%3D765-3436%26size%3D1920x1080%26bitrate%3D2916132%26lmt%3D1526290576056697%26url%3Dhttps%253A%252F%252Fr3---sn-npoe7n7y.googlevideo.com%252Fvideoplayback%253Fc%253DWEB%2526expire%253D1526815475%2526ipbits%253D0%2526mime%253Dvideo%25252Fmp4%2526gir%253Dyes%2526itag%253D137%2526initcwndbps%253D177500%2526ei%253DkwYBW_qHHYSE1AarzpXYBw%2526mn%253Dsn-npoe7n7y%25252Csn-npoeen7r%2526dur%253D1172.704%2526gcr%253Dsg%2526sparams%253Daitags%25252Cclen%25252Cdur%25252Cei%25252Cgcr%25252Cgir%25252Cid%25252Cinitcwndbps%25252Cip%25252Cipbits%25252Citag%25252Ckeepalive%25252Clmt%2
@hanxue
hanxue / webpack-error.txt
Created May 11, 2018 08:30
Output of webpack mini-css-extract-plugin
Entrypoints:
app (2.28 MiB)
0.1064d2d5874803cf1ede.css
static/js/0.1064d2d5874803cf1ede.js
static/css/"app.1064d2d5874803cf1ede.css
static/js/app.1064d2d5874803cf1ede.js
ERROR in Error: Parse Error: <link href="/static/css/"app.1064d2d5874803cf1ede.css" rel ="stylesheet"></head>
<body>
<div id="app"></div>
@hanxue
hanxue / build.js
Created May 11, 2018 02:24
Webpack 4 replace ExtractTextPlugin.extract()
'use strict'
require('./check-versions')()
process.env.NODE_ENV = 'production'
const ora = require('ora')
const rm = require('rimraf')
const path = require('path')
const chalk = require('chalk')
const webpack = require('webpack')
@hanxue
hanxue / package.json
Created April 4, 2018 04:22
yarn package.json
{
"name": "x",
"version": "0.1.0",
"description": "x",
"author": "Lee Hanxue <hanxue@x>",
"private": true,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"unit": "jest --config test/unit/jest.conf.js --coverage",
@hanxue
hanxue / package.json
Created April 4, 2018 01:26
DllPlugin jQuery error
{
"name": "project",
"version": "0.1.0",
"description": "My project",
"author": "Lee Hanxue <hanxue@zzzzzz>",
"private": true,
"scripts": {
"dll": "webpack --config build/webpack.dll.config.js",
"postinstall": "yarn run dll",
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
@hanxue
hanxue / yarn-error.log
Created March 20, 2018 21:23
Webpack config not working with ES6 module import
Arguments:
/usr/local/Cellar/node/9.8.0/bin/node /usr/local/Cellar/yarn/1.5.1_1/libexec/bin/yarn.js run dev
PATH:
/usr/local/opt/mozjpeg/bin:/Users/hanxue/.jenv/shims:/Users/hanxue/.cabal/bin:/usr/local/var/rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/hanxue/Code/Go/bin:/Users/hanxue/Github/rvm/bin:/Users/hanxue/.rvm/bin:/Users/hanxue/.yarn/bin:/Users/hanxue/.bashhub/bin:/Users/hanxue/.composer/vendor/bin:~/Github/git-achievements
Yarn version:
1.5.1
Node version:
@hanxue
hanxue / dev.env.js
Last active February 22, 2018 19:38
Webpack 4 eslint-loader issue
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"'
})