Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
The goal of this example is to show how an existing C codebase for numerical computing (here c_code.c) can be wrapped in Cython to be exposed in Python.
The meat of the example is that the data is allocated in C, but exposed in Python without a copy using the PyArray_SimpleNewFromData numpy
| """ | |
| This is a setup.py script generated by py2applet | |
| Usage: | |
| python setup.py py2app | |
| """ | |
| from setuptools import setup | |
| APP = ['myprog.py'] |
| Please note that this gist applies to EPD version 7.0 and 7.1. EPD 7.1 includes ETS | |
| but not completely on OSX x64. Furthermore a patch has been submitted for inclusion | |
| in virtualenv that should resolve the virtualenv issue. | |
| The notes below were compiled for 7.0 and will need to be replaced with corresponding | |
| 7.1 paths. | |
| https://github.com/satra/virtualenv/tree/fix/EPDpatch |
| { | |
| "metadata": { | |
| "name": "numpy_tricks" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
| { | |
| "metadata": { | |
| "name": "Crash Course v0.5" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
| { | |
| "metadata": { | |
| "name": "" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |