- View: Also called a "template", a file that contains markup (like HTML) and optionally additional instructions on how to generate snippets of HTML, such as text interpolation, loops, conditionals, includes, and so on.
- View engine: Also called a "template library" or "templater", ie. a library that implements view functionality, and potentially also a custom language for specifying it (like Pug does).
- HTML templater: A template library that's designed specifically for generating HTML. It understands document structure and thus can provide useful advanced tools like mixins, as well as more secure output escaping (since it can determine the right escaping approach from the context in which a value is used), but it also means that the templater is not useful for anything other than HTML.
- String-based templater: A template library that implements templating logic, but that has no understanding of the content it is generating - it simply concatenates together strings, potenti
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Importing the libraries | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
# Importing the dataset | |
dataset = pd.read_csv('./Data.csv') | |
X = dataset.iloc[:, :-1].values | |
y = dataset.iloc[:, 3].values |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Hello all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="validation_xsd.xsd"> | |
<event> | |
<event_id>1</event_id> | |
<event_name>ICPC</event_name> | |
<event_desc>5 coding questions in 2 hrs</event_desc> | |
<event_tags> | |
<tag id="1" displayName="coding">coding</tag> | |
</event_tags> | |
<event_type_participation>Team</event_type_participation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" /> | |
<xs:element name="root" type="rootType" /> | |
<xs:complexType name="rootType"> | |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> | |
<xs:element name="event" type="eventType" /> | |
</xs:sequence> | |
</xs:complexType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template match="/"> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css" /> | |
<link rel="stylesheet" href="tablecss.css" /> | |
<!-- <link rel="stylesheet" href="../css/style.css" /> --> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* USE OF GOOGLE FONTS - GOOGLE STYLESHEET IMPORTED IN HTML FILE*/ | |
#table-title{ | |
color: rgb(88, 40, 49); | |
font-family: "Times New Roman"; | |
align-items: center; | |
} | |
/* EXAMPLE OF ELEMENT SELECTOR */ | |
/* BORDER PROPERTY APPLIED FOR TABLE */ | |
table { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="events_xsl.xsl"?> | |
<root> | |
<event> | |
<event_id>1</event_id> | |
<event_name>ICPC</event_name> | |
<event_desc>5 coding questions in 2 hrs</event_desc> | |
<event_type_participation>Team</event_type_participation> | |
<event_timing> | |
<event_start_datetime>2020-04-01T10:00:00</event_start_datetime> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import argparse | |
import json | |
import xml.etree.ElementTree as ET | |
from typing import Dict, List | |
from tqdm import tqdm | |
import re | |
import xmltodict | |
import numpy as np |
OlderNewer