This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
{ | |
"name": "Duluth", | |
"reference": { | |
"marker.color": | |
["rgb(0,116,217)", | |
"rgb(255,65,54)", | |
"rgb(133,20,75)", | |
"rgb(255,133,27)", | |
"rgb(255,220,0)", | |
"rgb(61,153,112)"], |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
Useful links:
#!/bin/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
chgrp -R admin /usr/local | |
chmod -R g+w /usr/local | |
# allow admins to homebrew's local cache of formulae and source files | |
chgrp -R admin /Library/Caches/Homebrew |
module PartSort | |
using Base.Order | |
import Base: sort!, Sort.Algorithm | |
export PartialQuickSort | |
immutable PartialQuickSort <: Algorithm | |
k::Int |
Tested on Mac OS X 10.8.5 and 10.9.3.
Not for the faint of heart. Before we begin, you will need to install XQuartz, Homebrew, and virtualenv.
I'm using virtualenv to isolate your global system settings from the KivEnt installation because it's still under heavy development and it's very messy. We'll also be using the virtual environment folder to install Kivy, Cymunk, and KivEnt without needing to add them to your repository or your .gitignore
file.
Now follow these steps carefully and you should be up and running:
brew tap homebrew/headonly
. You may want to do a brew update
for good measure.brew install --HEAD smpeg
import numpy as np | |
from numba import jit | |
def root_func(x): | |
return x**4 - 2*x**2 - x - 3 | |
def compile_specialized_bisect(f): | |
""" | |
Returns a compiled bisection implementation for ``f``. | |
""" |
require 'formula' | |
class RDownloadStrategy < SubversionDownloadStrategy | |
def stage | |
quiet_safe_system 'cp', '-r', @clone, Dir.pwd | |
Dir.chdir cache_filename | |
end | |
end | |
class R < Formula |
Pkg.add("Gadfly") | |
Pkg.add("HTTPClient") | |
Pkg.add("JSON") | |
Pkg.add("RDatasets") | |
using Gadfly | |
using HTTPClient.HTTPC | |
using JSON | |
using RDatasets |