-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2fe8a4c
Showing
36 changed files
with
4,930 additions
and
0 deletions.
There are no files selected for viewing
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
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δ | ||
  I find myself often needing a matrix, or transpositioning | ||
  to properly solve a math problem or fit things across the monitor, etc. | ||
|
||
  I call it a "1 4 7 Matrix". Consider an example where | ||
  everything runs vertically. I have to write it as so, | ||
  to understand it: | ||
|
||
  -- intended position -- matrix position | ||
|
||
  1 2 3 1 4 7 | ||
  | ||
  4 5 6 2 5 8 | ||
  | ||
  7 8 9 3 6 9 | ||
|
||
|
||
  Part1, Part2 and Part3, in vertical order- map to the first 3 elements | ||
  in the row, a horizontal order. And so on... | ||
  We want vertically-running Parts, to appear in intended order, | ||
  as the vertical ordering wraps back to the top. | ||
  And in this example, they wrap back every 3 elements. | ||
|
||
|
||
</body></html> |
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
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> | ||
|
||
  "You've been redirected" | ||
|
||
  This is a test. | ||
|
||
</body></html> |
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
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 not shown.
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
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> | ||
|
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
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> |
Oops, something went wrong.