Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

# list files grouped by extension, and sorted in reverse chronological
# order, mostly
function dc () {
local dir=${1:-.}
local FIRST=1;
local l f files exts extfiles extorder;
(cd $dir
IFS="
"
files=(*~(*~)(N))
# list files grouped by extension, and sorted in reverse chronological
# order, mostly
function dc () {
local dir=${1:-.}
local FIRST=1;
local d_;
local l_;
local files;
local exts;
local extfiles;
#mysource("pv.R")
N=7;
K=10;
X = matrix(runif(K*N,0,1),nrow = N);
mu = colMeans(X);
X_ = X-matrix(rep(colMeans(X),N),nrow=N,byrow=TRUE);
reg = function(lambda,sig) {
(1-lambda)*sig + lambda*diag(K)

Unison TODO list

Here is a personal list of bugs and feature requests for the Unison file synchronizer. These issues refer to the text-based user interface (which is the one I use). At the time of this writing (18 August 2015) the latest Unison version is 2.48.3.

To my knowledge, Unison is the most standard and straightforward file synchronizer for Linux. Many people say they now use 'git' or some

Emacs Yank Pointer Problem Description
Problem:
In Emacs, I can use C-y (yank) and then M-y (yank-pop) to go through a
list of recent bits of text which have been killed.
Having done this, the next time I do C-y, it yanks the last bit of
text selected via M-y, which is desired since it means I don't have to
rotate through the list to find my favorite item again. This behavior