Kamal's Blog

HomeBadges
Blog Author Picture

Kamal Mustafa

1 follower

Random notes around Linux, Python, Django and Vuejs

AWS API Gateway gotchas

Jan 11, 20211 min read

Looks like you can't get the raw request url or query parameters:- Query parameters get in different order . You can't pass parameters with same key to simulate arrays . API Gateway already decoding the query params so if your params has some esoter...

Django TransactionTestCase and django-q sync

Nov 28, 20204 min read

Django provides 2 base class that you can use to write tests for your django app - TestCase and TransactionTestCase. Most of the time TestCase is what you will be used. It's faster as it runs each test within a transaction and rollback the transactio...

Stuff I found today #1

Nov 28, 20202 min read

Aleph.js Web framework in Deno. What's special I think it geared towards frontend developer. One thing caught my eyes is the use of pages routing. So you drop a file in ./pages/about.tsx and it will available as /about/ url. Reminds me to PHP ;) You ...

Testing js lib on production

Nov 28, 20202 min read

To troubleshoot some issue with websocket connection on production, I need to test the library (reconnecting-websocket) that we use to manage the connection. I want to do some testing in dev console. The problem is that the library is not available i...

Google Chat bot

Nov 28, 20203 min read

I did this months ago so almost forgot most of the details. I'm supposed to write this earlier but keep forgetting it, sigh. So here I'll just write down all the resources I bumped into while doing it. I'll put the context if I can remember it. https...

Test blogging on hashnode

Aug 4, 2019

Test blogging. Adding photos is a breeze, so +1.

© 2021 Kamal's Blog

PrivacyTerms
Proudly part of