Skip to content

Instantly share code, notes, and snippets.

View Volune's full-sized avatar

Jeremy Judeaux Volune

  • China, Shanghai
View GitHub Profile
@Volune
Volune / minecraft crash logs.txt
Last active July 15, 2020 15:05
minecraft crash logs
---- Minecraft Crash Report ----
WARNING: coremods are present:
TransformerLoader (OpenComputers-MC1.12.2-1.7.5.192.jar)
AppleCore (AppleCore-mc1.12.2-3.2.0.jar)
MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)
LittlePatchingLoader (LittleTiles_v1.5.0-pre199_34_mc1.12.2.jar)
Botania Tweaks Core (botaniatweaks-1.9.0.jar)
PhosphorFMLLoadingPlugin (phosphor-forge-mc1.12.2-0.2.7-universal.jar)
Quark Plugin (Quark-r1.6-179.jar)
@Volune
Volune / README.md
Created August 21, 2019 02:50
npm bug installing older package version

install logs and package-lock.json show appium-chromedriver installed twice at versions 4.11.0 and 4.13.0, but no package explicitely require the non-latest version 4.11.0

@Volune
Volune / README.md
Last active May 5, 2019 03:34
reactjs proposal createProvider
@Volune
Volune / README.md
Last active January 14, 2019 06:55
storybook background transparency bug

Screenshot of background issue in Storybook 4.1.6, fullscreen mode

import { useRef } from 'react';
const getComponentName = WrappedComponent => (
WrappedComponent.displayName || WrappedComponent.name || 'Unknown'
);
const compareProps = (obj1, obj2) => {
let keys1 = Object.keys(obj1);
const sameValues = keys1.every(
key => obj2.hasOwnProperty(key) && obj2[key] === obj1[key],
import React from 'react';
const ReduxContext = React.createContext();
export default ReduxContext;
@Volune
Volune / InterfaceWithOverrides.js
Created September 20, 2018 09:42
Customize react-dates component style with existing global classes
import CSSInterface from 'react-with-styles-interface-css';
const InterfaceWithOverrides = Object.create(CSSInterface);
const OVERRIDES_KEY = Symbol('overrides');
Object.assign(InterfaceWithOverrides, {
[OVERRIDES_KEY]: [],
addOverride(override) {
this[OVERRIDES_KEY].push(override);
},
resolve(...args) {
@Volune
Volune / cmdnode
Created April 10, 2018 09:58
Tool to help run node from Windows
#/bin/sh
for a in $*; do
echo "$a" | awk 'match($0, /^(\w):(\\.*)$/, m) { p = m[2]; gsub(/\\/,"/",p); print "/mnt/" tolower(m[1]) p; next }; { print }';
done | xargs node
@Volune
Volune / .gitignore
Last active September 1, 2016 06:26
webpack-dev-server#474 example
.idea/
node_modules/
build/
@Volune
Volune / mobileaudio.html
Created July 20, 2016 08:27
Issue on android chrome playing audio from blob
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Issue audio from blob</title>
</head>
<body>