To set up your policy: Follow these instructions from Amazon to Add an S3 Bucket Policy. For the step where you enter the policy in the Bucket…
Have a nice day!
To set up your policy: Follow these instructions from Amazon to Add an S3 Bucket Policy. For the step where you enter the policy in the Bucket…
If you apply the PHP function utf8_encode() to an already-UTF8 string it will return a garbled UTF8 string. This class addresses this issue and provides…
Process incoming emails with SES, Lambda. Store attachment files in S3, Store email contents in PostgreSql. Angular for building Admin Dashboard
The FS module provides an API for interacting with the file system, folders. We can use it to remove files, folder. But if your node.js…
My case: I have to make an api to download some images, zip them, and send back to client: Client call api to request a…
In order to update the angular-cli package installed globally in your system, you need to run: npm uninstall -g angular-cli npm cache clean # or(if…
Simple way to hot reload your Node.js application is: using Nodemon In your package.json, rewrite the npm start “scripts”: { “start”: “nodemon ./bin/www”} We can…
Simple ways to determine root path of your node.js applications: Add this somewhere towards the start of your main app file: app.js Use it just…
Simple way to log all queries in wordpress: Add the below code in your functions.php
Varnish Cache là một phần mềm tăng tốc website (web application accelerator) và thường được biết đến như là caching HTTP reverse proxy. Khi có request đến, Varnish sẽ gửi request đến server để xử lý, nhận lại dữ liệu, lưu lại dữ liệu, gửi dữ liệu cho người dùng. Và những lần request sau Varnish sẽ sử dụng các dữ liệu cache trước đó trả lại …
Đây là lỗi hay xảy ra khi bạn mới tạo playlist lần đầu. Nếu bạn vừa mới up nhạc hay tạo playlist lần đầu tiên trên soundcloud thì bạn sẽ chỉ add được nhạc vào playlist mới. Cứ mỗi lần up nhạc lên là lại add vào 1 playlist mới.
Vào ngày 05-12 vừa qua Microsoft đã công bố họ sẽ đưa Chakra Javascript engine của họ lên GitHub như một mã nguồn mở vào tháng tới (01/2016) theo giấy phép của MIT. Repository trên GitHub này sẽ có tên là ChakraCore.
Có khi nào bạn muốn custom select box mặc định với những màu sắc khác, background khác đẹp hơn, hiển thị được tốt trên cả những trình duyệt khó tính như IE ko? Hãy theo dõi thử ví dụ dưới đây để thử tạo 1 select box mới theo ý mình.