Inspired by Maya Angelou's Still I Rise
You may walk through my GitHub history,
With it’s non idiomatic and fragal lines,
You may value me less than dirt,
But still, like dust, I’ll rise.
import logging.config | |
import os | |
from django.utils.log import DEFAULT_LOGGING | |
# Disable Django's logging setup | |
LOGGING_CONFIG = None | |
LOGLEVEL = os.environ.get('LOGLEVEL', 'info').upper() | |
logging.config.dictConfig({ |
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
pbic_pricing_scraper.py | |
Created by Robert Dempsey on 09-29-2015 | |
Copyright (c) 2015 Robert Dempsey. All rights reserved. | |
Utility script to obtain the price information for my book: Python Business Intelligence Cookbook | |
http://pythonbicookbook.com/ | |
""" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Using MongoDB in golang with mgo |
<?php | |
namespace Acme\Services; | |
class Container { | |
private $services = array(); | |
public function set($name, $instance) | |
{ | |
$this->services[$name] = $instance; | |
} |
Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.
Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!