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
[{"alpha2":"AW","description":"Aruba","numeric":533,"regionCode":"B","alpha3":"ABW"},{"alpha2":"AF","description":"Afghanistan","numeric":4,"regionCode":"E","alpha3":"AFG"},{"alpha2":"AO","description":"Angola","numeric":24,"regionCode":"E","alpha3":"AGO"},{"alpha2":"AI","description":"Anguilla","numeric":660,"regionCode":"B","alpha3":"AIA"},{"alpha2":"AX","description":"Åland Islands","numeric":248,"regionCode":"D","alpha3":"ALA"},{"alpha2":"AL","description":"Albania","numeric":8,"regionCode":"D","alpha3":"ALB"},{"alpha2":"AD","description":"Andorra","numeric":20,"regionCode":"D","alpha3":"AND"},{"alpha2":"AE","description":"United Arab Emirates","numeric":784,"regionCode":"E","alpha3":"ARE"},{"alpha2":"AR","description":"Argentina","numeric":32,"regionCode":"B","alpha3":"ARG"},{"alpha2":"AM","description":"Armenia","numeric":51,"regionCode":"D","alpha3":"ARM"},{"alpha2":"AS","description":"American Samoa","numeric":16,"regionCode":"C","alpha3":"ASM"},{"alpha2":"AQ","description":"Antarctica","numeric":10," |
Data from vote 626
Remove type for ES 7.
POST _bulk
{"index":{"_index":"votes","_type":"doc","_id":"1"}}
{"canton":"Zürich","votes":{"yes":148438,"no":222301},"participation":40.2}
{"index":{"_index":"votes","_type":"doc","_id":"2"}}
{"canton":"Bern","votes":{"yes":96671,"no":179706},"participation":37.8}
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
input { | |
file { | |
path => "/home/vinh/development/projects/geek-fortune-cookies/databases/programming-wisdom" | |
sincedb_path => "/dev/null" | |
start_position => "beginning" | |
codec => multiline { | |
pattern => "^\%" | |
negate => true | |
what => "previous" | |
charset => "UTF-8" |
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
#!/usr/bin/zsh | |
echo "detecting shell:" | |
if [[ -n ${ZSH_VERSION} ]] && [[ ! -z ${ZSH_VERSION} ]]; then | |
INDEX_START=1 | |
INDEX_OFFSET=0 | |
echo " using zsh $ZSH_VERSION, index starts at $INDEX_START" | |
elif [[ -n $BASH_VERSION ]]; then | |
INDEX_START=0 | |
INDEX_OFFSET=1 |
┌──Payments───────┐ _._
│ ┌─────────────┐ │ _.-``__ ''-._
│ │ Terminal │ │ _.-`` `. `_. ''-._
│ └─────────────┘ │ .-`` .-```. ```\/ _.,_ ''-._
└────────┬────────┘ ( ' , .-` | `, )
│ |`-._`-...-` __...-.``-._|'` _.-'|
│ | `-._ `._ / _.-' |
▼ `-._ `-._ `-./ _.-' _.-'
┌─────────────────┐ |`-._`-._ `-.__.-' _.-'_.-'|
NewerOlder