Skip to content

Host photos locally #909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Hitchhiker's Guide to Python

**Python Best Practices Guidebook**

.. image:: https://farm1.staticflickr.com/628/33173824932_58add34581_k_d.jpg
.. image:: /_static/photos/33173824932_58add34581_k_d.jpg

-----------

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file removed docs/_static/test
Empty file.
6 changes: 3 additions & 3 deletions docs/dev/env.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Your Development Environment
============================

.. image:: https://farm3.staticflickr.com/2930/33175624924_7febc46cc4_k_d.jpg
.. image:: /_static/photos/33175624924_7febc46cc4_k_d.jpg


Text Editors
Expand Down Expand Up @@ -164,8 +164,8 @@ MIT licensed.
Enthought Canopy
----------------
`Enthought Canopy <https://www.enthought.com/products/canopy/>`_ is a Python
IDE which is focused towards Scientists and Engineers as it provides pre
installed libraries for data analysis.
IDE which is focused towards Scientists and Engineers as it provides pre
installed libraries for data analysis.

Eclipse
-------
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/pip-virtualenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Further Configuration of Pip and Virtualenv
===========================================

.. image:: https://farm4.staticflickr.com/3934/34018732105_f0e6758859_k_d.jpg
.. image:: /_static/photos/34018732105_f0e6758859_k_d.jpg

Requiring an active virtual environment for ``pip``
---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/virtualenvs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Pipenv & Virtual Environments
=============================

.. image:: https://farm5.staticflickr.com/4290/35294660055_42c02b2316_k_d.jpg
.. image:: /_static/photos/35294660055_42c02b2316_k_d.jpg

This tutorial walks you through installing and using Python packages.

Expand Down
2 changes: 1 addition & 1 deletion docs/intro/community.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Community
=============

.. image:: https://farm5.staticflickr.com/4225/34689432801_78d97ecec9_k_d.jpg
.. image:: /_static/photos/34689432801_78d97ecec9_k_d.jpg

BDFL
----
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/documentation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Documentation
=============

.. image:: https://farm5.staticflickr.com/4178/33928823133_2f3d32cf32_k_d.jpg
.. image:: /_static/photos/33928823133_2f3d32cf32_k_d.jpg

Official Documentation
----------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/duction.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Introduction
============

.. image:: https://farm5.staticflickr.com/4180/34725946825_0f85497e60_k_d.jpg
.. image:: /_static/photos/34725946825_0f85497e60_k_d.jpg

From the `official Python website <http://python.org/about/>`_:

Expand Down
2 changes: 1 addition & 1 deletion docs/intro/learning.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Learning Python
===============

.. image:: https://farm3.staticflickr.com/2840/32800783863_11a00db52c_k_d.jpg
.. image:: /_static/photos/32800783863_11a00db52c_k_d.jpg

Beginner
--------
Expand Down
4 changes: 2 additions & 2 deletions docs/intro/news.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
News
====

.. image:: https://farm4.staticflickr.com/3804/33573767786_eececc5d27_k_d.jpg
.. image:: /_static/photos/33573767786_eececc5d27_k_d.jpg

Planet Python
~~~~~~~~~~~~~
Expand Down Expand Up @@ -35,7 +35,7 @@ A short-form Python podcast covering recent developer headlines.
Pycoder's Weekly
~~~~~~~~~~~~~~~~

Pycoder's Weekly is a free weekly Python newsletter for Python developers
Pycoder's Weekly is a free weekly Python newsletter for Python developers
by Python developers (Projects, Articles, News, and Jobs).

`Pycoder's Weekly <http://www.pycoders.com/>`_
Expand Down
2 changes: 1 addition & 1 deletion docs/notes/contribute.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Contribute
~~~~~~~~~~

.. image:: https://farm3.staticflickr.com/2858/33573769116_49c1ef51e7_k_d.jpg
.. image:: /_static/photos/33573769116_49c1ef51e7_k_d.jpg

Python-guide is under active development, and contributors are welcome.

Expand Down
2 changes: 1 addition & 1 deletion docs/notes/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
License
=======

.. image:: https://farm4.staticflickr.com/3762/32800805573_568d6b72fd_k_d.jpg
.. image:: /_static/photos/32800805573_568d6b72fd_k_d.jpg

The Guide is licensed under the `Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license <https://creativecommons.org/licenses/by-nc-sa/3.0/>`_.
2 changes: 1 addition & 1 deletion docs/notes/styleguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The Guide Style Guide
=====================

.. image:: https://farm4.staticflickr.com/3684/33573755856_7f43d43adf_k_d.jpg
.. image:: /_static/photos/33573755856_7f43d43adf_k_d.jpg

As with all documentation, having a consistent format helps make the
document more understandable. In order to make The Guide easier to digest,
Expand Down
40 changes: 20 additions & 20 deletions docs/scenarios/admin.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Systems Administration
======================

.. image:: https://farm5.staticflickr.com/4179/34435690580_3afec7d4cd_k_d.jpg
.. image:: /_static/photos/34435690580_3afec7d4cd_k_d.jpg

Fabric
------
Expand Down Expand Up @@ -234,37 +234,37 @@ The Ansible playbook will ping all of the servers in the :file:`hosts.yml` file.
You can also select groups of servers using Ansible. For more information
about Ansible, read the `Ansible Docs <http://docs.ansible.com/>`_.

`An Ansible tutorial <https://serversforhackers.com/an-ansible-tutorial/>`_ is also a
`An Ansible tutorial <https://serversforhackers.com/an-ansible-tutorial/>`_ is also a
great and detailed introduction to getting started with Ansible.


Chef
----
`Chef <https://www.chef.io/chef/>`_ is a systems and cloud infrastructure automation
framework that makes it easy to deploy servers and applications to any physical,
virtual, or cloud location. In case this is your choice for configuration management,
you will primarily use Ruby to write your infrastructure code.

Chef clients run on every server that is part of your infrastructure and these regularly
check with your Chef server to ensure your system is always aligned and represents the
desired state. Since each individual server has its own distinct Chef client, each server
`Chef <https://www.chef.io/chef/>`_ is a systems and cloud infrastructure automation
framework that makes it easy to deploy servers and applications to any physical,
virtual, or cloud location. In case this is your choice for configuration management,
you will primarily use Ruby to write your infrastructure code.

Chef clients run on every server that is part of your infrastructure and these regularly
check with your Chef server to ensure your system is always aligned and represents the
desired state. Since each individual server has its own distinct Chef client, each server
configures itself and this distributed approach makes Chef a scalable automation platform.

Chef works by using custom recipes (configuration elements), implemented in cookbooks. Cookbooks, which are basically
packages for infrastructure choices, are usually stored in your Chef server.
Read the `Digital Ocean tutorial series
<https://www.digitalocean.com/community/tutorials/how-to-install-a-chef-server-workstation-and-client-on-ubuntu-vps-instances>`_
Chef works by using custom recipes (configuration elements), implemented in cookbooks. Cookbooks, which are basically
packages for infrastructure choices, are usually stored in your Chef server.
Read the `Digital Ocean tutorial series
<https://www.digitalocean.com/community/tutorials/how-to-install-a-chef-server-workstation-and-client-on-ubuntu-vps-instances>`_
on chef to learn how to create a simple Chef Server.

To create a simple cookbook the `knife <https://docs.chef.io/knife.html>`_ command is used:

.. code-block:: console
.. code-block:: console

knife cookbook create cookbook_name

`Getting started with Chef <http://gettingstartedwithchef.com/first-steps-with-chef.html>`_
is a good starting point for Chef Beginners and many community maintained cookbooks that can
serve as a good reference or tweaked to serve your infrastructure configuration needs can be
`Getting started with Chef <http://gettingstartedwithchef.com/first-steps-with-chef.html>`_
is a good starting point for Chef Beginners and many community maintained cookbooks that can
serve as a good reference or tweaked to serve your infrastructure configuration needs can be
found on the `Chef Supermarket <https://supermarket.chef.io/cookbooks>`_.

- `Chef Documentation <https://docs.chef.io/>`_
Expand Down Expand Up @@ -304,7 +304,7 @@ your Puppet modules.
.. code-block:: console

$ facter operatingsystem
Ubuntu
Ubuntu

Writing Modules in Puppet is pretty straight forward. Puppet Manifests together
form Puppet Modules. Puppet manifest end with an extension of ``.pp``.
Expand Down Expand Up @@ -374,7 +374,7 @@ Buildout
--------

`Buildout <http://www.buildout.org>`_ is an open source software build tool.
Buildout is created using the Python programming language. It implements a
Buildout is created using the Python programming language. It implements a
principle of separation of configuration from the scripts that do the setting up.
Buildout is primarily used to download and set up dependencies in Python eggs
format of the software being developed or deployed. Recipes for build tasks in any
Expand Down
2 changes: 1 addition & 1 deletion docs/scenarios/ci.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Continuous Integration
======================

.. image:: https://farm5.staticflickr.com/4173/33907150594_9abba7ad0a_k_d.jpg
.. image:: /_static/photos/33907150594_9abba7ad0a_k_d.jpg

.. note::
For advice on writing your tests, see :doc:`/writing/tests`.
Expand Down
10 changes: 5 additions & 5 deletions docs/scenarios/cli.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Command-line Applications
=========================

.. image:: https://farm5.staticflickr.com/4272/34435690330_11930b5987_k_d.jpg
.. image:: /_static/photos/34435690330_11930b5987_k_d.jpg

Command-line applications, also referred to as
`Console Applications <http://en.wikipedia.org/wiki/Console_application>`_,
Expand Down Expand Up @@ -68,9 +68,9 @@ sub-command to do the work.
Cement
------

`Cement <http://builtoncement.com/>`_ is an advanced CLI Application Framework.
`Cement <http://builtoncement.com/>`_ is an advanced CLI Application Framework.
Its goal is to introduce a standard, and feature-full platform
for both simple and complex command line applications as well
as support rapid development needs without sacrificing quality.
Cement is flexible, and it's use cases span from the simplicity of a micro-framework
to the complexity of a meg-framework.
as support rapid development needs without sacrificing quality.
Cement is flexible, and it's use cases span from the simplicity of a micro-framework
to the complexity of a meg-framework.
8 changes: 4 additions & 4 deletions docs/scenarios/clibs.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Interfacing with C/C++ Libraries
================================

.. image:: https://farm5.staticflickr.com/4173/34725951345_c8f5959a2e_k_d.jpg
.. image:: /_static/photos/34725951345_c8f5959a2e_k_d.jpg

C Foreign Function Interface
----------------------------
Expand Down Expand Up @@ -105,20 +105,20 @@ Example: Overloading __repr__
:linenos:

%include "string.i"

%module myclass
%{
#include <string>
#include "MyClass.h"
%}

%extend MyClass {
std::string __repr__()
{
return $self->getName();
}
}

%include "MyClass.h"


Expand Down
2 changes: 1 addition & 1 deletion docs/scenarios/client.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Network Applications
====================

.. image:: https://farm5.staticflickr.com/4251/34364815780_bea6614025_k_d.jpg
.. image:: /_static/photos/34364815780_bea6614025_k_d.jpg

HTTP
::::
Expand Down
6 changes: 3 additions & 3 deletions docs/scenarios/crypto.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Cryptography
============

.. image:: https://farm5.staticflickr.com/4220/33907152824_bf91078cc1_k_d.jpg
.. image:: /_static/photos/33907152824_bf91078cc1_k_d.jpg

Cryptography
------------

`Cryptography <https://cryptography.io/en/latest/>`_ is an actively developed
library that provides cryptographic recipes and primitives. It supports
library that provides cryptographic recipes and primitives. It supports
Python 2.6-2.7, Python 3.3+ and PyPy.


Expand Down Expand Up @@ -60,7 +60,7 @@ Example
.. code-block:: python3

import gpg

# Encryption to public key specified in rkey.
a_key = input("Enter the fingerprint or key ID to encrypt to: ")
filename = input("Enter the filename to encrypt: ")
Expand Down
2 changes: 1 addition & 1 deletion docs/scenarios/db.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Databases
=========

.. image:: https://farm5.staticflickr.com/4225/33907152464_a99fdcc8de_k_d.jpg
.. image:: /_static/photos/33907152464_a99fdcc8de_k_d.jpg

DB-API
------
Expand Down
2 changes: 1 addition & 1 deletion docs/scenarios/gui.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GUI Applications
================

.. image:: https://farm5.staticflickr.com/4250/33907143624_cd621b535c_k_d.jpg
.. image:: /_static/photos/33907143624_cd621b535c_k_d.jpg


Alphabetical list of GUI Applications.
Expand Down
2 changes: 1 addition & 1 deletion docs/scenarios/imaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Image Manipulation
==================

.. image:: https://farm5.staticflickr.com/4157/34575689432_3de8e9a348_k_d.jpg
.. image:: /_static/photos/34575689432_3de8e9a348_k_d.jpg

Most image processing and manipulation techniques can be carried out
effectively using two libraries: Python Imaging Library (PIL) and OpenSource
Expand Down
4 changes: 2 additions & 2 deletions docs/scenarios/json.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
JSON
====

.. image:: https://farm5.staticflickr.com/4174/33928819683_97b5c6a184_k_d.jpg
.. image:: /_static/photos/33928819683_97b5c6a184_k_d.jpg

The `json <https://docs.python.org/2/library/json.html>`_ library can parse
JSON from strings or files. The library parses JSON into a Python dictionary
Expand Down Expand Up @@ -60,7 +60,7 @@ You can start using simplejson when the json library is not available by
importing simplejson under a different name:

.. code-block:: python

import simplejson as json

After importing simplejson as json, the above examples will all work as if you
Expand Down
Loading