This file contains 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
Blah | |
==== | |
Bloo blee blah. | |
Blee | |
---- | |
Blee bloo blurp. |
This file contains 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 | |
# ================================================================= | |
# Install a full scientific python stack from source, for Ubuntu, with | |
# python 2.7.3 (tested on a totally fresh Ubuntu12.04-amd64). Requires | |
# sudo for apt-getting dependencies like libatlas, Tk, etc | |
# ================================================================= | |
# packages pulled from PyPI are currently | |
# scipy 0.10.1 |
This file contains 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/sh | |
echo "updating ubuntu" | |
sudo apt-get -qq update | |
sudo apt-get -qq upgrade | |
# development | |
echo "installing development tools" | |
sudo apt-get -qq install build-essential |
This file contains 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/sh | |
# LaTeX | |
echo "installing LaTeX" | |
sudo apt-get -qq install texlive-full texlive-fonts-extra cm-super texlive-latex-extra auctex | |
sudo texconfig paper letter | |
wget http://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts | |
chmod +x install-getnonfreefonts | |
sudo ./install-getnonfreefonts | |
sudo getnonfreefonts garamond |
This file contains 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": "torqueModel" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains 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": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains 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
Getting afni working on Mac OSX 10.9 Mavericks, using Homebrew | |
Briefly: parts of afni (e.g. uber_subject.py) require the pyqt library ... and pyqt requires qt ... but the homebrew install of qt is currently broken on osx mavericks 10.9 ... but there is a patch ... but pyqt also requires sip ... and there is a problem where pyqt doesn't like the version of sip, in particular with a newer haswell CPU macbook pro ... but there is a fix ... and we need to add lines to our .bash_profile for afni ... and be careful if you have other python things installed since afni expects to find python things in certain locations | |
Here is a step-by-step: | |
1. install Xcode command line tools | |
xcode-select --install |
This file contains 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
matlab2014a retina mac blurry? | |
(1) cd /Applications/MATLAB_R2014a.app/sys/java/jre/maci64 | |
(2) mv jre jre.orig | |
(3) ln -s '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home' jre |
This file contains 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
x = 1:50; | |
figure | |
subplot(1,2,1) | |
hold on | |
plot(x, randn(size(x)),'bs-') | |
plot(x,sin(x),'r+-') | |
set(gca,'ylim',[-3 3]) | |
plot(x,repmat(1,size(x,2)),'r-','linewidth',2) | |
plot(x,repmat(-1,size(x,2)),'r-','linewidth',2) | |
subplot(1,2,2) |
This file contains 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
html { | |
font-family: verdana, sans-serif; | |
font-weight: 400; | |
font-size: 10pt; | |
height: 100%; | |
width: 100%; | |
margin: 0; | |
padding: 0; | |
min-width: 800px; | |
max-width: 800px; |
OlderNewer