How to access your terminal window via the browser? - shell

I want to access my ubuntu terminal using my browser i found a npm package web-terminal but it is kind off not complete. I have seen jupyter notebook do it. so is there a solution for it or a way to get that terminal thingy out of jupyter notebook.
Example: Just like when u access your google cloud server via your browser with some sort of shell.
Note: I didn't get anything to start with just the npm web-terminal so i won't be able to show much effort from my side.
Thank you in advance. :D

So i finally found the answer i was looking for.
There is one such tool called xterm.js and very well applied example of xterm is in jupyter notebook named termiado.

Related

How to Properly setup Scala in Jupyter Notebook

I am trying to setup Scala on Jupyter Notebook and I have been following this Github page to do the setup https://github.com/vericast/spylon-kernel
But when I used the spylon kernel in Jupyter Notebook. After executing the cell, it just frozen with this message Intitializing Scala interpreter .... I waited for an hour and it still wont show anything other than that message.
I tried to look for solutions on Stackoverflow and Github but still couldnt solve this issue. I am wondering does anyone here know how to solve it? Or have any other alternatives for me to use Scala on Jupyter Notebook.
Check the command prompt of jupyter note-book and see if there is any error.
normally this happens when there is mismatch between spark version and python in anaconda
spylon-kernel hasn't been updated in several years and it does not work properly these days. Instead, its much better to use almond - "A Scala kernel for Jupyter".

jupyter notebook Server error: error

This question has already been asked, but it wasn't answered.
So basically I am using anaconda prompt to launch the jupyter notebook on Windows 10.
It works but I can't navigate for long in the jupyter "explorer" because very quickly it can't find directories and it shows: server error: error.
I don't know if it is related but I can't neither open a jupyter notebook from anaconda even if it is installed.
Does someone know how to fix this?
Thank you,
Had the same issue. It started working okay again after I'd switched off Ghostery (it's an ad-blocker) in my Chrome.
I had the same problem. It got fixed after I stopped my Chrome Ad Blocker extensions on the jupyter page.
Yes, It is AdBlock. Pause on this web
I don't have the server error: error problem since I restarted my computer.

cb_share_config won't run locally, DISPLAY error

I'm trying to run cb_share_config from an xterm to import some color themes using:
"sudo cb_share_config"
which results in:
"Unable to initialize gtk, is DISPLAY set properly?"
This doesn't make sense to me since I'm running it locally, not through ssh or anything. I didn't think I needed to set the the display. Everything I've searched for is related to connecting to a server, which I'm not doing.
Code::Blocks version 16.01
OpenSUSE Leap version 42.3
Thanks in advance.
Ok so I've solved the problem or rather avoided it altogether by just running the tool directly from a file manager (Thunar). I'm still not entirely satisfied with Windows-like solution but it works. If anyone has any insights as to why I couldn't run it through a terminal I'd like to hear it but I suspect it might be a better question for a linux board.

Launch a webpage from a ChromeBook secure shell script?

I've got an AWS instance running Jupyter that I use for general mucking around, and tend to shut it down when not in use. Shutting it down changes the IP and the DNS name. On the Mac, I have a simple script that uses the AWS CLI to grab the current IP of the instance and use that to open the Jupyter notebook in Chrome.
I'm trying to replicate the same functionality on a ChromeBook. I've been able to get the shell running, get the AWS CLI running, but can't figure out how to do the last bit, which is to open the URL in Chrome. (In other words, do the equivalent of the OSX Bash command open -a "/Applications/Google Chrome.app" http://1.2.3.4:8888 on the ChromeBook shell.
So basically I want to know how to open an arbitrary URL in Chrome from the ChromeBook shell.
My Chromium OS machine has xdg-open. If your version has that, it'll be the easiest thing.
xdg-open http://1.2.3.4:8888
If not, you can always just call the full path of Chrome with the url as a parameter, (e.g. chrome http://...) or consider the many options provided here.

How can I launch IPython Notebook quietly on Windows?

When I start IPython notebook from the start menu item generated by the installation, it spawns a terminal window running the server. Can I somehow make the server run in the background so I don't need to have this "useless" window around? I tried various tips found online involving changing the shortcut to use pythonw.exe instead of python.exe, but none of them seem to work.
You can do
pythonw -m IPython notebook
Seems a bit tricky though, since you won't notice whether the server is running or not.

Resources