This is a gist used in the following blog posts:
This file contains 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
#!/bin/bash | |
echo "Zone,Country,Network,Code,399?,899?" | |
# Take note of the -Mj + -Mr jq trick. Extremely useful! | |
curl -G -s 'http://dtac.co.th/gointer-2019/rates.php?lang=EN' \ | |
| jq -Mr '.country | |
| (.Asia | map(["Asia", .])) | |
+ (.Oceania | map(["Oceania", .])) | |
+ (.America | map(["America", .])) |
This file contains 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
พรรค | สส | |
---|---|---|
เพื่อไทย | 138 | |
พลังประชารัฐ | 96 | |
ภูมิใจไทย | 39 | |
ประชาธิปัตย์ | 33 | |
อนาคตใหม่ | 30 | |
ชาติไทยพัฒนา | 7 | |
ประชาชาติ | 6 | |
รวมพลังประชาชาติไทย | 1 |
This file contains 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
Tin Toy for STEEM. Please have a look at the README.md file or check it out on Docker Hub: https://hub.docker.com/r/inertia/tintoy/ |
I hereby claim:
- I am teesid on github.
- I am teesid (https://keybase.io/teesid) on keybase.
- I have a public key ASARIq-UV25po6Hba9Ynlc0zFTShUfyQDtoKTeT3de_2Dgo
To claim this, I am signing this object: