AWS 雲端日 將在以下城市與大家見面:
- 城市: 高雄
- 日期: 2016 年 03 月 15 日(星期二)
- 時間: 09:30 - 17:00 (8:30 - 0930 報到)
| #! /usr/bin/python | |
| # | |
| # Query and display EC2 metadata related to the AMI instance | |
| # Copyright (c) 2009 Canonical Ltd. (Canonical Contributor Agreement 2.5) | |
| # | |
| # Author: Alon Swartz <[email protected]> | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 2 of the License, or |
AWS 雲端日 將在以下城市與大家見面:
| /home/USERNAME/workspace/laravel/storage/logs/laravel.log { | |
| daily | |
| missingok | |
| rotate 7 | |
| maxage 7 | |
| compress | |
| notifempty | |
| create 644 www-data www-data | |
| su www-data www-data | |
| } |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.docker.docker-machine</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/bin/docker-machine</string> | |
| <string>start</string> |
| #!/bin/bash | |
| # virtualenv-auto-activate.sh | |
| # | |
| # Installation: | |
| # Add this line to your .bashrc or .bash-profile: | |
| # | |
| # source /path/to/virtualenv-auto-activate.sh | |
| # | |
| # Go to your project folder, run "virtualenv .venv", so your project folder | |
| # has a .venv folder at the top level, next to your version control directory. |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.zabbix.zabbix_agentd</string> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>KeepAlive</key> | |
| <dict> |
| #!/bin/bash | |
| # ============================================================ | |
| # Author: 凍仁翔 / chusiang.lai (at) gmail.com | |
| # Blog: http://note.drx.tw | |
| # Filename: create-swapfile.sh | |
| # Modified: 2015-04-22 09:50 | |
| # Description: Enable swap with swapfile for Linux. | |
| # Reference: | |
| # 1. Linux Add a Swap File | nixCraft | |
| # - http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/ |
| #!/bin/bash | |
| # ============================================================ | |
| # Author: 凍仁翔 / chusiang.lai (at) gmail.com | |
| # Blog: http://note.drx.tw | |
| # Filename: change-timezone-centos.sh | |
| # Modified: 2015-03-25 11:31 | |
| # Description: Change Timezone to Taipei, Asia on CentOS. | |
| # Reference: | |
| # | |
| # 1. Change Timezone in CentOS | Chris Jean |
| # deb cdrom:[Debian GNU/Linux testing _Wheezy_ - Official Snapshot amd64 CD Binary-1 20130121-05:03]/ wheezy main | |
| deb http://opensource.nchc.org.tw/debian/ wheezy main contrib non-free | |
| deb-src http://opensource.nchc.org.tw/debian/ wheezy main contrib non-free | |
| deb http://opensource.nchc.org.tw/debian/ wheezy-updates main contrib non-free | |
| deb-src http://opensource.nchc.org.tw/debian/ wheezy-updates main contrib non-free | |
| # backports for docker | |
| deb http://opensource.nchc.org.tw/debian/ wheezy-backports main |