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 {useEffect, useState} from 'react'; | |
| import {Alert} from 'react-native'; | |
| import BackgroundGeolocation from '@mauron85/react-native-background-geolocation'; | |
| import {defaultLocation} from '../utils/vars'; | |
| import {getDistanceFromLatLonInKm} from '../utils/getDistance'; | |
| const useTracking = (isActive: boolean) => { | |
| const [location, setLocation] = useState(defaultLocation); | |
| const [history, setHistory] = useState<any>([]); | |
| const [distance, setDistance] = useState<number>(0); | 
  
    
      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 WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> | 
  
    
      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
    
  
  
    
  | public class MainActivity extends Activity { | |
| private Permissions mPermissions; | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| mPermissions = Permissions.with(this); | |
| } | 
  
    
      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
    
  
  
    
  | // Photoshop Script to Create iPhone Icons from iTunesArtwork | |
| // Original: https://gist.github.com/appsbynight/3681050 | |
| // Turn debugger on. 0 is off. | |
| // $.level = 1; | |
| try | |
| { | |
| // Prompt user to select iTunesArtwork file. Clicking "Cancel" returns null. | |
| var iTunesArtwork = File.openDialog("Select a sqaure PNG file that is at least 1024x1024.", "*.png", false); | 
  
    
      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 | |
| add_action('admin_init', 'add_meta_boxes', 1); | |
| function add_meta_boxes() { | |
| add_meta_box( 'repeatable-fields', 'Audio Playlist', 'repeatable_meta_box_display', 'post', 'normal', 'high'); | |
| } | |
| function repeatable_meta_box_display() { | |
| global $post; | 
  
    
      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
    
  
  
    
  | /* | |
| * Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/ | |
| */ | |
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) | |
| and (max-device-width : 480px) { | |
| /* Styles */ | |
| } | 
  
    
      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
    
  
  
    
  | <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <title>Animated Icons (example)</title> | |
| <style type="text/css"> | |
| body { | 
  
    
      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 | |
| function getFilesInDirectoryAsArray($directory, $recursive, $arrFilter=array()) { | |
| $arrItems = array(); | |
| if(substr($directory, strlen($directory)-1, 1) != "/"){ | |
| $directory.="/"; | |
| } | |
| if(count($arrFilter)){ | |
| $filterMap=array(); | |
| for($i=0;$i<count($arrFilter);$i++){ | |
| $filterMap[$arrFilter[$i]]=true; | 
