Perspective Unspoken

My perspective on Git, Docker, Python, Django, PHP and other stuff

Work faster from the command line with Docker and Django

If you’re anything like me, speed is important to you. If speed is important then you need to keep your keystrokes to a minimum. We define functions anytime we realize there’s a bit of code that’s potentially reusable. Well… we should do the same working from the command line. While working with Docker and Django,…

Continue Reading

Django’s templating engine is simpler than you think

I’ve always wondered how Django’s template engine worked. How does it go about parsing and making sense of all the markup we write in our templates? I figured it had to involve a Parser and a Lexer because I paid attention in Compiler class back in school. I also saw a post on SO that…

Continue Reading

A simple way to setup Laravel with Docker

Laravel, from what I’ve read is a great framework for PHP. I’ve heard it’s fast, small and many other things. I decided to give it a try on my foray back into the PHP world. On visiting the Laravel website and scrolling to the Installation I realize they’ve got a nice virtual machine available for…

Continue Reading

Cleaning up after your Docker

So Docker tends to leave alot of things around and you can end up with insufficient space. Here are two commands you can run to keep your Docker environment clean.

The first command removes any dangling volumes. The second command removes any images that are of no use to you.