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.
Related
I tried uninstalling Docker Desktop in the traditional way (Control Panel -> Programs -> Programs and Features) but ran into some complications. I now have a bunch of Docker files scattered across my machine (e.g. in AppData/Roaming, the docker command still works, etc.) but it doesn't appear in Programs and Features any longer, so I can't try a traditional uninstall.
The Docker Desktop icon is still there, but when I click it I get a "Docker failed to initialize" error. When running the installer, it hangs. Is there a way to manually uninstall whatever Docker files I have left, the way the traditional uninstall would? Or just reset it somehow so I can use the application again?
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.
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.
I've been using IPython ever since I can remember (and I have a pretty good memory), both for Python and for Julia. However, lately there seems to be an issue with getting it to work on my browser. I use ver. 50.1.0 of FF and my IP software is up-to-date. The program launches fine (i.e. without any errors), initiating a local host at port 8888, but the browser never gets the memo to start a new tab to render whatever IPython sends to that address. Any suggestions?
Apparently this has to do with some update or something that I've done recently. When I go to the local host address I can access the notebook. Even though this is less than ideal, as I have to take an additional step in order to use IPython, it's not crucial.
So I want to open my workspace automatically when I open a profile for work, the problem is that it opens the windows (and windows splits) correctly but doesn't run any script to start my server, celery tasks, get into the correct folders, etc.
Is there a way to do this? even running a bash script would work for me, it doesn't have to be supported by iTerm.
I think you will find this article useful. It uses Apple Script to tell iTerm2 to open multiple windows and run commands in each of them.
http://90kts.com/2011/09/29/split-panes-and-remembered-sessions-in-iterm2/