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
| def download_all_post_contents | |
| posts = @campaign.posts | |
| if posts.present? | |
| folder = "/tmp" | |
| file = "/tmp/archive#{Time.now.to_i}_.zip" | |
| urls = [] | |
| posts.each do |post| | |
| urls << post.filestack_image_url if post.filestack_image_url.present? | |
| urls << post.photo_attributes('original')['url'] if post.photo.present? |
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
| 19-02: | |
| 11h-1h: `check the business, show company field for business staff` | |
| 20-02: | |
| 10h30-12h30: `show the business form when editing user` | |
| 23-02: | |
| 9h-15h: | |
| ``` | |
| 2. Cho hiển thị trong parttime charges module | |
| 3. Xử lý Login giống với Parttime users | |
| 4. Xử lý bookings, payments, mailer khi book tương tự parttime |
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
- stash #git
http://stackoverflow.com/questions/20883152/convert-htaccess-rules-to-nginx-conf
http://serverfault.com/questions/23157/setting-expires-headers-for-static-content-served-from-nginx
nginx static content expires => key word
explanation:
https://www.erianna.com/nginx-expires-headers