Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# Consider the record contains the time stamp of the event in a record key called 'timestamp' | |
# e.g. "timestamp": "1502217900063" | |
# The below will add a new record called `formatted_date` that will include an iso8601(3) formatted date string with milliseconds, | |
# the trick was to extract from the long epoch value the seconds & remaining milliseconds and convert it to microseconds since Time.at() accepts: | |
# `Time.at(seconds, microseconds_with_frac) → time` | |
<filter tag.*> | |
@type record_modifier | |
<record> |
{ | |
"tileInfo": [ | |
{ | |
"start": 3, | |
"end": 25, | |
"endMillis": 1535542604486, | |
"users": [ | |
"06981672446100480936", | |
"03685920490996254104" | |
], |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start