Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
snarlferb committed Oct 11, 2024
0 parents commit 501b139
Show file tree
Hide file tree
Showing 37 changed files with 5,978 additions and 0 deletions.
37 changes: 37 additions & 0 deletions 147mat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>1 4 7</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<script src="style.js" defer></script>
</head><body>
1 4 7 M R A I T X
M R
A I
T X
98 76 43 SU Sδ
&emsp; I find myself often needing a matrix, or transpositioning
&emsp; to properly solve a math problem or fit things across the monitor, etc.

&emsp; I call it a "1 4 7 Matrix". Consider an example where
&emsp; everything runs vertically. I have to write it as so,
&emsp; to understand it:

&emsp; -- intended position -- matrix position

&emsp; 1 2 3 1 4 7
&emsp;
&emsp; 4 5 6 2 5 8
&emsp;
&emsp; 7 8 9 3 6 9


&emsp; Part1, Part2 and Part3, in vertical order- map to the first 3 elements
&emsp; in the row, a horizontal order. And so on...
&emsp; We want vertically-running Parts, to appear in intended order,
&emsp; as the vertical ordering wraps back to the top.
&emsp; And in this example, they wrap back every 3 elements.


</body></html>
15 changes: 15 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- 404 error page -->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>404 redirect</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<script src="style.js" defer></script>
</head><body>

&emsp; "You've been redirected"

&emsp; This is a test.

</body></html>
18 changes: 18 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Corresponding SPDX licence
BSD 3-Clause "New" or "Revised" License
Licence ID
BSD-3-Clause
Licence text

Copyright (c) . All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Binary file added Fixedsys Excelsior 3.01.woff
Binary file not shown.
57 changes: 57 additions & 0 deletions NOR.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://i.imgur.com/qZCiyeI.png -->
<logicGates>
<gate type="NOT">
<!-- Unary NOT gate (flip row of bits)
~0 = 1; ~1 = 0 -->
<input>A</input>
<output>!A</output>
</gate>

<gate type="OR">
<!-- OR gate with two inputs (all on unless already off)
0 | 0 = 0; 0 | 1 = 1; 1 | 0 = 1; 1 | 1 = 1 -->
<input>A</input>
<input>B</input>
<output>A OR B</output>
</gate>

<gate type="AND">
<!-- AND gate with two inputs (all off unless already on)
0 & 0 = 0; 0 & 1 = 0; 1 & 0 = 0; 1 & 1 = 1 -->
<input>A</input>
<input>B</input>
<output>A AND B</output>
</gate>

<gate type="NOR">
<!-- NOR gate with two inputs (all off unless already off)
0 + 0 = 1; 0 + 1 = 0; 1 + 0 = 0; 1 + 1 = 0 -->
<input>A</input>
<input>B</input>
<output>!(A OR B)</output>
</gate>

<gate type="NAND">
<!-- NAND gate with two inputs (all on unless already off)
0 + 0 = 1; 0 + 1 = 1; 1 + 0 = 1; 1 + 1 = 0 -->
<input>A</input>
<input>B</input>
<output>!(A AND B)</output>
</gate>

<gate type="XOR">
<!-- XOR gate with two inputs (opposite bits on, same bits off)
0 ^ 0 = 0; 0 ^ 1 = 1; 1 ^ 0 = 1; 1 ^ 1 = 0 -->
<input>A</input>
<input>B</input>
<output>A XOR B</output>
</gate>

<!-- Reference to an external HTML file for further demonstration -->
<demonstration>
<description>temporary description</description>
<htmlFile>/l/NOR.html</htmlFile>
</demonstration>
</logicGates>

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# a

- 👀 examples and assorted snippets for anyone to peruse or learn from
this will be presented as a website for science, thank you


for links on c standards go <a class="reserve" href="ln.md">here</a>
Loading

0 comments on commit 501b139

Please sign in to comment.