Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC5n/GGYIEgnBS1mtpDuaTpx5+X9iGm0EuEsW35MDmwPuFtLvr5Y3a0MAGmcwqG0+6+bKoRh671c8xPnlGQnc2YzpyOmIuVQrC8ZOHSXXn0S4rdfLpa+Zt9OT4R6fDeIT73voqIYkKSiCRsjMHpMbB2spDXNE+Wx3EyOZO2U62ANLxvbZhNyqpsav2u3Na0w6r0GQGXuLLIywLgz/uaamF2kVeBGZftQjuzsdoHR+Tn5//QAy04/7kZIh8tuAwJsg1K57HRNMyOx/I9S+Q+C6q5vvA616hFCLuNl3/uhYZVKU9CX2QiK8NH3/ZYpLlXnMaGg4wiUS1OlUvTUPMQ9YGlGKauLd5B/Ev7gJoWkx9+s2DLMpwSQu626lDodIggmejdxFsbyhV1ynqiCPVlHhgPwlSK/f1y+PHubmSaUj8jXhIvFPyP1tGSvYfMerPxNSq2Lx0V3IvbN3ot11GJ1G4kY1TH1Lbdja/SpngnWVfgf7MPKQEPIkF/qea0P7/jU/s= mbuch |
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
ssh-rsa | |
AAAAB3NzaC1yc2EAAAADAQABAAABgQCWBAymwch4aS2YqktsuyP+O9zxa+BX1LE5S3OcDDqi0K1v/Rt7w9goKXGFUoB5qyt6LfCtq7GnXqIIHSH7XGqQOALQ89awR2saJVe0TGl19mbyyf0PQJzjLNSiBNypceeSqdMEyitUREeZ4ObhQlxqwL2hSvoWW+EaDpeA1XPm2uSJGmnZW1sCdxDOI4EQGXRbLER/3Y6+fc4r+1sjZ+z9Hq7Q1hcX5MNKi6FpqTrwj+bUhjD9iyzM45emTsDWTbmpCRTa5fJFw+09l6xUPKS6efY6tkvP5++5nHN+fV9bJS0XWvFNfwpmASglyv1NxJAovAPwoM7tTgr81cdxwGaEo0s7mK4yIVQCP7hrdr2V7gYBRI/RW9GwHxVMga5G7gZ7BdymdB6qUmpxy30FKboAG1lvsH9kz5tb/ORwX82x58tPWRJQf6+ouq1Bk/YjHOOHMrYcMeInEkmuyHd8BXFjnwD924jc74ceP9QDAsOJb77lnn1XqWw6yHQYFmx5ieM= | |
acladmin@amu |
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
#include <stdio.h> | |
#include <gsl/gsl_matrix.h> | |
#include <gsl/gsl_math.h> | |
#include <gsl/gsl_multifit.h> | |
/* Interest rate */ | |
double r[] = { 2.75, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2.25, | |
2.25, 2.25, 2,2, 2, 1.75, 1.75, 1.75, 1.75, | |
1.75, 1.75, 1.75, 1.75, 1.75, 1.75, 1.75 }; | |
/* Unemployment rate */ |
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
from psychopy import visual, core, event | |
win = visual.Window([400,400]) | |
win.flip() | |
while True: | |
keys = event.getKeys() | |
if 'q' in keys: | |
core.quit() |
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
import weka.classifiers.functions.LibSVM; | |
import weka.core.Instance; | |
import weka.core.Instances; | |
import weka.core.SelectedTag; | |
import libsvm.svm_model; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.lang.reflect.Field; |
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
// This script is avilable as gist: | |
// https://gist.github.com/mikbuch/212cfb7365703caf517aa83642d10d91 | |
/* Requirements: | |
* * "esp8266" board installed. | |
* | |
* In order to install the board, go to: | |
* -- Tools => Board => Boards Manager => Install "esp8266" | |
* It also includes "Wemos" boards ("LOLIN"). | |
* |
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
import argparse | |
import re | |
import subprocess as sp | |
''' | |
Script to automatize mapping neuroimaging data from volumes (NIfTI) to brain | |
surface (workbench). | |
Edit data: 2021-04-28 | |
Author: Mikolaj Buchwald, mikolaj.buchwald@gmail.com |
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
# Standard system upgrade: | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
# Nodejs installation on debian (source (here)[https://tecadmin.net/install-laatest-nodejs-npm-on-debian/]): | |
sudo apt-get install curl software-properties-common | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - | |
sudo apt-get install -y nodejs nodejs-legacy | |
# Installing the Jupyter itself: |
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
message("\n") | |
message("############################################") | |
message("# Mediation analysis example #") | |
message("############################################") | |
message("\n") | |
message(" + Import packages\n") | |
library('mediation') | |
# For Sobel filter: | |
library('multilevel') |