PandaTec Blog

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,...

Miele W 1065 Back 0

Miele W 1065 – Wiring for 110 Volts

I got yesterday one of these Miele beauties. She is over 20 years old, and my guess is that she weights around 250 pounds. Yes, it was though carrying it downstairs from is previous owner...

WordPress HTTP Error when uploading files 0

WordPress HTTP Error when uploading files

Today I got this error when uploading a video to my WordPress site. I Googled around for a little bit, but the proposed solution wasn’t working. It turns out that since I am using...

0

SET Game Visual Solver

For those of you that have never played SET® before, SET® is a fast-paced game involving 81 unique cards with different combinations of four characteristics (color [red, green, or purple], shape [diamond, oval, or...