Syntastic is a plugin for Vim that can check the currently displayed code for syntax errors and mark those lines with the error messages. This is a type of feature that is typically available in an IDE. This is useful since compile or run-time errors in C++ (or any other language) can be discovered while writing the code without going outside Vim.
What's the best approach for allowing, say, two external IP addresses?
Adding another rule negating another IP won't work as the 1st negation would have already matched and returned from the table.
One approach is to create a PRE_DOCKER table with a final return of DROP or REJECT before the DOCKER table.
This blog post will detail a method for this approach that's working well for my use case using Ubuntu 14.04 and Docker v1.7.
Also see https://forums.docker.com/t/restricting-external-container-access-with-iptables/2225
Provision, manage and monitor your Docker containers
Build, Test and Deploy your applications
Providing the ability for clients to cache static file requests is very important. It prevents the unneeded transfer of (static) files from server to client. Caching doesn’t only speedup things for the client, but also decreases the server load.
But which caching mechanisms does Caddy provide, and how can they be enabled?
Getting caching right yields huge performance benefits, saves bandwidth, and reduces server costs, but many sites half-arse their caching, creating race conditions resulting in interdependent resources getting out of sync.
WARNING This is a restrictive setup that will block access to some/many clients. Please evaluate your site and client base before enabling this!
"ssl_trusted_certificate should contain your CA root certificate and any intermediate certificates needed to validate your server certificate. nginx uses this to verify the OCSP response received from the CA. If you have an intermediate certificate in your configured ssl_certificate file, you will need that same intermediate certificate in the ssl_trusted_certificate file. The order of the certificates does not seem to matter, it worked for me with CA root cert first followed by the intermediate certificates, and the other way around."
Things get really interesting when you mix senfile, tcp_nodelay and tcp_nopush together.
I’ve been using git full time for the past 4 years, and I wanted to share the most practical tips that I’ve learned along the way. Hopefully, it will be useful to somebody out there.
If you are completely new to git, I suggest reading Git Cheat Sheet first or checking out this free tutorial. This article is aimed at somebody who has been using git for three months or more.
"Increase the Maximum Allowed Asset Size
Assets, i.e. binary documents like pdf and images, are stored as a single packet. This means that max allowed packet should be large enought to accomodate these. The 1MB default is usually not enough, so you can increase the max_allowed_packet variable of your MySQL server to allow for larger assets. We advise to not raise this further than necessary as performance will be reduced."