Skip to content

Instantly share code, notes, and snippets.

View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CircleCI Guest Writers Program</title>
<!-- CSS only -->
<link rel="stylesheet" href=""
def max_profitability(prices):
max_profit = -1
initial_value = prices[0]
# O(N) - linear time complexity
for i in prices[1:]:
if initial_value > i:
initial_value = i
max_profit = (i - initial_value if (i - initial_value) > max_profit else max_profit)
NdagiStanley / setup.cfg
Last active Dec 19, 2019 — forked from althonos/setup.cfg
A `setup.cfg` template for my Python projects
View setup.cfg
name = {name}
version = {version}
author = Martin Larralde
author-email =
home-page ={name}
description = {description}
long-description = file: README.rst, CHANGELOG.rst
NdagiStanley /
Created Oct 17, 2019 — forked from denji/
Homebrew + RVM > Awesome

The MBP is my development machine, so I needed all of my tools installed with the ability to update them with ease. In the past, I used MacPorts to take care of my MySQL, Memcached, and Ruby installions and it worked just fine. This time around however, I wanted something new and fun. Homebrew.

Homebrew is a new package manager for OS X. Unlike Fink or MacPorts, Homebrew integrates with the core operating system, reducing the number of extra libraries to install etc. Another neat feature is the ability to write software package recipes in Ruby, awesome.

Here are some raw installation instructions (clean system). I like to keep everything under user ownership to make life more enjoyable, say no to sudo.

You will need the latest version of xcode, you can get it here. After the installation is complete, you may continue.

sudo mkdir /usr/local
View .md

OpenLP Install steps

NdagiStanley / .md
Last active Jan 23, 2019
Having Python2, Python3 and Javascript in your Jupyter notebook installation
View .md

Jupyter Install Steps