I program with my laptop, and having to use the touchpad is just the worst. I <Esc>, 0, 0 to 'restart the kernel' per the keyboard shortcuts docs, but that gives me a dialog... when I hit <Return>, it selects, apparently, the "don't restart the kernel, actually" option. <Tab>, <Return> doesn't seem to work for selecting the 'restart' option in the dialog.
Please help me escape the evil clutches of my touchpad!
If you upgrade to a newer version of the notebook, you can define your own keyboard shortcuts and so could set you own shortcut for the "restart kernel" command which does not prompt you. Editing keyboard shortcuts was introduced in 5.0, and can be done via Help > Edit Keyboard Shortcuts
If you cannot upgrade the notebook for whatever reason, then it may just be your browser. I tested it in both Chrome and Firefox and it auto-selects the Restart option for me, and I can switch between the two options using Tab and Shift+Tab and press Enter to select them.
Related
I have a script I need to run multiple times in a row, with a few seconds in between. However, I need to keep reopening the f12 menu after I switch to a new page that I need to run it on. Is there a way to program it as a favorite or a keyboard shortcut so I can just click that instead of f12 then up then enter?
As far as I know, the developer tools don't have this option to save the console command as a favorite or a keyboard shortcut.
Here are some DevTools Keyboard Shortcuts, you could try to copy the command to the clipboard, then using the keyboard shortcuts to open the console command, and paste the command and run it.
To open DevTools, press the following keyboard shortcuts while your cursor is focused on the browser viewport:
Open whatever panel you used last: F12 or Control+Shift+I
Open the Console panel: Control+Shift+J
More detail information about the keyboard shortcuts, please check these links:
Microsoft Edge DevTools Keyboard Shortcuts
Get Started With Running JavaScript In The Console
I have installed Jupiter notebook using Anaconda. I run it as using jupyter notebook --no-browser in command prompt in windows 10. I want to run it as the background so that I don't accidentally close the command prompt. The problem here is, many users of systems accidentally close the command prompt, which affects other users.
Open Anaconda navigator.
Launch the jupyter notebook from it. It will run as a background process. Even if you close the Anaconda navigator, it works. So when you close the anaconda navigator, it asks do you want to kill the background process, make sure you unselect the checkbox. Check below screenshot.
This method worked well.
You can use START /b, but that will terminate the program when command window is closed. You will need a VBScript to accomplish this. This post show a simple script to accomplish this: https://superuser.com/questions/62525/run-a-batch-file-in-a-completely-hidden-way
I have installed VirtualBox -> Centos6.8 -> PyCharm.
The shortcut keys like Ctrl+c or any other is not working for PyCharm. When i press Ctrl+s then Centos settings window in invoked.
How can i change the key mapping?
All I would like to say is that the solution is simple:
Turn off Vim Emulation in the Tools menu
I was surprised I did not find an answer to this question on Jupyter Notebook under Win7 here or on the web.
I just overwrote by mistake a larger part of a call block, but not all. Autosave dates back some previous changes that I do not want to revert. Where is the undo function for text entries in Jupyter Notebook?
Hit the ESC key to enter Command Mode. Now you can hit the h key to see all available commands. To undo an entry you have to go back to Edit Mode (hit ENTER) and then do a CTRL-Z.
Is there a keyboard shortcut to allow you to switch between Chrome Developer Tools and the main window and back again? I am looking for a shortcut that will work on Windows, MacOSX and Linux.
I don't think there is a direct answer to this. Unfortunately, all of the keyboard shortcuts for changing the focus are intercepted by Chrome Developer Tools. You can toggle the visibility of Chrome Developer Tools with:
Windows: Ctrl-Alt-i
OSX: Alt-Cmd-i
Linux: Ctrl-Shift-i
However once you are in Chrome Developer Tools very few Atom Shortcuts still work, this is maybe something that can be implemented in a package or in init.coffee.