View ugly.py
for foo in bar:
if not condition_one:
win_the_points()
else:
if check_the_thing():
continue
else:
if do_some_stuff():
do_the_thing()
else:
View future.py
import requests
session = requests.AsyncSession()
async def _main():
rs = []
for _ in range(100):
rs.append(await session.get('http://httpbin.org/get'))
print(rs)
View phabricator_readme.md

Phabricator Ubuntu 16.04 Installation Guide (Updated)

This is a supplement to the official Phabricator Installation Guide, because their guide will leave you with all kinds of permission and config errors and ~15,000 setup issues on startup.

Install Apache and php7.1

$ apt install apache2

$ sudo apt-get install -y python-software-properties
View Markov+Kenneth.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View install.sh
#!/usr/bin/env bash
# Install Xcode Command Line Tools.
xcode-select --install
# Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install brew basics (auto-updating).
brew install terminal-notifier
View install.sh
#!/usr/bin/env bash
# Install Xcode Command Line Tools.
xcode-select --install
# Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install brew basics (auto-updating).
brew install terminal-notifier
View nomination.md

Kenneth Reitz

New Board Member.

Hello, my name is Kenneth Reitz, and I'm a lover of Python. I'm mostly well known for being the author of the Requests library, Python-Guide.org, and many others.

I have spent a large amount of my time over the past five–six years giving talks about Python at many of the major user groups in the US, as well as keynoting/speaking at large Python events around the world. Many of these talks were about the future sustainability of Python and other open source projects.

Python is a core and integral part of my life, and it would be an honor to help steward the direction of the community by serving on the board. I have a plethora of free time, and I can't think of a better way to utilize it.

View queries.py
q = Employee.objects.filter(name='test', id=5).select_related('tasks')
q = q.order_by('first_name', 'last_name')
View Dockerfile
FROM continuumio/miniconda
WORKDIR /app
# Disable Intel optimizations (takes a lot of extra space).
RUN conda install nomkl
# Install scientific dependencies.
RUN conda install scikit-learn
RUN conda install pandas
View .hyper.js
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'OperatorMonoSSm-Book, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// other configs...
overlay: {