Skip to content

Commit

Permalink
MIME approach
Browse files Browse the repository at this point in the history
  • Loading branch information
snarlferb committed Jul 9, 2024
1 parent 6fc478f commit ad2d25b
Show file tree
Hide file tree
Showing 28 changed files with 95 additions and 89 deletions.
2 changes: 1 addition & 1 deletion 147mat.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>1 4 7</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
1 4 7 M R A I T X
M R
Expand Down
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>404 redirect</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

&emsp; "You've been redirected"
Expand Down
2 changes: 1 addition & 1 deletion arr.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>fly^p4rray</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

<div id="arr-anch">--- fly^p4rray ---</div>
Expand Down
2 changes: 1 addition & 1 deletion asm.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>ASM</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

&emsp; Please note, i plan to do a more thorough explanation of assembly/disassembly in the context of compilation, so you may see ive either changed or removed this page in the future.
Expand Down
2 changes: 1 addition & 1 deletion byte.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>byte</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
You can represent 256 things w/ a byte (8 bits = 1 byte)
The bits in a byte have numbers.
Expand Down
2 changes: 1 addition & 1 deletion compiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>compilation steps</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

Introduction
Expand Down
1 change: 1 addition & 0 deletions cpu.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8">
<title>cpu</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<script src="style.js" defer></script>
</head><body>

<em>The following is a very rough, compact description of how i view the internals
Expand Down
2 changes: 1 addition & 1 deletion dram.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>dram</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp; Dynamic Random Access Memory
Expand Down
2 changes: 1 addition & 1 deletion f64.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>f64</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
1.024e3 <em>scientific notation example</em>
including the sign(+,-), these are the parts that
Expand Down
12 changes: 10 additions & 2 deletions fdelete
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
note on things to remove:

undefined.html
devin-chavez-font.woff
<div style="text-align: center">
<img src="https://i.imgur.com/oGwWPiU.gif" title="img1"></img>
<img src="https://i.imgur.com/zElrcLV.gif" title="img2"></img>
<img src="https://i.imgur.com/MQH7xJs.gif" title="img3"></img>
<img src="https://i.imgur.com/HSvI6CV.gif" title="img4"></img>
<img src="https://i.imgur.com/ECQklOs.gif" title="img5" usemap="#map" alt="test">
<map name="map">
<area shape="circle" coords="213,359,24" alt="test1" href="/">
</map>
</div>
2 changes: 1 addition & 1 deletion func.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>func</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

<div id="data-anch">statements are the instructions executed by the program</div>
Expand Down
2 changes: 1 addition & 1 deletion headers.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>C standard library</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body><h1 id=about-me>C standard library is defined by the following</h3>
'<b>assert.h</b>' condition that compares arguments to zero

Expand Down
2 changes: 1 addition & 1 deletion html.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>html</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

What a URL is composed of:
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>select</title>
<meta content="width=1000,initial-scale=1,minimum-scale=0.1" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body> jump to level

<a class="hl-hover" href="qfmtsp.html#ctrl-anch"> 151l &#9656;control flow ▂▄__ start here</a>
Expand Down
2 changes: 1 addition & 1 deletion install.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>install instructions</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
&emsp;&emsp; <em>There are many many distributions of linux.
&emsp;&emsp; Once you know which you'd like to install you should
Expand Down
2 changes: 1 addition & 1 deletion macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>macro preprocessor</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

<div id="macro-anch">--- macro ---</div>
Expand Down
2 changes: 1 addition & 1 deletion malloc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>malloc</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

malloc
Expand Down
2 changes: 1 addition & 1 deletion memcpy.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>memcpy</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

memcpy
Expand Down
2 changes: 1 addition & 1 deletion page10.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>attributes</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
<h3>___ attributes ___</h3>
first lets look at the standard attributes within C
Expand Down
2 changes: 1 addition & 1 deletion py.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>Would you eat them in a box?</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body><h3><u>Warning</u>! Learn C before you learn python</h3><b>This is the green eggs &amp; ham that make up pythons indigestible layer.
<em>illustrate the loopiness caused by the equality of identifiers</em></b>
<a href="https://imgur.com/EMJctVN"><img src="https://i.imgur.com/EMJctVN.jpg" title="source: imgur.com" /></a>
Expand Down
2 changes: 1 addition & 1 deletion qfmtsp.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>type</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
<div id="ctrl-anch">operators</div>
<span class="alt-text"> &amp;&amp; || !</span> logical \
Expand Down
2 changes: 1 addition & 1 deletion sh.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>sh</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
<em>shell</em>
<em>~</em> home (user) directory <em>/</em> root (filesystem) directory
Expand Down
2 changes: 1 addition & 1 deletion struct.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>struct</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

<div id="struct-anch">struct</div>
Expand Down
54 changes: 0 additions & 54 deletions style.css

This file was deleted.

61 changes: 61 additions & 0 deletions style.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/* style.type = 'text/css'; // MIME type */
/* @syntax: asterisk (*) is for wildcard selectors */
/* @remove: .no-wrap { white-space: nowrap; } */
/* @remove: .no-wrap*{ white-space: inherit; } */
/* @fix: user-select and text-decoration if broken */
/* reset initial values=not working, in every day css fashion*/
/* so im using javascript instead */
// Creating a <style> element
const style = document.createElement('style');
style.type = 'text/css'; // Setting MIME type

// Adding @font-face and other CSS rules
style.textContent = `
@font-face {
font-family: 'Fixedsys Excelsior 3.01';
font-style: normal;
font-weight: 400;
src: local('Fixedsys Excelsior 3.01'), url('Fixedsys Excelsior 3.01.woff') format('woff');
}
body {
background-color: #222222;
white-space: pre-wrap;
color: #FAFFAF;
font-family: 'Fixedsys Excelsior 3.01';
font-style: normal;
font-size: 22px;
}
a {
text-decoration: none;
color: #FAFFAF;
}
.hl-hover:hover {
background-color: yellow;
color: black;
cursor: pointer;
}
.alt-text {
color: white;
}
.reserve {
color: blue;
}
footer {
background-color: #222222;
color: #FAFFAF;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
}
`;

// Appending <style> element to <head>
document.head.appendChild(style);

2 changes: 1 addition & 1 deletion troubleshoot.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>chroot</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>
<em>Make sure you are getting the latest iso from your distro's
webpage and write down the version# for any time you have to
Expand Down
2 changes: 1 addition & 1 deletion uefi.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>efi</title>
<meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport>
<link rel="stylesheet" href="style.css">
<script src="style.js" defer></script>
</head><body>

You can try these steps to create a custom GRUB EFI image that can reside on non-FAT filesystems
Expand Down
10 changes: 0 additions & 10 deletions undefined.html

This file was deleted.

0 comments on commit ad2d25b

Please sign in to comment.