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
| <?php | |
| $json = 'YOUR JOSN HERE'; | |
| $patterns = json_decode($json); | |
| $patternObjects = array(); | |
| foreach ($patterns->patterns as $pattern) { | |
| $patternObj = new Pattern(); | |
| $patternObjects[] = mapJsonToObject($patternObj, $pattern); | |
| } |
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
| var map; | |
| var saveLat = 0; | |
| var saveLng = 0; | |
| var lat = 23.71003142406148; | |
| var lon = 90.407231156616290; | |
| var image = "<?php echo site_url('assets/images/pirates.png')?>"; | |
| if (!navigator.geolocation) { | |
| alert('Get a better browser'); | |
| } |
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
| =begin | |
| author Eftakhairul Islam <[email protected]> | |
| website http://eftakhairul.com | |
| =end | |
| #My First Program at Ruby. | |
| puts 'Hello World' | |
| puts ("I'm here") |
NewerOlder