#!/usr/bin/env bash | |
# Download a file from s3 without any 3rd party tools | |
# thanks https://www.gyanblog.com/aws/how-upload-aws-s3-curl/ | |
file_path=$1 | |
bucket=$2 | |
set -eu pipefail | |
# about the file | |
filepath="/${bucket}/${file_path}" |
Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
server { | |
listen 80; | |
server_name www.example.com example.com; | |
#access_log /usr/share/nginx/html/example/logs/access.log; | |
#error_log /usr/share/nginx/html/example/logs/error.log; | |
location / { | |
root /usr/share/nginx/html/example; | |
index index.html index.htm index.php; |
If you're self-hosting your services and having trouble getting your emails through Gmail and infuriated by Google's non-existent support, you're not the only one. I'd like to share my experiences trying to get it sorted out.
I'm the author of the post above. You can tell how arrogant Google employees are from all the previous posts he made in the past.
In this article I'm going to walk you through process of creating Wordpress plugins. First I'm going to talk about some of the basic concepts in Wordpress plugin development like the actions, hooks, and API's that makes up Wordpress. Then were going to build a plugin where we apply some of the concepts and best practices in developing Wordpress plugins.
###Prerequisites
In order to fully benefit from this tutorial you should have a basic knowledge on PHP. As Wordpress is running on PHP and most of the code that we will be writing will be on PHP. A little bit of knowledge on HTML, CSS and JavaScript is also helpful but not required for this tutorial.