Archive

Archive for March, 2016

Joe – A .gitignore magician in your command line.

March 14, 2016 Leave a comment

http://karan.github.io/joe/

A .gitignore magician in your command line. Joe generates .gitignore files from the command line for you.

joe

sample

Categories: git, Interesting, python Tags: ,

Christophe Pettus – PostgreSQL Proficiency for Python People – PyCon 2015

March 13, 2016 Leave a comment

Interesting reads:
http://thebuild.com/blog/ is Christophe Pettus’ software development blog. It has an rss feed.

Categories: postgresql, python

Python Tutor

March 12, 2016 Leave a comment

Python Tutor, created by Philip Guo, helps people overcome a fundamental barrier to learning programming: understanding what happens as the computer executes each line of a program’s source c…

Source: Python Tutor

Categories: python

Using Dnsmasq and nginx

March 11, 2016 Leave a comment

Problem:
How to point a localhost to a different name. Eg localhost -> fake.website.com for use in local development?

Solution:
One solution was dnsmasq. Simply updating /etc/hosts was not working for me. I think there was something else I was missing out on. Following the instructions on the website listed in the source section worked for me.

Source:
http://passingcuriosity.com/2013/dnsmasq-dev-osx/

DigitalOcean – How To Structure Large Flask Applications

March 10, 2016 Leave a comment

Introduction
There are many methods and conventions for structuring Python web applications. Although certain frameworks are shipped with tools (for scaffolding) to automate — and ease — the task (and the headaches), almost all solutions rely on packaging / modularizing applications as the codebase gets distributed [logically] across related files and folders.

The minimalist web application development framework Flask, has its own – blueprints.

Read the full article in the link below:

https://www.digitalocean.com/community/tutorials/how-to-structure-large-flask-applications

Categories: flask, python Tags: ,

Java Family Crisis

March 9, 2016 Leave a comment
Categories: funny Tags: ,

Terminal Whispering Talk by Thomas Ballinger

March 8, 2016 Leave a comment

Description:
The terminal emulators we run so many of our programming tools in are more powerful than we remember to give them credit for, and the key to that power is understanding the interface. This talk will cover terminal colors and styles, writing to arbitrary portions of the screen, handling signals from the terminal, determining the terminal’s dimensions and scrollback buffer behavior.

Also have a look at:
http://urwid.org/
https://pypi.python.org/pypi/blessings
http://www.linusakesson.net/programming/tty/index.php