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
function exit_stat = DrawLeftArrowToOffScreenDemo() | |
exit_stat = 0; | |
PsychDefaultSetup(2); % assert OpenGL install, unify keys, fix color range | |
screenNumber = max(Screen('Screens')); % Choose a monitor to display on | |
[window, winRect] = Screen('OpenWindow', screenNumber, ... | |
(2/3)*WhiteIndex(screenNumber)); | |
arrowTexture = makeLeftArrowTex(screenNumber, winRect(3)/2, winRect(4)/2, winRect(3)/2 - 100, winRect(4)/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
library(ggplot2) | |
library(dplyr) | |
library(tidyr) | |
library(stringr) | |
library(scales) | |
library(gridExtra) | |
library(grid) | |
# use the NPR story data file --------------------------------------------- | |
# and be kind to NPR's bandwidth budget |
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 | |
#set -x | |
# Usage: shibb-cas-get.sh {username} {password} # If you have any errors try removing the redirects to get more information | |
# The service to be called, and a url-encoded version (the url encoding isn't perfect, if you're encoding complex stuff you may wish to replace with a different method) | |
DEST=https://myapp.example.com/ | |
SP=https://myapp.example.com/index.php | |
IDP="https://myidp.example.com/idp/shibboleth&btn_sso=SSOok" |
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
{ | |
"translatorID":"04623cf0-313c-11df-9aae-0800200c9a66", | |
"translatorType":2, | |
"label":"ZotSelect Link", | |
"creator":"Florian Weßling", | |
"target":"html", | |
"minVersion":"2.0", | |
"maxVersion":"", | |
"priority":200, | |
"inRepository":false, |
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
> # Calculate the predicted random effects by hand for the ergoStool data | |
> (fm1<-lmer(effort~Type-1 + (1|Subject),ergoStool)) | |
Linear mixed model fit by REML | |
Formula: effort ~ Type - 1 + (1 | Subject) | |
Data: ergoStool | |
AIC BIC logLik deviance REMLdev | |
133 143 -60.6 122 121 | |
Random effects: | |
Groups Name Variance Std.Dev. | |
Subject (Intercept) 1.78 1.33 |
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
{ | |
"translatorID":"04623cf0-313c-11df-9aae-0800200c9a66", | |
"translatorType":2, | |
"label":"ZotSelect Link", | |
"creator":"Scott Campbell, Avram Lyon, Nathan Schneider", | |
"target":"html", | |
"minVersion":"2.0", | |
"maxVersion":"", | |
"priority":200, | |
"inRepository":false, |