Thursday, March 14, 2019

How to set up NVim-R

++++
I seem to be moving towards the endpoint with every try I have. So this will be like a protracted endeavor, hopefully until this works.... Wish me luck.

Follow these resources closely: 1 | 2
++++

Resources used in the past:
https://github.com/jalvesaq/Nvim-R/blob/master/doc/Nvim-R.txt
http://www.vim.org/scripts/script.php?script_id=2628


1) install Vim 8.x without root access
--Download here
--Replace "Building Vim" instructions above site, with additional install instructions without root access here:
cd src
./configure --prefix=$HOME/software/vim_v8.0
make
make install

2) Installation - use Vim plugin functionality
open ~/.vimrc:

set nocompatible
   syntax enable
      filetype plugin on
         filetype indent on

" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')

" Declare the list of plugins.
" github account can be accessed like this
Plug 'jalvesaq/Nvim-R'

" List ends here. Plugins become visible to Vim after this call.
call plug#end()

-----
Install vim-plug

Then in .vimrc
:PlugInstall
-- install plugins
:PlugUpdate
-- update plug ins
:PlugDiff


====

3) To start, open a .R file in Vim

vi jm.R
then type
\rf to start R
A list of commands can be found here.

===

4) But apparently I needed to set my <leader> in Vim. Set to '\'
:let mapleader = "\\"
type '\rf'

5) At the bottom, there should be "updating..."
--stuck at this error: 'nvimcom' package not found...

To be continued.....


Sunday, February 3, 2019

Sticky Notes backup update

It seems like I wont be able to backup Windows 7 sticky notes to Windows 10. There is also a difference in the files to backup in Windows 10, where you need to copy everything from this directory, instead of just one file from before:
C:\Users\<username>\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe




Thursday, October 5, 2017

gCal (google Calendar) subscription for iCal (Apple Calendar)

https://www.engadget.com/2006/04/13/howto-subscribe-to-a-google-calendar-using-ical/

Follow the instructions here and then be prepared to wait. For at least 15 minutes. Also, add the hotmail, gmail and icloud email addresses permitting them to make changes and view.

Don't freak out if it doesn't sync - give it some time and it will work out.

Monday, June 19, 2017

First wedding anniversary: Yosemite National Park

This is sort of a mind sieve to put into posterity some of places we have been to on our trip to Yosemite.

Check out the website before going is a must to know the most up-to-date news on the trails and crowd. We went during Memorial Day long weekend, so we knew what we were expecting - one tip -  get to the entrance before 9am everyday!!

1) Yosemite Falls
2) Half dome
3) Glacier point
4) Bridalveil falls
5) Yosemite Falls trail
6) Wawona Swinging bridge
7) Bass Lake (it's a resort over there with chalets!)
8) Bass Lake restaurant -- Ducey's on the lake
9) Big Trees Lodge restaurant
10) a meadow trail opposite Big Trees Lodge
11) Yosemite Mountain Sugar Pine Railroad, reserve online here : highly highly recommend this, especially if you have kids.

We stayed at Tin Lizzie Inn. It was pricey but well worth it for our anniversary. The sweetest and most wonderful hosts, Sheran and David. SY loves the bed. Took car rides in David's model T Ford! Sheran's breakfasts and sweet treats. Superb location (Fish camp), just 10-15 min drive from the Yosemite entrance. We just have to follow S and D's suggestions. Thoroughly enjoyed our stay =)

Sunday, March 5, 2017

End of Downton Abbey series

Zingers, especially from Tom Branson, from Seasons 5 and 6 of Downton Abbey - here and here.

Among them, Tom's talk about his marriage with Sybil (to Mary) that was one of the most inspiring:
"It may surprise you, but I agree it's important to be balanced, that one should not be far stronger than the other. I just don't think it has much to do with money or position... To all of you, she had everything and I had nothing. She was the great lady, and I the man who drove the cars, but that wasn't true for us. We were evenly matched, Sybil and I. She was strong in her beliefs, so was I. We were a marriage of equals. We were very happy."

Mary's paraphrase to Henry Talbot:
"Tom and I once talked about how marriage should be equal. It has nothing to do with position or money, simply that a couple should be equal in both strength and passion ... I believe I've met my match. I have. I'm not 20, trembling at the touch of your hand, but I know that if I leave you now I'll never be as happy as we could've been together..."

And the row Mary had with Edith, whom I am extremely glad got her happy ending as well; I never quite agreed with the way Mary ever treated Edith - to tell the truth, sometimes I feel like slapping Mary for being so vicious to Edith:
M: Going away?
E: Do you care?
M: Look, I wasn't to know you hadn't told him. It never occurred to me --
E: Just shut up! I don't know what's happened. Tom has made you feel bad, or Papa, or maybe it's just the same old Mary who wants her cake and ha'penny!
M: I never meant to --
E: Yes, you did! Who do you think you're talking to? Mama? Your maid? I know you! I know you to be a nasty, jealous, scheming bitch!
M: Now listen, you pathetic --
E: You're a bitch! Not content with ruining your own life, you're determined to ruin mine!
M: I have not ruined my life and if Bertie's put off by that, then --
E: Don't demean yourself by trying to justify your venom. Just go.
(SCOFFS)
E: And you're wrong as you so often are. Henry's perfect for you. You're just too stupid and stuck up to see it! Still at least he's got away from you. Which is something to give thanks for, I suppose!

And their reconciliation - speaks volumes of sibling bickering and rivalry, no?:
M: You know I'm sorry.
E: I assumed you would be fairly sorry unless you're actually insane.
M: I'm not insane but I am sorry, I don't know why I did it. Not really.
E: I've told you. Because you were unhappy so you wanted me to be unhappy, too. Now you're happy again, you'll be nicer... for a while.
M: If that's what you feel, then why are you here?
E: Because, in the end, you're my sister and one day, only we will remember Sybil... or Mama or Papa or Matthew or Michael or Granny or Carson or any of the others who have peopled our youth... until, at last, our shared memories will mean more than our mutual dislike.
M: What do you think he'd have made of it? I went to his grave to tell him, which isn't like me.
E: Matthew loved you and wanted you to be happy. I'm sure he'd be very, very pleased. In fact, I know he would. You look nice, by the way.
M: Thank you.

I am sure there are more. But somebody sensible has to put them together in one place - I couldn't find one that has a good repository of quotes from the series. Then again, that's what's about a good script, different lines appeal to different people, and even the same lines can be interpreted differently because of differences in lives.

Tuesday, August 16, 2016

Linux VS Mac OS GNU command line tools

After using the tools on Mac for a while, I realize a number of the tools that I am familiar with in Linux is not the same on Mac.

I found this website:
https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/

Apparently, there's a difference as the Mac uses the BSD version of the GNU tools.

The website tells you how to use the Linux version of the tools on Mac.