Skip to content

Instantly share code, notes, and snippets.

View JohnAtl's full-sized avatar

John T. Johnson JohnAtl

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>658773622.62719798</real>
<key>Macros</key>
tab=\t
return=\r
newline=\n
backspace ⌫
backtab ⇤
caps ⇪
clear ⌧
cmd ⌘
context 
ctrl ⌃

Meeting Note Template


Meeting [[{{date-as-YYYY-MM-DD}}]] with {{people list}} re: {{topic}}

What is the meeting about?

What prep work do I need to do?

What do I want to discuss?

Are there any contingencies to prepare for (I.e. to avoid being blindsided)?

Project Template


#project @review({{review interval}}) @start({{start date}}) @due({{due data}})

Project plan

To make your own plan, answer the following questions:

What is your goal?

What is the deadline?

What action do you take?

What is the amount of action?

How often do you do this action?

Project Actions Template


#project @review({{review interval}}) @start({{start date}}) @due({{due data}})

Next Steps


Notes


Done

Cancelled

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>WithPalette</string>
<key>AddToMacroPalette</key>
<false/>
<key>AddToStatusMenu</key>
220329-07:08:30,215 nipype.workflow INFO:
Workflow preproc settings: ['check', 'execution', 'logging', 'monitoring']
220329-07:08:30,300 nipype.workflow INFO:
Running in parallel.
220329-07:08:30,304 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 10 jobs ready. Free memory (GB): 28.80/28.80, Free processors: 1/1.
220329-07:08:32,307 nipype.workflow INFO:
[Job 0] Completed (preproc.selectfiles).
220329-07:08:32,311 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 11 jobs ready. Free memory (GB): 28.80/28.80, Free processors: 1/1.
@JohnAtl
JohnAtl / nipype.swist
Created April 12, 2022 15:25
Singularity file that may create a Singularity container with nipype, pybids, seaborn, and jupyter notebooks
Bootstrap: docker
From: nipype/nipype:latest
# This is the adjusted (fixed) build recipe for the issue above.
# sudo singularity build swist Singularity.swist
%labels
Maintainer GT
Version v1.0
@JohnAtl
JohnAtl / run_nipype_docker.sh
Created April 12, 2022 15:29
Runs the nipype docker container, and maps local folders so that notebooks in nipype_tutorial are available, data in local ./data are available, and output is sent to local ./output.
#!/bin/bash
docker run -it --rm \
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/:/home/neuro/nipype_tutorial \
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/data/:/data \
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/output/:/output \
-p 8989:8888 \
miykael/nipype_tutorial \
jupyter notebook
@JohnAtl
JohnAtl / Vagrantfile
Created April 12, 2022 15:45
Files for creating an nipype Singularity container based on the docker image nipype/nipype:latest .
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at