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
    
  
  
    
  | """Get named timezone for a location on macOS using CoreLocation | |
| To use this script, you need to have pyobjc-core and pyobjc-framework-CoreLocation installed: | |
| pip install pyobjc-core pyobjc-framework-CoreLocation | |
| This script uses CoreLocation to get the timezone for a given latitude and longitude | |
| as well as the timezone offset for a given date. | |
| It effectively does the same thing as python packages like [tzfpy](https://pypi.org/project/tzfpy/) | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # | |
| # this script will attempt to detect any ephemeral drives on an EC2 node and create a RAID-0 stripe | |
| # mounted at /mnt. It should be run early on the first boot of the system. | |
| # | |
| # Beware, This script is NOT fully idempotent. | |
| # | |
| METADATA_URL_BASE="http://169.254.169.254/2012-01-12" |