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
$ python -c 'while True: pass' |
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
$ ./slack-notify.sh test |
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
use sampledb; | |
SELECT | |
table_name | |
, engine | |
, table_rows | |
, avg_row_length | |
, data_free | |
, floor((data_length+index_length)/1024/1024) as all_size_MB | |
, floor((data_length)/1024/1024) as data_size_MB |
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
log_format ltsv "time:$time_local" | |
"\thost:$remote_addr" | |
"\turi:$request_uri" | |
"\tmethod:$request_method" | |
"\tforwardedfor:$http_x_forwarded_for" | |
"\treq:$request" | |
"\tstatus:$status" | |
"\tsize:$body_bytes_sent" | |
"\treferer:$http_referer" | |
"\tua:$http_user_agent" |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: SNS Topic and EventBridge for SpotInstance Intteruption Notify | |
Parameters: | |
Env: | |
Type: String | |
Default: dev | |
AllowedValues: | |
- dev | |
- stg |
OlderNewer