圧縮
$ tar zcvf log`date +%Y%m%d`.tar.gz ./log| ######## | |
| # ~~~ | |
| ######## | |
| location /public { | |
| alias /var/app/current/public; | |
| gzip_static on; | |
| gzip on; | |
| expires 0; | |
| add_header Cache-Control public; |
| #!/bin/bash | |
| PLIST=platforms/ios/*/*-Info.plist | |
| echo 'exec overwrite_plist.sh' | |
| cat << EOF | | |
| Delete :CFBundleDevelopmentRegion | |
| Add :CFBundleDevelopmentRegion array | |
| Add :CFBundleDevelopmentRegion:0 string "Japanese" |
| [ | |
| { | |
| "code": 1, | |
| "name": "北海道", | |
| "name_e": "hokkaido", | |
| "name_h": "ほっかいどう", | |
| "name_k": "ホッカイドウ", | |
| "area": "北海道" | |
| }, | |
| { |
create new profile
$ brew update
$ brew upgrade aws-cli aws-elasticbeanstalk
$ aws configure --profile [profile-name]
# add setting ~/.aws/[config/credentials]
$ eb init --profile [profile-name]$ mkdir {your_app}
$ bundle init
$ vim Gemfile
# enable rails gem and edit version
gem "rails", '5.2.0'
$ bundle install --path=vendor/bundle --jobs=4please download files on your computer.
# example use postgresql
$ cd your_project_path
$ mv docker-compose-postgresql.yml docker-compose.yml
$ docker-compose up -d
# terminate
$ docker-compose down| #!/bin/sh | |
| # for Mac OS X | |
| # required sips command | |
| cd `dirname $0` | |
| outdir="icon.iconset" | |
| mkdir -p $outdir | |
| if [ -e "icon_512x512@2x.png" ]; then |
http://otona.connpass.com/event/44234/
コンピュータで表現される何らかの情報