Here is a direct link. [direct link](http://google.com)
Here is an indirect link. [indirect link][link id]
Notice how one can use different text but the same id to refer to the same link. [refer to the same link][link id]
| <?php | |
| /** | |
| * @author Rick Wong <[email protected]> | |
| * @contributor Matthew Iversen <[email protected]> | |
| */ | |
| namespace Phur\Strategy; | |
| /** | |
| * The Strategy Pattern. It is used when your application needs to | |
| * pick one business algorithm out of many. The behavior of your |
| def up(a, b, n): | |
| """Calculates a ↑ⁿ b""" | |
| if a == 1: | |
| return 1 | |
| elif b == 1: | |
| return a | |
| elif n == 1: | |
| return a**b | |
| else: | |
| return up(a, up(a, b - 1, n), n - 1) |
| # SOME DESCRIPTIVE TITLE. | |
| # Copyright (C) 2012, OpenTechSchool and contributors | |
| # This file is distributed under the same license as the Introduction to Programming with Python package. | |
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| # | |
| #, fuzzy | |
| msgid "" | |
| msgstr "" | |
| "Project-Id-Version: Introduction to Programming with Python 0.1\n" | |
| "Report-Msgid-Bugs-To: \n" |
| import os | |
| import sys | |
| from os.path import join | |
| from fabric.api import local | |
| BASE_DIR = os.path.realpath(os.path.dirname(__file__)) | |
| BUILD_DIR = join(BASE_DIR, '_build') | |
| SOURCE_DIR = join(BASE_DIR, 'source') | |
| LOCALE_DIR = join(SOURCE_DIR, 'locale', |
| import ctypes | |
| # Create a function prototype for a 3-arg function | |
| ternaryfunc = ctypes.CFUNCTYPE(ctypes.py_object, ctypes.py_object, | |
| ctypes.py_object, ctypes.c_void_p) | |
| # Define a new python type that's callable, via a ternaryfunc | |
| class PyTypeObject(ctypes.Structure): |
| _site/ | |
| bower_components/ | |
| .sass_cache/ | |
| .ruby-version |
| from __future__ import absolute_import, division, print_function | |
| from cryptography.bindings import _default_api | |
| class BlockCipher(object): | |
| def __init__(self, cipher, mode, api=None): | |
| super(BlockCipher, self).__init__() | |
| if api is None: |
Here is a direct link. [direct link](http://google.com)
Here is an indirect link. [indirect link][link id]
Notice how one can use different text but the same id to refer to the same link. [refer to the same link][link id]
| -----BEGIN CERTIFICATE----- | |
| MIIC0jCCAboCBQDQKZmkMA0GCSqGSIb3DQEBCwUAMC0xKzApBgNVBAMTIkdlbmVy | |
| aWMgUGlwYSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTQwMjIzMTIzNTM1WhcN | |
| MTUwMjIzMTIzNTM1WjAtMSswKQYDVQQDEyJHZW5lcmljIFBpcGEgQ2VydGlmaWNh | |
| dGUgQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2nP8 | |
| dYN9P8IFogGy0INayhsafe+LRh3a7Qd6PnyxBZrP3RaRXo+gQ/wswD744cURuSX6 | |
| NJgmFt/sgMBclQtnNwkUUXaHzsZIsjQKr3EgUGhepnt7yU6UU0lW2L0yz8n4YLlV | |
| ezSaIH7VMA8YRhgxBJGt/Nv/OnQk4y/tUxQnucKwhB/kax8rMiOuzry8e8FHc3yU | |
| 4KZaJYLVF3QJOAIRvicMLe5BybFDue7TaZk9snsFtCBoOnKz4sFgaPdP6hHfTqt7 | |
| ZEjHVSoo0tvAmGftfon+kJNtYir9hkXabWS1rVOE2pCui3HRBwMya6+TT9tLhFaJ |
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| def find_discrete_log(h, g, p): | |
| H = {} | |
| print('Generating table...') | |
| for x1 in range(0, B): | |
| gx1inv = mod_mul_inv(pow(g, x1, p), p) | |
| H[(h * gx1inv) % p] = x1 |