sudo apt install xscreensaver jq aria2 notify-osd- Make a directory in $HOME called Aerial
- Copy
aerial-downloader.shbelow into $HOME/Aerial - Run it once
crontab -e00 10 * * * sh $HOME/Aerial/aerial-downloader.shto download new stuff (if any) at 10:00 every daynano ~/.xscreensaverand add the code in the file below- Open up the XScreensaver app and pick "Apple Aerial"
gnome-session-propertiesand addxscreensaver -nosplashto the list- If you want, go into the System Settings and add a keyboard shortcut for
Shift + Win + Lto launch the commandxscreensaver-command -lock
This file contains hidden or 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
| $ docker run --rm --name hugo -i -t fedora /bin/bash | |
| [root@4cb109a331f9 /]# time dnf install hugo git -y > /dev/null 2>&1 | |
| real 0m44.956s | |
| user 0m29.467s | |
| sys 0m3.592s | |
| [root@4cb109a331f9 /]# time git clone https://github.com/theute/kiali.io.git > /dev/null 2>&1 | |
| real 1m23.461s | |
| user 0m3.596s |
This file contains hidden or 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
| <html><head> | |
| <script type="application/javascript" src="assets/js/jquery-3.3.1.js"></script> | |
| <script type="application/javascript" src="assets/js/showdown.min.js"></script> | |
| <!-- | |
| https://markjs.io/ |
This file contains hidden or 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
| #DOES NOT WORK: GIFTI READ/WRITE is broken | |
| import nibabel as nb | |
| import nibabel.gifti as gifti | |
| # load combined file | |
| # created with: mris_convert --combinesurfs lh.pial rh.pial ./pial.gii | |
| surf = gifti.read('pial.gii') | |
| #load orig affine transform | |
| ao = nb.load('orig.nii').get_affine() |