An example showing an isometric rendering in SVG, thanks to three.js.
The example is inspired by this post on using three.js to generate illustrations for scientific papers.
<?php | |
header("Status: 301 Moved Permanently"); | |
header("Location: ./content/index.html".($_GET ? "?".$_SERVER['QUERY_STRING'] : "")); | |
die(); |
"start": "set PORT=3006 && react-scripts start" |
<article> | |
<aside id="aside"></aside> | |
<main id="main"></main> | |
</article> |
<?php | |
$valid_passwords = array ("LOGIN" => "PASSWORD"); | |
$valid_users = array_keys($valid_passwords); | |
$user = $_SERVER['PHP_AUTH_USER']; | |
$pass = $_SERVER['PHP_AUTH_PW']; | |
$validated = (in_array($user, $valid_users)) && ($pass == $valid_passwords[$user]); |
DeclareModule Lib | |
EnableExplicit | |
#PublicStaticStringConst$ = "#PublicStaticStringConst$" | |
#PublicStaticNumericConst = 16 | |
Enumeration PublicEnumeration | |
#PublicEnumeration_EnumOne | |
#PublicEnumeration_EnumTwo | |
EndEnumeration |
a[start:stop] # items start through stop-1 | |
a[start:] # items start through the rest of the array | |
a[:stop] # items from the beginning through stop-1 | |
a[:] # a copy of the whole array |
# Use the type() builtin function: | |
i = 123 | |
type(i) | |
# <type 'int'> | |
type(i) is int | |
# True | |
i = 123.456 |
with open(filename) as file: | |
while line := file.readline(): | |
print(line.rstrip()) |