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 ReactGA from 'react-ga'; | |
| const ga = ReactGA.ga(); | |
| ga('send', 'event', 'programme', 'injury', 'report injury'); |
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
| Run the following in the developers console: | |
| localStorage.clear(); | |
| sessionStorage.clear(); |
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 remote set-url origin https://[email protected]/scorchsoft/epitomise-api.git |
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
| {survey.data.questions.map((item, index) => ( | |
| <Step> | |
| <StepButton onClick={() => this.setState({ stepIndex: index })}> | |
| {item.question_category} | |
| </StepButton> | |
| </Step> | |
| ))} |
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
| curl -sS https://getcomposer.org/installer | php | |
| php composer.phar install |
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
| find . -type f -exec chmod 644 {} \; | |
| find . -type d -exec chmod 755 {} \; |
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
| ssh-keygen -t rsa -b 4096 -C "[email protected]" |
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
| To set a global template variable create one for the homepage template and access it anywhere like this: | |
| [[getImageList? | |
| &tvname=`footerServicesProvidedLinks` | |
| &tpl=`footerServicesProvidedLinkItem.tpl` | |
| &docid=`1` | |
| ]] | |
| The &docid=`1` is accessing the TV from the homepage (homepage has id = 1) | |
NewerOlder