Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
# Place the following in your home directory at ~/.numpy-site.cfg | |
# in order to install numpy with openblas support | |
[openblas] | |
libraries = openblas | |
library_dirs = /usr/local/opt/openblas/lib | |
include_dirs = /usr/local/opt/openblas/include |
This file contains hidden or 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
#include <OGRE/OgreNode.h> | |
#include <OGRE/OgreSceneManager.h> | |
#include <OGRE/OgreCamera.h> | |
#include <OGRE/OgreRenderQueueListener.h> | |
#include <rviz/frame_manager.h> | |
#include <rviz/helpers/color.h> | |
#include <rviz/visualization_manager.h> | |
#include <rviz/properties/color_property.h> | |
#include <rviz/properties/ros_topic_property.h> |
This file contains hidden or 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
#!/bin/bash | |
# copyleft 2013 Jakub Kramarz http://hskrk.pl | |
# based on http://www.jann.cc/2012/12/11/getting_started_with_the_ti_stellaris_launchpad_on_linux.html | |
set -x | |
function install_gcc_arm_embedded() { | |
sudo yum install glibc.i686 | |
wget https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q2-update/+download/gcc-arm-none-eabi-4_7-2013q2-20130614-linux.tar.bz2 | |
tar -xf gcc-arm-none-eabi-4_7-2013q2-20130614-linux.tar.bz2 -C $HOME/.local | |
rm gcc-arm-none-eabi-4_7-2013q2-20130614-linux.tar.bz2 |
This file contains hidden or 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
{ | |
"metadata": { | |
"name": "Ruse Integration" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains hidden or 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
```{r setup, echo=FALSE, results='hide'} | |
chunkref <- local({ | |
function(chunklabel) { | |
sprintf('[%s](#%s)', chunklabel, chunklabel ) | |
} | |
}) | |
secref <- local({ | |
function(seclabel) { | |
sprintf('[%s](#%s)', seclabel, seclabel ) |
This file contains hidden or 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
# Plotting 3D maps using OpenStreetMap and RGL. For info see: | |
# http://geotheory.co.uk/blog/2013/04/26/plotting-3d-maps-with-rgl/ | |
map3d <- function(map, ...){ | |
if(length(map$tiles)!=1){stop("multiple tiles not implemented") } | |
nx = map$tiles[[1]]$xres | |
ny = map$tiles[[1]]$yres | |
xmin = map$tiles[[1]]$bbox$p1[1] | |
xmax = map$tiles[[1]]$bbox$p2[1] | |
ymin = map$tiles[[1]]$bbox$p1[2] |
This file contains hidden or 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
cmake_minimum_required(VERSION 2.8) | |
project(RcppPackage) | |
find_package(LibR) | |
if(${LIBR_FOUND}) | |
else() | |
message(FATAL_ERROR "No R...") | |
endif() | |
message(STATUS ${CMAKE_SOURCE_DIR}) | |
execute_process( | |
COMMAND ${LIBR_EXECUTABLE} "--slave" "-e" "stopifnot(require('Rcpp'));cat(Rcpp:::Rcpp.system.file('include'))" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
% 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: |