SSH using SSM

One of the features of using SSM is the ability to access an EC2 command line from the AWS console. But you can also use the SSM plugin to SSH into an EC2 instance from the command line. ...

March 30, 2022 · 1 min · Boy Plankton

am01-echo-09.com

I’ve played Ingress since Beta, and I’ve maintained a record of our local cell scores for several years. I started with a copy of nr13-romeo-08.com, registered the domain name am01-echo-09.com, and began publishing the cell score. ...

January 19, 2022 · 1 min · Boy Plankton

dig.wtf

Years ago, I needed to run dig on my cellphone, and there weren’t great solutions at the time. Most websites that would allow you to run dig or nslookup commands weren’t optimized for cell phones, and it’s surprising how often I needed to run dig commands from hosts outside corporate firewalls. The first version of dig.wtf was written in Golang and ran on AWS Elastic Beanstalk. I rewrote the site in Python to run in Lambda a couple of years later....

May 31, 2021 · 2 min · Boy Plankton

S2

s2sphere Python Module Lat and Long Precision Convert a latitude and longitude from their integer forms (we prefer integers to floating points because the latter results in too large a loss of precision) to a level 30 cell ID. This conversion will result in a loss of precision by a few centimeters. lat = 37791541 lng = -122390014 cellid = s2sphere.CellId.from_lat_lng(s2sphere.LatLng.from_degrees(lat/1e6,lng/1e6)) print(f"LatLong: {cellid.to_lat_lng()}") LatLong: LatLng: 37.79154098519877,-122.39001395963571 The average size of a level 30 S2 cell is 0....

May 9, 2020 · 3 min · Boy Plankton