Welcome to Jekyll!
General Notes
This page is just a page for me to keep little things to reference. It will not be applicable to anyone esle, it’s just a convience page for me :)
Convert pngs to movie
This is the command that produces decently high quality and small outputs :)
ffmpeg -start_number 53 -framerate 2 -i frames/movie000%03d.png -vcodec libx264 -crf 25 output.mp4
MATLAB Connectivity Matrices
The data going into the command cifti_write_from_template
should be [379,k] where k
is the number of maps (379 is the number of parcels). Further, given a connectivity matrix that is [379,379], the proper way to reduce this is by
nData = [sum(hyper_mask,1); sum(hypo_mask,1)]';
cifti_write_from_template(g,nData,'connMask2.pscalar.nii');
Launch novnc
sudo novnc --listen 1234 --vnc localhost:5901
Note
I’m just keeping the default page made by jekyll for convience
You’ll find this post in your _posts
directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve
, which launches a web server and auto-regenerates your site when a file is updated.
Jekyll requires blog post files to be named according to the following format:
YEAR-MONTH-DAY-title.MARKUP
Where YEAR
is a four-digit number, MONTH
and DAY
are both two-digit numbers, and MARKUP
is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
Jekyll also offers powerful support for code snippets:
Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.