Is there a way to put a link in a pastebin - pastebin

Im trying to setup a pastebin page, and cant put a hyperlink in the pastebin, is it possible
I tried searching google, cant find anything

Related

How to add pictures in colab text

I have used Jupyter notebook before and there is no problem to add pictures in the text cells.
In Colab, I have tried all the different ways I can come up with and I have searched the web. I have found a lot of solutions but none work for me. I think that the format of the downloadable link differs from the suggested solutions I have found. I have tried to modify the links in different ways but nothing seems to work.
I Found this in stack overflow: Insert Image in Google Colab Text Cell
I have uploaded my image to Google drive. If I right click the image I can select "Get Link". I think that one shall make the link "Open". Click "Copy link" and return to the markdown cell.
Where you want the image positioned, write "![](https://drive.google.com/uc?id=" then Ctrl + V to add the copied link, but delete all but the bold code as below :
"https://drive.google.com/file/d/1CDIZwkVNiKNmaskHPwnCFTkt-4_RxIhP/view?usp=sharing"
The resulting image link should look something like this:
"![ ] (https://drive.google.com/uc?id=1CDIZwkVNiKNmaskHPwnCFTkt-4_RxIhP)"
(Sorry for my English)
It is only just about adding a !.
Let me give an example,
Add a link.
Paste Image link
Then put ! before link text.(eg ![link text](https://i.example.com/e7e8ea16d242676.png))

How do I make a link from a PDF?

I'm doing a project and I need the table of contents to have links so I can be brought to different parts of the same document with this. I know how to make a link in the program I'm using (google docs) but I'm not sure where I find the link to another page in the PDF. I know how to do this on Adobe but I don't have access to the Pro portion of Adobe. Any help would be great!
Select the word or phrase you want to be hyperlinked.
Go to insert link button. Write the destination URL, click Ok.

Is there a way to add your own snippets in google colaboratory

I want to know if I can add my personal snippets in google colaboratory.
Create a snippets notebook and write your snippets there (make sure to provide a searchable title in a text block to each snippet - see the screenshot below).
Copy the URL.
Then, go to Tools > Preferences, paste the snippets notebook URL in Custom snippet notebook URL and save.
Now the snippets in the snippets notebook can be searched under Code Snippets Using the title provided in the text box.
See the tweet by #jakevdp here
We currently have not exposed a way to register additional snippets.
Curious if you'd be interested in personal snippets that follow you between notebooks, or notebook-specific snippets that only appear for a specific notebook.

Google Sheet to PDF MailTo: Part 2

First-timer here trying to modify code to fit my needs without any coding training. I borrowed the following google sheet to pdf mailto script from another poster (Kelvin Chong).
I am able to successfully send an email to myself with an attached PDF, but the PDF is blank. I'm apparently missing something when it comes to the script retrieving the active spreadsheet. The Google Sheet I am trying to send as a PDF is only a single sheet and I have tried both the SpreadsheetApp.openByUrl() and SpreadsheetApp.getActiveSpreadsheet() options. Neither method gives me an error when I run the script and, like I said, it emails me a PDF...it's just blank. Oh, and yes, when running the openByUrl I did enter the URL of the spreadsheet and have checked to make sure it is open for anyone to view.
Any help would be greatly appreciated. Thanks in advance!
Nevermind...I figured it out through some trial and error. Basically, the original programmer wrote the script so that it would send a zip file. Another programmer modified the script so that it would only send an individual sheet. When I started tinkering, I noticed that the zip file would have a blank page and then the actual pdf. Once I realized this, I just tinkered a little with the code to only focus on that second sheet. All is well now!

MVC4 having trouble formatting text from database

I am having trouble with showing my formatted SQL text.I have a form and Textarea where I put down comments. I wrote the following comment below that you see on the picture. I had a simple numbered list with no HTML I simply went from 1-5 pressed enter and it saved in the database just how I wrote it.
once I show that text on my page it looks like this
As you can see the text is mangled and it is not showing how I saved it in the database. How can I correct this? I have tried
#Model.comment and #Html.Raw(HttpUtility.HtmlDecode(Model.comment))
but it's not working any help would be great
Use HtmlEncode. This will make the correct encoding.