#Installing ngrok on OSX
- Download ngrok
- Unzip it to your Applications directory
- Create a symlink (instructions below)
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
PortSystem 1.0 | |
PortGroup python | |
name buildbot | |
version 2.2.0 | |
categories devel python | |
platforms darwin | |
supported_archs noarch |
def max_crossing_subarray(a, low, mid, high): | |
left_sum = -float("inf") | |
current_sum = 0 | |
for i in range(mid, low-1, -1): | |
current_sum += a[i] | |
if current_sum > left_sum: | |
left_sum = current_sum | |
max_left = i | |
right_sum = -float("inf") | |
current_sum = 0 |
<!-- {% load staticfiles %} --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>{% block title %}AnimalDex{% endblock %}</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> | |
<!-- UIkit CSS --> |
#Installing ngrok on OSX
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory