by tep · 14y ago · 0 comments
log(){ date >> ~/log/$* ; cat >> ~/log/$* ; }
I try to keep it simple but I keep several files. There is one for general ideas which is called "projects", another one to log new words I've learnt called "voc.en" (English is a second language for me) and so on.
For example:
log projects <enter>
write something cool... <enter> <ctrl+c>
--------------------
cat log/projects
Mo 10. Sep 07:16:02 CEST 2012
write something cool...
I'm going to try this CLI method since it'll be impossible to read old stuff and get distracted while trying to add something.
log() {
echo >> ~/Dropbox/NotationalVelocity/$*.txt ;
date >> ~/Dropbox/NotationalVelocity/$*.txt ;
cat >> ~/Dropbox/NotationalVelocity/$*.txt ;
}
We'll see how this goes!Just going from memory, their biggest security-breach PR disasters have been caused more often by sloppy employee security than by outside actors.