Markdown File Not Working in Jupyter Notebook - windows

Simply trying to open a README.md file from GitHub in Jupyter Notebook. Greeted with the raw text, no options, and no preview every time. I also note the loss of any of the 'standard' toolbar options at the top (such as kernel).
Screenshot of current situation
Tried just about everything the internet could think of (including a reinstall, or at least what I think to be a reinstall, of notebook), and still no luck. I also have noticed that the executed preview does not work in VSCode on my current machine, or laptop. No idea what is wrong, but clearly, I am the common factor haha. Thanks in advance for any input.

Related

Calibre's "Live View" Panel Disappeared: Can't Redisplay It

OS Win 10
Calibre's latest version, as it was very recently downloaded and installed.
Can someone please advise as to how to reopen the Live View Panel?
I had been editing an ePUB file's text, and also adding images. It was an easy process to add images; i.e., by clicking the desired position in the Live View Panel, and then importing a image.
Unfortunately, I do believe that I probably inadvertantly clicked on something or another, which caused the disappearance of the Live View Panel. All the other panels on the editing screen were still visible.
A search of the edit screen for a feature enabling me to view display panel agin was unsuccessful.
I tried clicking other HTML files in the Text panel, hoping it would cause the Live View Panel appear, to no avail.
I closed the entire program, and reopened it several times, with the same results.
I loaded different ePub files, and each time I went into edit mode, the Live View Panel was missing. And, all along, I did try the previously mentioned measures.
I even uninstalled Calibre and reinstalled it, twice! And, I made sure that its installation folders had been deleted upon each uninstallation. But, somehow, upon reinstallation startup, Calibre knew the very "special" folder (i.e., which I had designated in an earlier installation) into which to setup its User-related files and its library. [I thought it was probably due to system registry setting.]
Finally, I again uninstalled Calibre. However, this time, before doing a reinstallation, I restored Windows settings. I used a (restore) point that I had created prior to Calibre's first installation. I had hoped that any Registry settings related to Calibre would surely not survive. Nevertheless, upon a subsequent Calibre reinstallation, the program simply failed to display the "Live View Panel." (Go figure!)
I would certaintly appreciate any feedback.

Problem: Shutting down pc resets powerline fonts so they don't appear in VS Code (but they do in Ubuntu terminal)

I managed to get the Powerline fonts working on my Windows 10 pc to use in WSL, particularly in the VS Code terminal window so I can use the Agnoster oh-my-zsh terminal theme. I set it all up and everything works - cool.
BUT when I shutdown my pc and restart it, the font no longer works in VS Code.
However, it does still work in the ubuntu window. See ↓
https://i.imgur.com/SCyDrFM.png -- Sorry, I don't have enough rep to post images :(
I noticed it is not installed in the settings > font window
But it is installed in the control panel fonts window.
Current workaround
I can get the font to work again if I reinstall the font, at which point Windows will prompt me that The font is already installed, do I want to reinstall?. Click yes.
At which point the font will appear in the fonts settings (Add fonts) window.
What is going wrong with the font installation? Reinstalling the font after every boot seems tedious... I suppose I can get a script to automate that on startup but I really want to get to the root cause.
EDIT
So I just found the fix - had to right click on the .ttf file and 🛡️Install for all users.
I don't know why installing it as the local user didn't work but hey ¯\_(ツ)_/¯
I found the answer to my own question...
Have to right click on the .ttf file and 🛡️Install for all users.
It seems that if the font is not listed in the Settings > Personalization > Fonts window, VS Code will not find it. Installing for all users makes the font persist there after reboot.
You can install the Powerline Fonts with the following command:
sudo apt-get install fonts-powerline
And starting VS Code from your WSL prompt with command code .

How do I customise iTerm terminal to show me (master)?

I download something from Git, it was provided by Linux Academy, I'm just curious, once I got in that folder, in my terminal pops up a word in green (master) and disappears when I get back, I saw that feature before, but from curiosity asking, what kind of plugin is that? I tried to google, but couldn't find anything helpful.

Windows Octave fails to paste text from clipboard?

I am just install Octave 4.2.0 in Windows 10 and try to do some Machine Learning exercises. I notice that I can't paste the normal clipboard content to the Octave.
Does anyone else have this issue? If so, any work around? Or is it just bug in the program?
Although your description doesn't indicate the exact place you're trying to paste contents into, there were a couple bugs around the time of Octave 4.2 specifically related to this problem. See:
bug #51095: editor doesnt allow paste of exisiting clipboard data
and
bug #52361: Ctrl-C/Ctrl-V only works reliably if executed as very first action
both bugs have since been patched and closed (around version 4.4), and reports seem to indicate that the problem has not resurfaced in later versions. Anyone experiencing similar issues in a recent version of Octave (v5.2.1 as of today) should either comment on one of those closed bug reports or create a new one at https://bugs.octave.org
Run >> preferences, and in the Shortcuts tab, untick the option at the top "Disable global shortcuts when Command Window has focus". (I don't know since what version it is there.)
If you disable global shortcuts, Ctrl-V (for paste) is disabled because it is a Windows thing.
If you do not disable them, Ctrl-V will work. So will Ctrl-C to copy text, but it will also still work to abort an execution.
If you click on the icon in the title bar on the top left corner of the
window, you'll get an edit option, and you can choose to mark (choose
the text to copy), copy, and paste from there.

Vim in Windows using cmder line highlighting on scroll

UPDATE 16-02-29:
I managed to fix this error by trying to build from the sources hosted on github. Building this way worked but I suspect the fix had something to do with either me downloading powershell 4.0 or Microsoft Build Tools 2015, because I was prompted to update after starting cmder and the bug was still gone even after update. The fix might have also been from editing the init.bat file to point to my manual install of the latest conemu before building. I'm not sure.
ORIGINAL POST:
I'm following a tutorial to setup vim on my Windows machine. I have a weird bug though where when I scroll down on a file in Vim, every other line gets highlighting and will go away if I move the cursor up to those lines.
Like this:
This seems like a screen refresh issue of some kind. There's a similar problem, not sure if related, where sometimes when I got back to cmder after quitting vim the prompt will be placed in the middle of the previous outputs and will start to overwrite these previous lines as commands are executed. This is fixed either by a cls or restarting cmder.
Tutorial: https://www.youtube.com/watch?v=NPtJ4TquQZY

Resources