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
curl -X POST "localhost:9200/person/_bulk?pretty" -H 'Content-Type: application/json' -d' | |
{ "index":{} } | |
{ "name":"john doe","age":25 } | |
{ "index":{} } | |
{ "name":"mary smith","age":32 } | |
{ "index":{} } | |
{ "name":"robin green","age":15 } | |
{ "index":{} } | |
{ "name":"fred white","age":68 } | |
' |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucketMultipartUploads", | |
"s3:DeleteBucketWebsite", | |
"s3:DeleteObjectVersion", |
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
[Unit] | |
Description=A unified push service for server-side notification to apps on mobile devices. | |
After=network.target | |
[Service] | |
PIDFile=/run/uniqush-push.pid | |
ExecStart=/usr/bin/uniqush-push -config=/etc/uniqush/uniqush-push.conf | |
ExecReload=/usr/bin/uniqush-push -config=/etc/uniqush/uniqush-push.conf | |
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/uniqush-push.pid | |
TimeoutStopSec=5 |
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
/** | |
* Typing animation with pure CSS. | |
* Works best in browsers supporting the ch unit. | |
*/ | |
@keyframes typing { from { width: 0; } } | |
@keyframes blink-caret { 50% { border-color: transparent; } } | |
h1 { | |
font: bold 200% Consolas, Monaco, monospace; |