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
[general] | |
state_file = /var/lib/awslogs/agent-state | |
use_gzip_http_content_encoding = true | |
[/var/log/messages] | |
file = /var/log/messages | |
log_group_name = /var/log/messages | |
log_stream_name = {instance_id} | |
datetime_format = %Y-%m-%d %H:%M:%S |
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
# 俺得Linuxコマンド集 | |
## CPU使用率TOP10を表示する | |
`ps -e aux | sort -r -k 3 | head -n 10` | |
## メモリ占有率TOP10を表示する | |
`ps -e aux | sort -r -k 4 | head -n 10` | |
## 項目名がウザい場合は以下の文字列を付与する | |
`ps --no-header` |
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
- 1Password 7.app | |
- 1Password 7.app.zip | |
- AVGAntivirus.app | |
- AWS Schema Conversion Tool.app | |
- Adobe | |
- Adobe Acrobat Reader DC.app | |
- Adobe Creative Cloud | |
- Adobe Lightroom CC | |
- Airmail 2.app | |
- Alfred 3.app |
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
Include */config | |
ServerAliveInterval 30 | |
Host github.com | |
HostName github.com | |
IdentityFile ~/.ssh/id_ricoh_github_rsa | |
User git | |
Host heroku.com | |
User git |
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
# | |
# Sets Prezto options. | |
# | |
# Authors: | |
# Sorin Ionescu <[email protected]> | |
# | |
# | |
# General | |
# |
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
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <[email protected]> | |
# | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: cloudwatchlogs to firehose direct (no lambda) 20180520 | |
Parameters: | |
TargetLogGroup: | |
Description: 'Input target log group' | |
Type: String | |
Default: '' | |
TargetS3bucket: | |
Description: 'Input S3 bucket name to save' | |
Type: String |
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
adns | |
ansible | |
apr | |
apr-util | |
asciinema | |
aspell | |
auto-scaling | |
autoconf | |
autojump | |
automake |
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 | |
# Tags.Name取得 | |
export NAME_SSM2EC2=$(aws ec2 describe-instances --profile $1 --region $2\ | |
--query "Reservations[].Instances[].Tags[?contains(Key, \`Name\`)].Value[]" | \ | |
sed -e 's/[]" ,\[]//g' | \ | |
sed -e "/^$/d" | peco) | |
# instance-id取得 | |
export ID_SSM2EC2=$(aws ec2 describe-instances --profile $1 --region $2 --query "Reservations[].Instances[?contains(Tags[].Value, \`${NAME_SSM2EC2}\`)].InstanceId[]" | sed -e 's/[]" ,\[]//g' | sed -e '/^$/d') |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "ElasticBeanstalk in VPC Bestpractice Template For MonstarLab,Inc.", | |
"Parameters": { | |
"SSHLocation" : { | |
"Description" : " The IP address range that can be used to SSH to the EC2 instances", | |
"Type": "String", | |
"MinLength": "9", | |
"MaxLength": "18", | |
"Default": "0.0.0.0/0", |
NewerOlder