Enter: edit mode
Shift-Enter: run cell, select below
Ctrl-Enter: run cell
Alt-Enter: run cell, insert below
y: to code
m: to markdown
-- example http://clarkdave.net/2013/06/what-can-you-do-with-postgresql-and-json/ | |
createdb json_test | |
psql json_test | |
CREATE TABLE books ( id integer, data json ); | |
INSERT INTO books VALUES (1, '{ "name": "Book the First", "author": { "first_name": "Bob", "last_name": "White" } }'); | |
INSERT INTO books VALUES (2, '{ "name": "Book the Second", "author": { "first_name": "Charles", "last_name": "Xavier" } }'); |
?unlist # Given a list structure ‘x’, ‘unlist’ simplifies it to produce a vector which contains all the atomic components which occur in ‘x’. | |
install.packages('', repos='http://cran.us.r-project.org') | |
require(plyr) | |
headTail(bnames) |
<link href='http://fonts.googleapis.com/css?family=Baumans' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
.title-slide hgroup > h1{ | |
font-family: 'Baumans', cursive; | |
} | |
<style type="text/css"> | |
.title-slide hgroup > h2{ |
new file - cmd alt n get info - cmd i quick look - cmd y make alias - cmd l make symbolic link - cmd shift l view as list - cmd 2 show invisible files - cmd 4 (custom) swap panes - f2 browse in next pane - f3 rpietro - cmd shift h
Ricardo Pietrobon, Uwe Heiss, Mauro Maldonato, Joao Vissoci, Bruno Melo, Jacinto Franco, Seiji Isotani
N-of-1 trials are cross-over trials where the randomization is conducted at the subject rather than the group level. This modification has a number of important implications, among them:
- Data from individual subjects can be analyzed on their own
- When putting together data from multiple N-of-1 trials, the synthesis is made following meta-analysis principles
is so he is you is it that to at the can could he can you can about with was would we with you had that who he uh are you are of after off every you've are or you're . up be on ebb you'll ing ago toing egg ugh the at ought ed you'd as 00 easy yous
# setting a virtual environment and getting django to run | |
virtualenv --no-site-packages django_hack | |
source django_hack/bin/activate | |
cd django_hack | |
easy_install django | |
ls bin | |
django-admin.py | |
django-admin.py startproject django_test | |
cd django_test |
# below comes from http://people.csail.mit.edu/ichuang/edx/ | |
cd | |
mkdir mitx-vagrant | |
cd mitx-vagrant | |
mkdir data | |
# download edx4edx_lite https://github.com/mitocw/edx4edx_lite into data directory | |
# download mitxvm-edx-platform-02sep13a.box | |
# http://people.csail.mit.edu/ichuang/edx/download.php?file=mitxvm-edx-platform-02sep13a.box |