Skip to content

Commit e2c7776

Browse files
committed
init
0 parents  commit e2c7776

28 files changed

+4377
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# hugo stuff
2+
**/public/
3+
**/resources/_gen/
4+
**/assets/jsconfig.json
5+
hugo_stats.json
6+
*/.hugo_build.lock

archetypes/default.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hugo

config.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
title = "Website Name"
2+
baseURL = 'https://example.org'
3+
languageCode = 'en-us'
4+
theme = 'lugo'
5+
6+
[params]
7+
# "relatedtext" is the text that appears above the tag list at the bottom of pages.
8+
#relatedtext = "Related:"
9+
#favicon = "/favicon.ico"
10+
showrss = true

content/2022-W47.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
date: 2022-11-13
3+
title: "Sunday the 13th of November, 2022"
4+
tags:
5+
---
6+
7+
- [x] proof of concept for modern day .plan system
8+
9+
Got the basics of the system in, this upper segment of the note is now being copied out to a target .md file.
10+
11+
- [ ] how can I parse / upload this file with a single button?
12+
- [ ] how do I get the active file?
13+
- copy file path command
14+

content/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "home"
3+
---
4+
5+
BALLS LMAO

content/showcase_page.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: "Showcase deez knuts"
3+
date: 13-11-2022
4+
---
5+
6+
## Header 2
7+
8+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec interdum metus. Aenean rutrum ligula sodales ex auctor, sed tempus dui mollis. Curabitur ipsum dui, aliquet nec commodo at, tristique eget ante. **Donec quis dolor nec nunc mollis interdum vel in purus**. Sed vitae leo scelerisque, sollicitudin elit sed, congue ante. In augue nisl, vestibulum commodo est a, tristique porttitor est. Proin laoreet iaculis ornare. Nullam ut neque quam.
9+
10+
> Fusce pharetra suscipit orci nec tempor. Quisque vitae sem sit amet sem mollis consequat. Sed at imperdiet lorem. Vestibulum pharetra faucibus odio, ac feugiat tellus sollicitudin at. Pellentesque varius tristique mi imperdiet dapibus. Duis orci odio, sodales lacinia venenatis sit amet, feugiat et diam.
11+
12+
### Header 3
13+
14+
Nulla libero turpis, lacinia vitae cursus ut, auctor dictum nisl. Fusce varius felis nec sem ullamcorper, at convallis nisi vestibulum. Duis risus odio, porta sit amet placerat mollis, tincidunt non mauris. Suspendisse fringilla, `odio a dignissim pharetra`, est urna sollicitudin urna, eu scelerisque magna ex vitae tellus.
15+
16+
```css
17+
/* PostCSS code */
18+
19+
pre {
20+
background: #1a1a1d;
21+
padding: 20px;
22+
border-radius: 8px;
23+
font-size: 1rem;
24+
overflow: auto;
25+
26+
@media (--phone) {
27+
white-space: pre-wrap;
28+
word-wrap: break-word;
29+
}
30+
31+
code {
32+
background: none !important;
33+
color: #ccc;
34+
padding: 0;
35+
font-size: inherit;
36+
}
37+
}
38+
```
39+
40+
```js
41+
// JS code
42+
43+
const menuTrigger = document.querySelector('.menu-trigger')
44+
const menu = document.querySelector('.menu')
45+
const mobileQuery = getComputedStyle(document.body).getPropertyValue('--phoneWidth')
46+
const isMobile = () => window.matchMedia(mobileQuery).matches
47+
const isMobileMenu = () => {
48+
menuTrigger.classList.toggle('hidden', !isMobile())
49+
menu.classList.toggle('hidden', isMobile())
50+
}
51+
52+
isMobileMenu()
53+
54+
menuTrigger.addEventListener('click', () => menu.classList.toggle('hidden'))
55+
56+
window.addEventListener('resize', isMobileMenu)
57+
```
58+
59+
```html
60+
<!-- HTML code -->
61+
62+
<section id="main">
63+
<div>
64+
<h1 id="title">{{ .Title }}</h1>
65+
{{ range .Pages }}
66+
{{ .Render "summary"}}
67+
{{ end }}
68+
</div>
69+
</section>
70+
```
71+
72+
#### Header 4
73+
74+
Curabitur scelerisque felis viverra varius scelerisque. Ut enim libero, molestie gravida blandit at, mollis ornare tellus. Cras arcu mi, ultrices vel pulvinar vel, volutpat eu tortor. Nullam nec eros quis massa ultrices iaculis sed in metus. Praesent sollicitudin sem sit amet orci tempor gravida.
75+
76+
- Maecenas elementum vitae nibh vitae porttitor.
77+
- Aenean consequat, risus ut cursus placerat, arcu nulla sodales risus, ut molestie tellus tellus et dui.
78+
- Integer imperdiet turpis vitae lacus imperdiet, ut ornare ligula auctor. Integer in mi eu velit vehicula suscipit eget vulputate nulla.
79+
- Etiam vitae enim quis velit lobortis placerat a ut sem.
80+
- Curabitur lobortis ante sit amet orci pulvinar, sollicitudin viverra nunc accumsan.
81+
- Praesent fermentum orci quis leo facilisis posuere.
82+
83+
Aliquam erat volutpat. In hac habitasse platea dictumst. Nunc ut tincidunt mauris. Sed at gravida risus, id semper magna. Nullam vitae enim mattis, sodales neque non, pharetra elit. Cras sit amet sagittis augue, et finibus turpis. Ut tempus tincidunt diam vel pharetra. Nulla porttitor odio sit amet nulla scelerisque, quis aliquam mi imperdiet. Sed tincidunt dui vel tellus vestibulum rhoncus. Donec tempus ultrices velit.

server.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hugo server

static/sloppie.html

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
<!-- saved from url=(0055)https://floooh.github.io/sokol-html5/triangle-sapp.html -->
3+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4+
5+
<title>triangle</title>
6+
<style type="text/css">
7+
body {
8+
margin: 0;
9+
background-color: black;
10+
}
11+
.game-title {
12+
pointer-events: none;
13+
position: absolute;
14+
bottom: 10px;
15+
margin-top: 0px;
16+
padding-left: 10px;
17+
color: white;
18+
text-decoration: none;
19+
z-index: 1;
20+
text-align: left;
21+
font-family: "Arial Black", Gadget, sans-serif;
22+
font-size: 30px;
23+
}
24+
.game-menu-item {
25+
pointer-events: auto;
26+
font-size: 18px;
27+
padding-left: 10px;
28+
font-family: Arial, Helvetica, sans-serif;
29+
}
30+
.game-menu-link {
31+
text-decoration: none;
32+
color: white;
33+
}
34+
.game {
35+
position: absolute;
36+
top: 0px;
37+
left: 0px;
38+
margin: 0px;
39+
border: 0;
40+
width: 100%;
41+
height: 100%;
42+
overflow: hidden;
43+
display: block;
44+
image-rendering: optimizeSpeed;
45+
image-rendering: -moz-crisp-edges;
46+
image-rendering: -o-crisp-edges;
47+
image-rendering: -webkit-optimize-contrast;
48+
image-rendering: optimize-contrast;
49+
image-rendering: crisp-edges;
50+
image-rendering: pixelated;
51+
-ms-interpolation-mode: nearest-neighbor;
52+
}
53+
</style>
54+
<link id="sokol-app-favicon" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAZdJREFUOE9VUzFSw0AMlGihggekwhV0eQGZ8AQggQ4chlR5CjSeAUwHOHkCZPALoEuVVHkAdCnxMVpJd8YzHt/5pNXuSsdkDxNRkHfSC8REIZB88ASSXxrBdzU+tiVmBHs6UQMAiwgK6kCy4NsPACBPcfQ4VPtSSLdSfbjEmg0kVBkKMQ7lfIXKAoTnt8okPVbjwUqCJR//mtdMpaEa09ZwCZyopfk5g5Doye7UTz0JuUovfti0EIXvAbS7ebw3BaFIwaQAAwAqxzwAUTBYrE8AokG2AIpmHnZmzkG9aLHGcrE+1VoC14a3Nh90ZsKLOSTP/2OYc9pZxReq5Vce5UnqVfdJDlIXEklzOhkFpeXnJQQ7aN4tZcCsi0w0ehtrgMm/7xemAJ2n6/mNdtBseegXykCtJsrfx0ZC3RWA9hCO5uM0r4Ho8bjwgYwWIODoZYPZj8326UCpQPXFjsnAPEvtdA9k2XvegCV6ZZeq3av6fBvUvYZKsBbZiQI4tG0kQzW6kzrE1qfW/cWk+i1w14WuGxgvBOD+AP0MuCLRb/uuAAAAAElFTkSuQmCC"></head>
55+
<body style="background:black">
56+
<div class="game-title">BALLS
57+
<span class="game-menu-item"><a class="game-menu-link" href="https://randy.gg">home</a></span>
58+
</div>
59+
<canvas class="game" id="canvas" oncontextmenu="event.preventDefault()" width="1504" height="864"></canvas>
60+
<script type="text/javascript">
61+
var Module = {
62+
preRun: [],
63+
postRun: [],
64+
print: (function() {
65+
return function(text) {
66+
text = Array.prototype.slice.call(arguments).join(' ');
67+
console.log(text);
68+
};
69+
})(),
70+
printErr: function(text) {
71+
text = Array.prototype.slice.call(arguments).join(' ');
72+
console.error(text);
73+
},
74+
canvas: (function() {
75+
var canvas = document.getElementById('canvas');
76+
canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false);
77+
return canvas;
78+
})(),
79+
setStatus: function(text) { },
80+
monitorRunDependencies: function(left) { },
81+
};
82+
window.onerror = function(event) {
83+
console.log("onerror: " + event.message);
84+
};
85+
</script>
86+
<script async type="text/javascript" src="sloppie.js"></script>
87+
88+
</body></html>
89+

0 commit comments

Comments
 (0)