Event Loop Tasks

A pictorial to understanding async loopings

»
Author's profile picture David Chua on devnotes

Packaging your Python Packages into PyPI (pip)

This is a quick walkthrough on submiting your module for a package. Most of it has been distiled from Peter Down’s article so any credits please send it his way. I’ve modified the walkthrough to use setuptools instead of disutils

»
Author's profile picture David Chua on guide

Installing GRPC, Protobuf and its dependencies for Python Development

Been having some trouble getting my local machine setup for GRPC development lately.

»
Author's profile picture David Chua on guide

Debugging Websockets with wscat (Websocket CLI Terminal)

So I’m currently working on a Websocket implementation from almost-scratch (Tornado/Websockets) and I’m working on implementing some form of rooms/channel functionality. This is mostly just for my learning experience to dive deeper into Python.

»
Author's profile picture David Chua on devnotes

Converting KML into GeoJSON for Mongoimport & Querying

First, you need to install kml2geojson.

»
Author's profile picture David Chua on guides

Debugging in Python

Miss being able to inspect, debug and run expressions in between your code?

»
Author's profile picture David Chua on notes

Understanding Python Decorators

Decorators are functions that replaces an existing function with another function with the original function as a parameter.

»
Author's profile picture David Chua on notes

Running virtualenvwrapper with pyenv

Virtualenvwrapper is a great way to manage your different python package environment. How would you then manage the different package environment ontop of your different python environments?

»
Author's profile picture David Chua on guides

Installing pyenv - RVM for Python

One of the things I’ve missed while learning python, is the ability to manage and switch between python versions.

»
Author's profile picture David Chua on guide

Writing a Serverless Python Microservice with AWS Lambda and AWS API Gateway

Serverless Architectures are the rage nowadays. In this article, I’ll attempt to walkthrough the process of writing a Serverless Microservice with AWS Lambda and Amazon API Gateway.

»
Author's profile picture David Chua on devops

Disable wordwrapping for easier markdown composing in vim

If you’re writting a really long prose in markdown, you probably have experienced the annoying thing that vim does when dealing with a long line; it creates linebreaks when your textwidth value is met.

»
Author's profile picture David Chua on vim and howtos

Getting npm packages to be installed with docker-compose

If you’re trying to deploy your node app into a docker container and you’re also
using docker-compose, here’s something to watch out for.

»
Author's profile picture David Chua on devops

4 Tips to Supercharge your Jekyll Static Site Hosting

Supercharge your Jekyll site with these 4 tips.

»
Author's profile picture David Chua on sysadmin

SSH Agent Forwarding with your Docker Container

Quick tip:

»
Author's profile picture David Chua

Using Graylog Extractors to Split Logs

If you’re new to Graylog, Graylog Extractors are a great way to pull out information from your logs for easier storing and manipulation.

»
Author's profile picture David Chua