Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts
Saturday, May 28, 2022
Wednesday, February 17, 2021
Colabtricks
Colab’s tricks
Save code
- Save cell’s code
Note that%%writefile name.py import torch a=torch.tensor([1,2,3,4]) print(a)%%writefile code.pyshould be put at the beginning of the cell
Open a Github notebook using Colab
Change the domain from 'github.com' to 'githubtocolab.com'. The notebook will open in Colab. See other tricks.Convert ipynb notebook
-
to pdf
- Go to Colab
- Upload your IPython notebook to Colab
- run these following commands
#intall nbconvert for Linux system !sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-generic-recommended #convert command !jupyter nbconvert --to pdf ttl.ipynb - A pdf file will appear next to the your notebook, just download it.
-
to interactive html
(the original technique is here, as an example visit this post)- Go to Colab
- Upload your notebook to Colab
- run these following commands
#intall nbinteract !pip install nbinteract #convert command !nbinteract {notebook_filename}.ipynb -s {GitHub_UserName}/{Gist_ID} - An html file will appear next to the your notebook, just download it and make necessary modification if needed.
Monday, January 11, 2021
HTML blog
Contents
What is HTML?
HTML stands for Hyper Text Markup Language. It is used to create a web pages and applications. This language is easily understandable by the user and also be modifiable. It is actually a Markup language, hence it provides a flexible way for designing the web pages along with the text.
HTML file is made up of different elements. An element is a collection of start tag, end tag, attributes and the text between them.How to format text?
Collapsed text?
Collapsed text
Centered text?
Colored, bold, italic, underline text?
Colored, bold, italic, underline text
List text?
- Coffee
- - black hot drink
- Milk
- - white cold drink
- Coffee
- Tea
- Milk
- Coffee
- Tea
- Milk
Table
| It is a 1st Cell of 1st row in the 1st Table. |
It is a 2nd Cell of 1st row in the 1st Table.
|
||
| It is a 3rd Cell of 2nd row in the 1st Table. | It is a 4th Cell of 2nd row in the 1st Table. |
div, span, style, and class
Div is a container in HTML in block-level.
Span is also a container in HTML but in a line-level.
London
Class is defined in the header part of HTML and used in this div.
url of the same HTML
Image and Button cannot be put inside details-tag.
Subscribe to:
Posts (Atom)
Popular Posts
-
skeleton Shape Analysis: Skeleton of Point Cloud with Python Source code: Github Understanding the shape of data is ...
-
Interior_point_method Linear Programming using Interior Point Method Linear programming is a method to optimize a line...
-
SVM Support Vector Machine (P1) In this tutorial, we learn how to model the problem of classifying two clouds of data ...
-
Lasso Safe Screening Lasso Safe Screening for Feature Elimination Lasso promotes sparsity in machine learning, statist...
-
Github How to run Python online Using Github + MyBinder You first upload your Python script and a Jupyter notebook ...
-
Unbalanced Optimal Transport as Sparse Convex Regression: model, algorithm and acceleration Unbalanced Optimal Transpor...
-
MNIST_classification_with_Pytorch_NN MNIST Classification using PyTorch’s Neural Network 1. Introduction 1.1. MNIST D...
-
plot Plotting Region defined by Inequality Constraints in Python (Part 1) Author: Tran Thu Le & Chat GPT Date: ...
-
equation-reference-in-Typst 📌 Typst Trick: Label and Reference a Specific Numbered Equation When writing documents wi...
-
Page Template In this post, we will learn how a For Loop work in JavaScript. The code is ...