Skip to content

Commit 1c2a26f

Browse files
committed
Merge pull request holman#89 from bpeebles/fix-usgs-example
Use new USGS API for earthquake list
2 parents 3220671 + 93fd380 commit 1c2a26f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ Number of commits to the github/github Git repository, by author:
4141
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃▁▁▁▁▁▁▁▁▂▁▁▅▁▂▁▁▁▂▁▁▁▁▁▁▁▁▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁
4242
```
4343

44-
Magnitude of earthquakes over 1.0 in the last 24 hours:
44+
Magnitude of earthquakes worldwide 2.5 and above in the last 24 hours:
4545

4646
```sh
47-
› curl http://earthquake.usgs.gov/earthquakes/catalogs/eqs1day-M1.txt --silent |
47+
› curl earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.csv --silent |
4848
sed '1d' |
49-
cut -d, -f9 |
49+
cut -d, -f5 |
5050
spark
51-
▅▆▂▃▂▂▂▅▂▂▅▇▂▂▂▃▆▆▆▅▃▂▂▂▁▂▂▆▁▃▂▂▂▂▃▂▆▂▂▂▁▂▂▃▂▂▃▂▂▃▂▂▁▂▂▅▂▂▆▆▅▃▆
51+
▃█▅▅█▅▃▃▅█▃▃▁▅▅▃▃▅▁▁▃▃▃▃▃▅▃█▅▁▃▅▃█▃▁
5252
```
5353

5454
Code visualization. The number of characters of `spark` itself, by line, ignoring empty lines:

0 commit comments

Comments
 (0)