apt update failing because it can’t connect to ppa.launchpad.net

When I try to update using apt update, I get the following errors. Err:10 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out Could not connect to ppa.launchpad.net:80 (2001:67c:1560:8008::15), connection timed out Err:11 http://ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu bionic InRelease Unable to connect to ppa.launchpad.net:http: Err:12 http://ppa.launchpad.net/tista/plata-theme/ubuntu bionic InRelease Unable to connect to ppa.launchpad.net:http: Err:13 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu…

Details

kubectl not showing new context create in GCP

From client A, I created a new kubernetes cluster in GCP as follows: $ gcloud container clusters create my-new-cluster –num-nodes 3 From client A, I can see the new context was created: $ kubectl config get-contexts CURRENT NAME CLUSTER AUTHINFO NAMESPACE * gke_learn-k8s-261120_us-west1-b_my-new-cluster gke_learn-k8s-261120_us-west1-b_my-new-cluster gke_learn-k8s-261120_us-west1-b_my-new-cluster gke_learn-k8s-261120_us-west1-b_kubia gke_learn-k8s-261120_us-west1-b_kubia gke_learn-k8s-261120_us-west1-b_kubia minikube minikube minikube But when I go…

Details

nginx proxy to S3 public bucket 404

I’m trying to proxy requests to an S3 bucket using the following nginx config: location /assets/(.*) { resolver 127.0.0.1; set $bucket “example.s3-us-west-2.amazonaws.com”; proxy_pass https://$bucket/${uri}; proxy_intercept_errors on; proxy_redirect off; proxy_set_header Host $bucket; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_hide_header x-amz-id-2; proxy_hide_header x-amz-request-id; } When I try to access any asset in the bucket that I know…

Details

How to clone egress UDP packets & send them to the same destination in order

This is what I want,LAN—- (UDP packets flow)—–>Router [Mirror UDP packets & send these packets to the same destination port/IP in order]——–> Internet. Any idea? Side note: I want to try if this work to reduce UDP packets loss by sending multiple packets to the destination server via it’s IP or port. Either method by…

Details

MS SQL Spatial Index and time for executing

I have the following table: CREATE TABLE [dbo].[CollectionSite]( [SiteCode] [nvarchar](32) NOT NULL, [AddressId] [int] NOT NULL, //… [Location] [geography] NOT NULL, table has approx 10000 records. I have the following linq query: var list = dataContext.CollectionSites.Where(p => p.Location.Distance(myLocation)<3000000).OrderBy(p => p.Location.Distance(myLocation)) .ToList(); It’s being executed approx 12-15 sec. Then I try to create a spatial index:…

Details