News for hackers. Stuff that matters.
Re:Twitter's missing manual by cornellwright on Friday February 26, 2016 @02:56PM (#11183735)
> On one end of the spectrum you have tools like Notepad, where the only easter egg is that pressing F5 inserts the current time.

I wonder how many people reading this just opened Notepad to try this.

Re:Twitter's missing manual by mrestko on Friday February 26, 2016 @03:29PM (#11183984)
I believe adding ".LOG" to the beginning of file also automatically inserts the date each time you open the file so you can use it as a journal. I don't have access to Windows right now to test that though.
Re:Twitter's missing manual by dsp1234 on Friday February 26, 2016 @04:01PM (#11184200)
Re:Twitter's missing manual by marvy on Friday February 26, 2016 @08:45PM (#11185640)
I was about to post that this is the Notepad Easter Egg, but you beat me by 5 hours. I guess I'll upvote you instead.
Re:Twitter's missing manual by blakeyrat on Friday February 26, 2016 @03:29PM (#11183977)
It's not an Easter Egg, it's right there in the Edit menu. Always has been, AFAIK.
Re:Twitter's missing manual by ComteDeLaFere on Friday February 26, 2016 @02:58PM (#11183753)
Me. By the way, it's 2:57 PM 2/26/2016.
Re:Twitter's missing manual by Animats on Saturday February 27, 2016 @12:33AM (#11186204)
On Windows 7, try this:

   Ctrl+Windows logo key+Tab
Microsoft calls this "Aero Flip Mode".

Probably not in Windows 10, where the interface was made to look More Like Mobile.

Re:Twitter's missing manual by edgarvaldes on Friday February 26, 2016 @03:28PM (#11183975)
It's a nice and simple way to log your activities. I use it all the time. I would use Notepadd++ if it had this as a native feature, without the need of mapping a shortcut.
Re:Twitter's missing manual by waterhouse on Saturday February 27, 2016 @03:17AM (#11186512)
I used this for a long time:

  alias log='(date; cat) >>'

  ~> log file.txt
  Some log lines.
  Followed by a control-D.
  ^D
  ~> log file.txt
  And some more.
  ^D
  ~> cat file.txt 
  Sat Feb 27 00:16:49 PST 2016
  Some log lines.
  Followed by a control-D.
  Sat Feb 27 00:17:04 PST 2016
  And some more.
But then I wanted to be able to write to the same logfile from a few terminals at once without interleaving the lines, so: (fish syntax)

  function log
    set --local the_log $HOME/incomplete-logs/$argv[1]-(date "+%Y-%m-%d-%H%M%S")
    date >> $the_log
    rlwrap cat >> $the_log
    and cat $the_log >> $argv[1]
    and mv $the_log (dirname $the_log)/../completed-logs/
  end