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
| # DS-Lite修正 | |
| # 参考 | |
| # https://techlog.iij.ad.jp/contents/dslite-raspi | |
| REMOTE='' | |
| # SLAAC シングルの人は多分これでいける | |
| # LOCAL=`ip addr show br0 | grep 'mngtmpaddr' | awk '{print $2}' | awk -F/ '{print $1}'` | |
| # DHCP-PDv6の人はこっち | |
| LOCAL=`ip addr show br0 | grep 'inet6' | grep 'dynamic' | awk '{print $2}' | awk -F/ '{print $1}'` |
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 Foundation | |
| import CoreLocation | |
| extension CLLocation { | |
| // Alias for `horizontalAccuracy` (more readable) | |
| var uncertainty: Double { | |
| return horizontalAccuracy | |
| } | |
| } |