If you are a machine learning or crypto aficionado and have built a mini datacenter at home with a couple of GPU-attached machines, you might be spending your precious time managing your workloads on your machines. How do you reconfigure everything and deploy your workloads when you decide to reformat…
Although Istio documentation does not specify how to enable GZIP compression, it is in fact possible to enable it via the built-in Compressor filter.
Assuming that you want to enable GZIP compression on specific applications, the following EnvoyFilter manifest will do the trick:
In complex environments where different teams run their own Google Cloud projects, it is challenging to make sure that a service in a project can be only accessed by specific applications running on other Google Cloud Projects. …
Let us say that you do not want to www. subdomain for your website and want to have a 301 redirect to non-www version. There are millions of way of doing that, but luckily you are on AWS, you serve your domain via Route53. …
If you’ve ever worked in a corporate environment where the infrastructure is deployed on AWS, you should have dealt with resources…
Serverless computing has become a hot topic since AWS Lambda and Amazon API Gateway started to offer an elegant way to build and deploy REST APIs without needing to maintain 24/7 running servers and infrastructure, with attractive pricing models.
Although HAproxy is very effective solution in terms of CPU usage, SSL offloading obviously needs more CPU power, thus, using…
As we all know, Zend Framework 2 handles 404 not found event, so whenever you set HttpResponse’s status code in a controller with
$response = $this->getResponse();
Loading a content via AJAX in a Bootstrap popover is a very common pattern and, although it is not supported out of the box by Bootstrap, it is very easy to get this functionality with jQuery.
First we should add a
data-poload attribute to the elements you would like to add a pop over to. The content of this attribute should be the url to be loaded (absolute or relative):
<a href="#" title="blabla" data-poload="/test.php">blabla</a>
off('hover') prevents loading data more than once and
popover() binds a new hover event. If you want the data to be refreshed at every hover event, you should remove the
Please see the working JSFiddle of the example.
This blog post is created using my original answer on stackoverflow.