If you already have Homebrew, just open a terminal and type
$ brew install clozure-cl
| ##### Install a lot of stuff first ##### | |
| $sudo apt-get update | |
| ##install python | |
| $ wget http://09c8d0b2229f813c1b93-c95ac804525aac4b6dba79b00b39d1d3.r79.cf1.rackcdn.com/Anaconda-2.0.1-Linux-x86_64.sh | |
| $ sudo bash anaconda........sh | |
| ##install necessary libs | |
| $ sudo apt-get install -y python-matplotlib python-tornado ipython ipython-notebook python-setuptools python-pip |
| # To be placed in /etc/init/ with 644 permissions | |
| start on filesystem or runlevel [2345] | |
| stop on shutdown | |
| description "Jupyter / IPython Notebook Upstart script for Jetson TK-1" | |
| script | |
| export HOME="/home/ubuntu"; cd $HOME | |
| export PATH=/usr/local/cuda-6.5/bin:$PATH | |
| export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib:$LD_LIBRARY_PATH |
| # Docker container that spins up a Jupyter notebook server | |
| # with CUDA accelerated Theano support. Assumes the host | |
| # system has CUDA drivers installed that match the version below. | |
| # | |
| # Launch with a comman line similar to the following: | |
| # | |
| # docker run -it \ | |
| # --device /dev/nvidiactl --device /dev/nvidia-uvm --device /dev/nvidia0 | |
| # -p 8888:8888 | |
| # -v /[where notebooks are on your local machine]:/notebooks |
| { | |
| "metadata": { | |
| "name": "Ruse Integration" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
If you already have Homebrew, just open a terminal and type
$ brew install clozure-cl
| notify <- function(msg="Operation complete") { | |
| in.osx <- (Sys.info()['sysname'] == "Darwin") | |
| in.rstudio <- (Sys.getenv("RSTUDIO") == "1") | |
| in.rgui <- (Sys.getenv("R_GUI_APP_REVISION") != "") | |
| if (in.rstudio) { # hack to see if running in RStudio | |
| title <- "RStudio" | |
| sender <- activate <- "org.rstudio.RStudio" | |
| } |
| #include <png.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <stdlib.h> | |
| //encode and write PNG to memory (std::vector) with libpng on C++ | |
| typedef unsigned char ui8; | |
| #define ASSERT_EX(cond, error_message) do { if (!(cond)) { std::cerr << error_message; exit(1);} } while(0) |
| % FontAwesome (http://fortawesome.github.com/Font-Awesome/) bindings for (Xe)LaTeX | |
| % Author: Honza Ustohal <[email protected]> | |
| % | |
| % Translation of FontAwesome's private range characters into XeTeX symbols. All icons are camel-cased and prefixed with 'fa', i.e. what was .icon-align-center the CSS version of FontAwesome becomes \faAlignCenter | |
| % This might be reworked into a full blown package in the near future | |
| % | |
| % Prerequisite: | |
| % XeLaTeX, FontAwesome installed as a system font accessible by XeLaTeX | |
| % | |
| % Usage: |
| # | |
| # NOTE: | |
| # Prepare modified opencv4tegra debian packages first as shown: | |
| # https://devtalk.nvidia.com/default/topic/835118/embedded-systems/incorrect-configuration-in-opencv4tegra-debian-packages-and-solution | |
| # and install them | |
| # | |
| # | |
| # NOTE: | |
| # you need to run this command every time after ros-indigo-cv-bridge and ros-indigo-image-geometry are updated with | |
| # sudo aptitude safe-upgrade OR sudo apt-get upgrade |