This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C dep | |
wget -nc https://downloads.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0.tgz | |
--2017-09-22 12:07:21-- https://downloads.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0.tgz | |
Resolving downloads.sourceforge.net... 216.34.181.59 | |
Connecting to downloads.sourceforge.net|216.34.181.59|:443... connected. | |
HTTP request sent, awaiting response... 302 Found | |
Location: https://netix.dl.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0.tgz [following] | |
--2017-09-22 12:07:21-- https://netix.dl.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0.tgz | |
Resolving netix.dl.sourceforge.net... 87.121.121.2 | |
Connecting to netix.dl.sourceforge.net|87.121.121.2|:443... connected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Apr 18 23:52:19 2015 | |
@author: euphorbium | |
Finds magic squares in two dimmensional matrix | |
""" | |
import itertools | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
from collections import Counter | |
def make_chart_simple_line_chart(plt): | |
years = [1950, 1960, 1970, 1980, 1990, 2000, 2010] | |
gdp = [300.2, 543.3, 1075.9, 2862.5, 5979.6, 10289.7, 14958.3] | |
# create a line chart, years on x-axis, gdp on y-axis | |
plt.plot(years, gdp, color='green', marker='o', linestyle='solid') |