How copy/paste text on BootToDocker console - console

I use Docker on Windows 8.1 and I would like know how I can copy/paste a simple text inside the Boot2Docker console please, I have try ctrl+v and right-click but don't work.
Thanks.

1st Option
Right click on the window menu title --> Edit --> Paste
2nd Option
- Double click the start.sh script (this is the script behind the boot2docker linkage)
- Right click on the window menu title --> Options --> mark check box QuickEdit-Mode
- You will then be able to paste text via right click

Right click on top panel of Docker console -> Properties
Click "QuickEdit Mode"
Copy text and paste it by right click in Docker console

It turns out that for me, doing so in default did not do the trick.
I had to go to Menu > Properties > set Quick Edit Mode ON.
Then, I was able to select text with mouse, to copy hitting "Enter" and to Paste with a right-click button on my mouse.
Pretty obvious things, but if you don't have those, it can be very annoying.

you can
- paste by
edit--> paste
TO copy you can mark the "text" that you need, right click to

If you want it default, click icon docker in terminal -> default -> click Quick Edit Mode

Windows 10, Docker Desktop 4.0.1(68347)
I must tick like this and use ctrl+shift+C/V to copy/paste
Good luck!

Related

PyCharm R plugin: how to clear the console?

I am running an R file with the PyCharm R plugin. Is there a way to clear the console? I have tried ctrl + L and cmd + L, but neither of them works.
I can't find a default key-binding for clearing the R-console in PyCharm, but you can press Ctrl-Shift-A (or navigate to Help-> Find action) to find the action, and set your own binding, in this case you would want to search for/bind clear all (not clear).
Put the mouse cursor on the area of the R-console where the text is that you want to clear.
Press the right mouse button. Choose the option "Clear All".
See screenshot.

How to edit jupyter notebook shortcuts

Jupyter notebooks have a convenient means to edit shortcuts - by pressing H for help there is a button for it:
And here is the dialog to make the updates:
The question here is: when pressing add shortcut we apparently have a free form text field to enter the shortcut:
But whatever combination I put in actually causes some _system_wide_ kind of behavior to kick-in e.g. Command-R causes Jupyter to do something wacky, and I tried a couple of others. Is there another way to enter these?
Have you tried clicking on that link: details of defining keyboard shortcuts?
That gives some general tips on creating new shortcuts.
Your example might not work because you would want to use "Cmd-R" instead of "Command-R". Though, in my operating system, "Cmd-r" already does something(reloads the page). So whatever combination or sequence you choose, I'd make sure it doesn't already do something before using it as a shortcut.
Once you type into the field, are you clicking the "+" button to the right? If you click on that, it should then show if it's been set, and you can verify it set it to what you wanted. If you don't click the "+" button, it will have no effect.
Good luck!

How to disable Live View Code Finder in Brackets

In Adobe Brackets, I have a HTML file open with live view on, when I click on an element in Live View (i.e. Chrome); It automatically scrolls to that elements code in Brackets. I find this very annoying since I have to keep scrolling back to where I was.
Is there a way to disable this feature?
Thanks.
This can be disabled by setting "livedev.enableReverseInspect": false in the preferences file.
For more info click here.
"There's a toggle View > Live Preview Highlight that you can use to disable and re-enable this feature."
Source

Inserting an image in GUI using QT Designer

I am new to QtDesigner. I wanted to know how to insert an image in the GUI using QT Designer. I am trying to add a logo. Help would be appreciated.
You can start inserting a label. Next, you right click on it an then click "change rich text...". A new window will pop-up.
Click on the figure Icon "Insert figure".
Now, you have to create a resource file. Click on the Pencil button.
Next, click on the "New resource file" button.
Choose a name and a folder (your working directory would be a good choice) to save it.
Now, click on the "Add prefix" button.
Choose a name for it.
Then, click on the "Add file" button.
And there you go! Click "OK" and you figure should be there.
Just be aware that you should resize your figure to a proper size before using it.
Hope it helps!
The easiest way I've seen so on :
You drag and drop your Label on your window, select the Label, you'll see on the right side of your screen the 'Property Editor' frame and the 'QLabel' menu, you click on pixmap => Choose File..., select a file and that's it.
Make sure you have resized it before, you won't be able to do so in QtDesigner.
Just for you to know I'm just a beginner on PyQT5 / QtDesigner, so that may not be the proper way to do it.
Hope it helps

Close Other tabs in XCode 4?

Am I crazy or is it not possible to close other tabs in XCode 4? I have about 7 tabs opened littering my workspace. I right click the one tab I'm interested in to bring up the context menu. I can see options to open a "new tab", "close tab", "close other tabs", and "move tab to new window". However, the only option that is not greyed out is "new tab". Do I have to put XCode in some magical state to enable the other options? Are these options merely eye candy, teasing me with hopes and aspirations of things I might like to do? Is this some weird kind of year long April fools gag? Inquiring minds wanna know.
*Update Uploading a HocusFocus screen capture for clarity...
You should be able to hover over the tab and click on the cross that appears on the left hand side of the tab. However, if you are not seeing this cross for some strange reason - you should be able to close the current tab in XCode (similar to many other OSX applications) by pressing CMD+W on your keyboard.
While the context menu doesn't work when you right click on a tab, you can achieve all of the same results by using keyboard shortcuts (which do seem to work as expected). Each of the 4 options on the context menu maps to the following shortcuts;
New Tab: CMD + T
Close Tab: CMD + W
Close Other Tabs: CMD + ALT + W
Move Tab to Other Window: I couldn't find a keyboard shortcut, but you can click and drag the tab away from the menu bar.
There doesn't appear to be a sensible way to enable the context menu on the tabs at the current time.
Late to the party but are/were you in full screen? Try again after quitting full screen...
Just click: View -> Hide tab bar
I had a similar issue (I say 'similar, because using Cmd+W. Cmd+Alt+W' didn't work for me).
In my case the tab had a cross on the top right, grayed out and nothing happens when clicking on it. If I opened a new tab, I could close either of the extra tabbed editors, but not both(!)
In View > Editor, selecting 'Standard' removes the 'second tabbed editor'.

Resources