PandaTec Blog

Matplotlib Basemap 0

Install matplotlib basemap on virtualenv

I am using Python3.6 and MacOS 10.13.2(Beta) but should work with similar setups. First create and activate your virtual environment, by default mine is created on top of Python3.6. ~ ❯❯❯ mkvirtualenv basemap-virtualenv […]...

0

Fendera.com Great affordable WordPress Hosting

Web development stack I’ve built quite a few websites for clients, friends, family and for myself too in the last few years, some examples are: kunstwinder.com, southcitysmile.com or this very blog. Over time, I’ve polished...

0

WordPress Enfold YouTube video only displaying link

I had a problem recently on a website using WordPress and the Enfold theme. A YouTube video that was initially marked as private, but later updated to public (embeddable) was still only showing the...

Stripe Logo 1

Python Stripe Signature Verification Error

Building a Django + Stripe integration today I kept hitting the SignatureVerificationError. According to their webhook’s documentation, they recommend something like this: @csrf_exempt def my_webhook_view(request): payload = request.body sig_header = request.META[‘HTTP_STRIPE_SIGNATURE’] event = None...

OnePlus 3t 0

Repair experience OnePlus 3t

After many months of use without a case, I finally managed to crack the screen of my One Plus 3t. I researched online to try a repair on my own, but eventually, and from...

0

Android RNE App

Spanish Radio and TV (RTVE) is a government funded entity that since 1956 has been broadcasting several TV and Radio channels. Living abroad from home is thought but the radio programs from RTVE are...

Docker Alpine+Python3+Django+uWGSI+Nginx 0

Docker Alpine+Python3+Django+uWGSI+Nginx

Django works great when you are running in local, but the moment you decide to move onto production, the headaches begin… Since a few months ago I deploy everything using Docker, the result is...

Redshift UDF Phone Number to Country 0

Redshift UDF Phone Number to Country

Redshift’s UDFs (User Defined Functions) permit to execute, with some limitations, certain Python libraries and custom code. In my case, I wanted to find a way to extract the country code from a phone...

DDWRT Logo 0

DD-WRT Remote SSH Access behind VPN

SSH access doesn’t work when OpenVPN client is enabled on DD-WRT. Packages do arrive at the router if you try to SSH against the WAN IP, however, because all OUTPUT  traffic is diverted through...

Redshift Force Drop User 0

Redshift Force Drop User

Ever tried dropping a user in Redshift only to discover that user “user_1” cannot be dropped because the user has a privilege on some object. That’s not of great help Redshift. Luckily for us,...