postgresql:5432 を localhost:54321 で受ける例
ssh -i ~/.ssh/somekey.pem -L 54321:{postgresql_host_name}:5432 username@{bastion_host_name}
| # see: https://www.terraform.io/docs/backends/types/s3.html | |
| export AWS_PROFILE=xxx | |
| export AWS_REGION=xxx | |
| # AWS S3 Bucket (to persist tfstate) | |
| export AWS_BUCKET=xxx | |
| aws s3api create-bucket --bucket $AWS_BUCKET --create-bucket-configuration LocationConstraint=$AWS_REGION | |
| aws s3api put-bucket-versioning --bucket $AWS_BUCKET --versioning-configuration Status=Enabled | |
| aws s3api put-public-access-block --bucket $AWS_BUCKET --public-access-block-configuration "BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true" |
| ffmpeg -i xxx.mov -crf 30 xxx.mp4 |
postgresql:5432 を localhost:54321 で受ける例
ssh -i ~/.ssh/somekey.pem -L 54321:{postgresql_host_name}:5432 username@{bastion_host_name}
| docker run --restart=always -d -p 6379:6379 redis:latest redis-server |
| # Install PowerSehell (Mac) | |
| brew cask install powershell | |
| # Trast PSGallary | |
| Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | |
| # Install AWSPowerShell | |
| Install-Module -Name AWSPowerShell.NetCore -AllowClobber | |
| Import-Module AWSPowerShell.NetCore |
| gcim Win32_Processor | % { "$($_.NumberOfCores) cores" } | |
| # 4 cores | |
| gcim Win32_OperatingSystem | % { "$([int]($_.TotalVisibleMemorySize/1mb)) Gb" } | |
| # 7 Gb |
see https://enroute.osgi.org/FAQ/210-semantic_versioning.html
see https://hub.docker.com/r/yyoda/dotnet-lldb/
docker cp {CONTAINER_ID}:/tmp/coredump.1 ~
scp {IP}:~/coredump.1 .
| 予め以下のコマンドで接続しておくこと。 | |
| ```bash | |
| adb forward tcp:34999 localabstract:Unity-{BundleIdentifier} | |
| ``` | |
| BundleIdentifier: Project Settings -> Build Settings -> Player Settings -> Other Settings -> Identification -> Package Name |