Google Colab. How to hide the python code for readers - google-colaboratory

I would like to hide the code of a cell for the readers.
I know that you can use ##title to hide code in a cell.
However, if the reader doble click on the title or right mouse and select show code, he/she will be able to see the code again.
What I need is that nobody will be able to see the code behind. I want that they only were able to run the code and interact with it using the widgets.
Is there any way to do that?
Thank you very much.
Appreciated any insight on this question.

Related

How to change the appearance of a button once it has been clicked in libre impress

I have what should be a fairly straightforward question regarding libre impress. I want to make several buttons to jump around the document and I would also like these buttons to indicate that they have been clicked before.
To achieve this I used simple shapes (stars in my case) and added an interaction feature to jump to the desired location. So far so simple. In order to indicate that a button has been clicked before, I thought the easiest way would be to change transparency, colour or size of the shapes. Really any of those would be fine for me. I thought this could be done with a macro. My problems are the following:
I don't know how to write the macro. I have a rudimentary understanding of scripting (mostly Python) but not with this particular language.
I don't seem to be able to attach two interactions to one object (i.e. one for the jumping and one one for the macro to change the appearance).
I hope that there is a simple solution to this. Thanks in advance!
The tag is for Basic, so I'll go with that. However, LibreOffice macros can also be written in Python. To get started with Python macros, use APSO and check out this tutorial.
Anyway, here is some Basic code for Impress to point you in the right direction.
oDoc = ThisComponent
oDrawPage = oDoc.getDrawPages().getByIndex(0)
oShape = oDrawPage.getByIndex(0)
mri(oShape)
MsgBox(oShape.getControl().Label)
Whether you decide on Basic or Python, get the MRI extension in order to discover UNO properties of an object. This way you can find out how to change the button.
When you have some code, post another question or edit this one that shows the code you have so far, and describe problems you encountered.

IntelliJ v14, how to bring up a method parameters information via keyboard or mouse input?

I really like how IntelliJ displays the information of the type of parameters that you are required to fill in as you are writing the code. The problem is that this info sometimes disappears if u click somewhere to check something etc. I never quite know how to get it to display that information again in same fashion. So I always spend some time to fiddle around until it displays that info again in the same fashion. I know you can hold down on ctrl and hover over the method name to bring up parameters information but its not quite the same and it then does not highlight on what parameter you are currently on. IntelliJ also brings up required parameters type of information when you are starting to go wrong. It brings up this big separate box and you can get very clear view of what needs to be done. I've taken a screenshot of the type of information that I'm on about. Both of them are on the same pic.
Please check it out.
My question: is there a way to bring this information up via keystrokes or mouse input at will? I've tried to google for an answer but I haven't had any joy. Please advise as I'm sure someone else might like this information too.
Thank you.
PS. I know that a good code does not usually have that many parameters but in my case there is not much that can be done.
Default shortcut for that is CTRL-P when cursor is inside the brackets.

wacom and myscript set handwritng recognition function

im not sure if its the right place to put my question, but i think maybe get an answer here.
the last few days thinking about a way to make μυ work easier.
What I want is to write by hand and convert into text on the computer.
namely when I am on a page with multiple text forms like this im writing now,
when i choose a text form with a pen (like wacom graphic tablet) write on a surface and the automaticaly when i stop or pressing a button the text turn into text in the form.
my title say about wacom because i found bamboo scribe.. if someone uses this please explain me whats can do and if can work for me.
i test myscript. with fullscreen tool wich you can write everywhere on the screen is easiest but when you finish you have to press a button on the program to insert the text in the selected area.
so my question is there any way to press that button with the button placed on stylus pen?
i saw that you can set functions when a button clicked on the wacom tablet or on pen.
i have not bought yet anything because im searching if is out there anything could do what i want better. something made for that particular job
Thanks and sorry for my bad english..

Use custom image for button in Ribbon Bar Excel

I have a few custom functions that I'd like to add to my custom tab and group in the ribbon bar. I'd like to use a custom image I created and took a snapshot of (.png). I've seen a few websites that explain how to do so, such as this one,this one, and this one; however, this is way over my head and I'm not even sure where to put the code to insert the file. Can anyone help me understand this better?
Any help is appreciated!
the thing that I was looking for was an XML editor. I found more specific instructions on an Excel Add-in website. Thanks anyways.

Hidden dropdown menu like Windows 8 right side menu

I am not sure what I call it... The pulling menu in windows8? You know the one with the setting etc in it
See this picture:
http://www.eightforums.com/attachments/tutorials/3414d1330544186-lock-log-off-restart-shut-down-switch-user-windows-8-a-settings-1.jpg
How do I make one?
I can use vbscript..I know you can't use this to make what I want...
Vba and just over the last month powershell.
I was looking at Python... People keep telling me it's awesome to use can you make a menu bar like that picture in Python?
Suggestions to what to start learning and reading would be great?