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
| <html> | |
| <script> | |
| (function myFunction() { | |
| console.log(navigator.userAgent.toLowerCase()) | |
| if(navigator.userAgent.toLowerCase().indexOf("iphone") > -1){ window.location.href = 'https://apps.apple.com/us/app/your-app-url'; } | |
| if(navigator.userAgent.toLowerCase().indexOf("android") > -1){ window.location.href = 'https://play.google.com/store/apps/details?id==your.package.name'; } | |
| //Update #2 | |
| if (!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|IEMobile)/)) { |
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
| # this script runs on background threads in (parallel) | |
| python repeat_calls.py & | |
| python repeat_calls.py & | |
| python repeat_calls.py & | |
| python repeat_calls.py & | |
| python repeat_calls.py & | |
| python repeat_calls.py & |
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 functions | |
| # Mark Embling (http://www.markembling.info/) | |
| # Is the current directory a git repository/working copy? | |
| function isCurrentDirectoryGitRepository { | |
| if ((Test-Path ".git") -eq $TRUE) { | |
| return $TRUE | |
| } | |
| # Test within parent dirs |