I hereby claim:
- I am jamestomasino on github.
- I am jamestomasino (https://keybase.io/jamestomasino) on keybase.
- I have a public key ASBvv4pa79-H9C3ADCHz5d6L8LyeHYh3STRVoLgqby0AEgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var analyticsPath = /(stage|staging|dev|test|testing)[\.-]/.test(document.location.hostname) ? 'u/analytics_debug.js' : 'analytics.js'; | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','//www.google-analytics.com/' + analyticsPath, 'ga'); | |
| ga('create', 'UA-XXXXXX', { 'cookieDomain': 'none' }); | |
| ga('send', 'pageview'); |
| <?php | |
| //Larger images can require more memory and time | |
| ini_set('memory_limit','2048M'); | |
| ini_set('max_execution_time','300'); | |
| //For testing purposes, I manually entered the input file name and destination folder | |
| $destinationDir = 'tiles/'; | |
| $fileName = 'map.jpg'; | |
| if (!file_exists($destinationDir)) { |
| function interval () { | |
| var lastTime = new Date().getTime() / 1000; | |
| return function getInterval () { | |
| var newTime = new Date().getTime() / 1000; | |
| var delta = newTime - lastTime; | |
| lastTime = newTime; | |
| return delta; | |
| }; | |
| } |