Tested with
Python 2.7, OS X 10.11.3 El Capitan, Apache Spark 1.6.0 & Hadoop 2.6
Download Apache Spark and build it or download the pre-built version.
install_name_tool -change /Library/Frameworks/Python.framework/Versions/2.7/Python /opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib /Users/ngs/Documents/LeapDeveloperKit/LeapSDK/lib/LeapPython.so |
<story> | |
<scene name="intro"> | |
<photo src="https://c2.staticflickr.com/6/5688/23494440049_547ec58c23_k.jpg" isStereo="false" sphereParams="100,66,0,0"/> | |
<!-- 2015 --> | |
<photo src="https://c1.staticflickr.com/9/8728/17098966780_4f1ba46dbf_k.jpg" isStereo="false" sphereParams="50,33,90,-25"> | |
<jump jumpTo="2015-a" sphereParams="25,33,90,-45">2015</jump> | |
<!-- 2013 --> | |
<photo src="https://c1.staticflickr.com/9/8546/8692786582_6793dab31e_k.jpg" isStereo="false" sphereParams="50,33,90,25"> | |
<jump jumpTo="2013-a" sphereParams="25,33,90,5">2013</jump> | |
<!-- 2012 --> |
# Tutorial from: http://bit.ly/2olREnv | |
import numpy | |
from keras.datasets import cifar10 | |
from matplotlib import pyplot | |
from scipy.misc import toimage | |
from keras.models import Sequential | |
from keras.layers import Dense | |
from keras.layers import Dropout | |
from keras.layers import Flatten | |
from keras.constraints import maxnorm |
(defvar python-shell-send-code-step-on-function nil | |
"If non-nil, step sending a function to the python interpreter.") | |
(defun python-shell-step-after-defun () | |
(forward-paragraph) | |
;; when at last paragraph, don't step to beginning of "next" paragraph | |
(unless (equal (line-number-at-pos (point)) | |
(progn (forward-paragraph) (line-number-at-pos (point)))) | |
(backward-paragraph) | |
(forward-line 1))) |
for f in "$@" | |
do | |
/usr/local/bin/tesseract "$f" stdout | xargs -0 osascript -e 'on run {f, c}' -e 'tell app "Finder" to set comment of (POSIX file f as alias) to c' -e end "$f" | |
done |
#!/usr/bin/python | |
# Light painting / POV demo for Raspberry Pi using | |
# Adafruit Digital Addressable RGB LED flex strip. | |
# ----> http://adafruit.com/products/306 | |
import RPi.GPIO as GPIO, Image, time | |
# Configurable values | |
filename = "hello.png" |
#!/usr/bin/env python | |
# This is a simple Twitter bot which listens to a track stream for a comma delimited | |
# list of terms/tags (PRIMARY_TRACK_LIST). From this stream, it will retweet any | |
# tweet that matches the secondary regex (SECONDARY_REGEX_FILTER). | |
# | |
# This example is a #Haiti & #Chile Twitter stream listener for TweakTheTweet syntax. | |
# | |
# Requires Python 2.6 | |
# Requires Tweepy http://github.com/joshthecoder/tweepy | |
# |
From 8ab91751069e391a95151c6716a546b1732ade92 Mon Sep 17 00:00:00 2001 | |
From: JP <twitter:canoeberry> | |
Date: Sun, 19 Jan 2014 11:58:54 +0000 | |
Subject: [PATCH] partial memleak fix | |
This patch was created by JP (twitter: @canoeberry) based on a memleak fix by Dirk (emacs committer) below: | |
https://github.com/mirrors/emacs/commit/57ae6509a3b6a274f89b9caea0284c6156470625 | |
This memory leak is fixed in the trunk as of now and will be in the next official release: 24.4. |
/*************************************************************************** | |
* Copyright (C) 2009 by Paul Lutus, Ian Clarke * | |
* lutusp@arachnoid.com, ian.clarke@gmail.com * | |
* * | |
* This program is free software; you can redistribute it and/or modify * | |
* it under the terms of the GNU General Public License as published by * | |
* the Free Software Foundation; either version 2 of the License, or * | |
* (at your option) any later version. * | |
* * | |
* This program is distributed in the hope that it will be useful, * |
Tested with
Python 2.7, OS X 10.11.3 El Capitan, Apache Spark 1.6.0 & Hadoop 2.6
Download Apache Spark and build it or download the pre-built version.