start new:
tmux
start new with session name:
tmux new -s myname
| def mult(l: List[Int]): List[Int] = { | |
| val (nonZero, zero) = l.partition( _ != 0) | |
| val mult = nonZero.reduce(_ * _) | |
| l.collect { | |
| case x if x != 0 && zero.isEmpty => mult / x | |
| case x if x == 0 && zero.length == 1 => mult | |
| case _ => 0 | |
| } |
| package com.io7m.aeron_guide.scratchpad; | |
| import io.aeron.Aeron; | |
| import io.aeron.ChannelUriStringBuilder; | |
| import io.aeron.ConcurrentPublication; | |
| import io.aeron.Publication; | |
| import io.aeron.Subscription; | |
| import io.aeron.driver.MediaDriver; | |
| import io.aeron.logbuffer.Header; | |
| import org.agrona.BufferUtil; |
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
Last updated: 2015-08-11
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs