Perspective Unspoken

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

Using “virtual environments” with NodeJS

Python developers are quite spoilt with the good habit of using virtual environments for every project. What are they and why are they useful? Well, for starters, typically each project we develop uses other code from other libraries or frameworks. Every project has some dependencies, whether it be for database, HTML parsing, scraping, complex math,…

Continue Reading

1

Making Code Igniter place nice with Mailgun

There are scenarios where your hosts’ email servers just don’t cut it *cough* GoDaddy *cough*. Sometimes you run into issues where emails are delivered on time or not at all. And to top it off, you find countless other persons complaining on Stack Overflow about the same problem. It’s time to move on. I inherited…

Continue Reading

Compiling React using Gulp and Babel

Babel is a great toolkit for doing all sorts of Javascript compilations. Maybe the most popular is ES2015. It’s also great for compiling React code. Turns out the setup process wasn’t too bad either. Babel has several hundred plugins that can be used to do all kinds of stuff. Fortunately, Babel has put together presets…

Continue Reading

Caching user content separately from general content in Django

I saw an amazing talk at Django Con by Nate Pinchot and had to write a follow up article about it. In his talk, Nate describes a two pass cache approach to caching that allows us to cache content for a specific user and content for all users independently. It’s amazing, awesome and ingenious! Let…

Continue Reading

How to know when to hard code

Hard coding has always been a bit of a bad word for me. Hard coding for the uninitiated means…. “Coding in such a way that you have to edit the code to get different behaviour” I’ve always loved dynamic solutions. Hard coding almost always feels like it’s the wrong answer… I can always hear that…

Continue Reading

Deploying with Fabric and Chef Solo (Part 1)

Fabric is a widely used library for SSH’ing into remote servers. It’s one of those libraries that really respect the zen of Python and makes for beautiful and seamless remote operations. Chef, now is well respected in the world of DevOps for being thee tool used for deployments and setting up of servers. At work…

Continue Reading

Using Munin to graph stats from Django

What’s Munin? Munin is a great tool for graphing any kind of statistics for your projects. The awesome thing about Munin is that the format it required is pretty straight forward. All we have to do to provide data for Munin is point it to a script that prints out data in a simple format….

Continue Reading

2 Python features I wish I knew from the get go

As developers we’re always learning and improving. New API’s come out, new versions of libraries come out, and we’re forever stuck expanding our minds, shifting paradigms and adopting new approaches. Ever so often though, we’ll find that we’re using a tool, as a daily driver even and we discover there are some features we just…

Continue Reading

600+ free icons for your webdesign projects

Icons are so essential in web design. A great choice of icon can be a perfect substitute for a longer, written line of text. Free high quality icons are sometimes pretty hard to come by. Here’s a pack of completely free icons for use in your own web design projects.   274 Free Icons This…

Continue Reading

2

Avoiding port collision running several Vagrant machines

Well, I’m not sure why this setting wasn’t the default but Vagrant actually allows you to tell it to find another port if the one it wants to forward is being used. It’s also dead simple and works like a charm. I only wish I could configure where it starts looking for ports. Just add…

Continue Reading

1 2 3
www.000webhost.com