This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import MakerEnhance from 'maker-enhance'; | |
| <MakerEnhance user="[user]" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div | |
| class="js-maker-enhance-static-mount" | |
| id="js-maker-static-enhance-v1-e97676d8-29d5-11eb-adc1-0242ac120002" | |
| style="height: auto; width: 100%;" | |
| ></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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)||(( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://kb.detlus.com/articles/git/how-to-update-remote-branch-list-on-local-machine/ | |
| git remote update origin --prune |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isValidProperty(property, value) { | |
| const tmp = document.createElement('div'); | |
| tmp.style.setProperty(property, value); | |
| return Boolean(tmp.style.getPropertyValue(property)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch -p && for branch in `git branch -vv --no-color | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default Superclass => class extends Superclass { | |
| constructor(...args) { | |
| super(...args); | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir converted; for i in *.jpg; do sips -s format png $i --out converted/$i.png; done |
NewerOlder