hashicorp/vagrant#3341 (comment)
$ vagrant plugin install vagrant-vbguest
import React from 'react'; | |
import MakerEnhance from 'maker-enhance'; | |
export default function Content() { | |
return ( | |
<div> | |
<MakerEnhance user="[user]" instanceId="header" loadingHeight={400} /> | |
<MakerEnhance user="[user]" instanceId="main" /> | |
</div> | |
); |
import MakerEnhance from 'maker-enhance'; | |
<MakerEnhance user="[user]" /> |
<div | |
class="js-maker-enhance-static-mount" | |
id="js-maker-static-enhance-v1-e97676d8-29d5-11eb-adc1-0242ac120002" | |
style="height: auto; width: 100%;" | |
></div> |
<link rel="preload" href="https://app.maker.co/enhance/[user].js" as="script"> | |
<script type="text/javascript">!(function(){var e={enhanceId:'[user]', | |
enhanceTimeout:4e3},t=document.getElementById('js-maker-enhance-style'), | |
n=setTimeout(function(){t&&t.parentElement.removeChild(t),(window | |
.mk_enhance_timeout=!0)},e.enhanceTimeout),a=!1,c=document | |
.createElement('script'),f=window.location.search | |
.match(/mk_experience_preview/)?'?_t='+new Date().getTime():'';(c.src= | |
'https://app.maker.co/enhance/'+e.enhanceId+'.js'+f),(c.type= | |
'text/javascript'),(c.async='true'),(c.onload=c.onreadystatechange= | |
function(){var e=this.readyState;a||(e&&'complete'!=e&&'loaded'!=e)||(( |
function isValidProperty(property, value) { | |
const tmp = document.createElement('div'); | |
tmp.style.setProperty(property, value); | |
return Boolean(tmp.style.getPropertyValue(property)); | |
} |
# https://github.com/nodejs/node-gyp/issues/809#issuecomment-343288691 | |
# After switching to a new NodeJS version using n I got this issue as well (I usually do when switching versions...) | |
# This did the trick for me: | |
npm explore npm -g -- npm install node-gyp@latest |
git fetch -p && for branch in `git branch -vv --no-color | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done |
export default Superclass => class extends Superclass { | |
constructor(...args) { | |
super(...args); | |
} | |
}; |
# http://stackoverflow.com/a/20895666/291500 | |
find . -name '*.orig' -delete |
hashicorp/vagrant#3341 (comment)
$ vagrant plugin install vagrant-vbguest