Skip to content

Instantly share code, notes, and snippets.

# Apple Watch Emergency SOS Feature
Apple watches come in 2 varieties now. 1 is Wifi only and the 2nd is Cellular and Wifi.
The official apple documentation for how Emergency SOS works is here: https://support.apple.com/en-us/HT206983
Basically the WIFI models need to be near your iPhone or connected to the Internet via Wifi and setup properly. So for it to call 911, the WiFi model must be within 30ft or so of your phone.
The cell versions just work everywhere there is cell signal, and not all of Emergency SOS will work without a plan, the calling 911 part WILL work even if the watch was never connected to a cellular plan. There is a caveat, it can take an extra few minutes(say 5 minutes or less) for the watch to find a cell signal and dial 911 for you when it doesn't have a cell plan.
@csawyerYumaed
csawyerYumaed / nomad-check.py
Created October 17, 2016 16:22
after running a nomad job, check, verify and if failed, roll-back to previous build.
#!/usr/bin/env python
"""
As part of my jenkins build-pipeline, I'm having jenkins build and then deploy my services directly into nomad.
my build and deploy in jenkins looks like this:
docker build -t pdfservice:$BUILD_NUMBER .
docker tag pdfservice:$BUILD_NUMBER registry.service.consul:5000/pdfservice:$BUILD_NUMBER
docker push registry.service.consul:5000/pdfservice:$BUILD_NUMBER
docker build -t pdfservice:latest .
docker tag pdfservice:latest registry.service.consul:5000/pdfservice:latest
docker push registry.service.consul:5000/pdfservice:latest