Skip to content

Commit 3075d4c

Browse files
authored
Merge pull request dwmkerr#437 from dwmkerr/chore/cleanup
chore: cleanup
2 parents decfccd + 3f730a8 commit 3075d4c

20 files changed

+1308
-16
lines changed

.github/pages/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/website/backup/ideas.md

Whitespace-only changes.

.github/website/backup/index2.html

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>Hacker Laws</title>
7+
<!-- Bootstrap CSS -->
8+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" />
9+
<!-- Bootstrap Icons -->
10+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" />
11+
<style>
12+
/* Soft pastel parchment background */
13+
body {
14+
background-color: #fdf6e3;
15+
color: #333;
16+
padding-top: 70px; /* to account for sticky navbar */
17+
}
18+
/* Navbar customization */
19+
.navbar-custom {
20+
background-color: #ffffff;
21+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
22+
}
23+
/* Header styling */
24+
header h1 {
25+
font-size: 2.5rem;
26+
font-weight: bold;
27+
}
28+
header p.lead {
29+
font-size: 1.25rem;
30+
color: #555;
31+
}
32+
/* Law section container */
33+
.law-section {
34+
margin-bottom: 2rem;
35+
padding: 1.5rem;
36+
background-color: #fff;
37+
border-radius: 5px;
38+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
39+
}
40+
/* Social sharing icons */
41+
.social-sharing a {
42+
margin-right: 0.75rem;
43+
font-size: 1.2rem;
44+
color: #555;
45+
text-decoration: none;
46+
}
47+
.social-sharing a:hover {
48+
color: #000;
49+
}
50+
/* Back to top link styling */
51+
.back-to-top a {
52+
font-size: 0.9rem;
53+
text-decoration: none;
54+
color: #007bff;
55+
}
56+
.back-to-top a:hover {
57+
text-decoration: underline;
58+
}
59+
</style>
60+
</head>
61+
<body id="top">
62+
<!-- Sticky Navbar -->
63+
<nav class="navbar navbar-expand-lg navbar-custom fixed-top">
64+
<div class="container">
65+
<a class="navbar-brand fw-bold" href="#top">Hacker Laws</a>
66+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navMenu" aria-controls="navMenu" aria-expanded="false" aria-label="Toggle navigation">
67+
<span class="navbar-toggler-icon"></span>
68+
</button>
69+
<div class="collapse navbar-collapse" id="navMenu">
70+
<ul class="navbar-nav me-auto">
71+
<li class="nav-item">
72+
<a class="nav-link" href="#"><i class="bi bi-book"></i> Effective Shell</a>
73+
</li>
74+
<li class="nav-item">
75+
<a class="nav-link" href="#"><i class="bi bi-cup"></i> Sponsor</a>
76+
</li>
77+
<li class="nav-item">
78+
<a class="nav-link" href="#"><i class="bi bi-brain"></i> Terminal AI</a>
79+
</li>
80+
</ul>
81+
<ul class="navbar-nav ms-auto">
82+
<li class="nav-item">
83+
<a class="nav-link" href="#"><i class="bi bi-github"></i> GitHub</a>
84+
</li>
85+
</ul>
86+
</div>
87+
</div>
88+
</nav>
89+
90+
<!-- Page Header -->
91+
<header class="container my-4">
92+
<h1>Hacker Laws</h1>
93+
<p class="lead">Laws, Theories, Principles and Patterns that developers will find useful.</p>
94+
</header>
95+
96+
<!-- Main Content -->
97+
<main class="container">
98+
<!-- Introduction Section -->
99+
<section id="introduction" class="law-section">
100+
<h2>Introduction</h2>
101+
<p>There are lots of laws which people discuss when talking about development. This repository is a reference and overview of some of the most common ones. Please share and submit PRs!</p>
102+
<p><strong>Note:</strong> This repo contains an explanation of some laws, principles and patterns, but does not <em>advocate</em> for any of them. Whether they should be applied will always be a matter of debate, and greatly dependent on what you are working on.</p>
103+
104+
<!-- Social Sharing Icons -->
105+
<div class="social-sharing">
106+
<a href="#" title="Share on Twitter"><i class="bi bi-twitter"></i></a>
107+
<a href="#" title="Share on Facebook"><i class="bi bi-facebook"></i></a>
108+
<a href="#" title="Share on LinkedIn"><i class="bi bi-linkedin"></i></a>
109+
</div>
110+
111+
<!-- Back to Top Options (choose one) -->
112+
<div class="back-to-top mt-2">
113+
<a href="#top">↑ Top</a>
114+
<!-- Alternative options:
115+
<a href="#top">Back to Top</a>
116+
<a href="#top">Return to Top</a>
117+
<a href="#top">Go Up</a>
118+
<a href="#top">Scroll Up</a>
119+
-->
120+
</div>
121+
</section>
122+
123+
<!-- 90–9–1 Principle (1% Rule) Section -->
124+
<section id="9091-principle" class="law-section">
125+
<h2>90–9–1 Principle (1% Rule)</h2>
126+
<p>The 90-9-1 principle suggests that within an internet community such as a wiki, 90% of participants only consume content, 9% edit or modify content and 1% of participants add content.</p>
127+
<p>Real-world examples:</p>
128+
<ul>
129+
<li>A 2014 study of four digital health social networks found the top 1% created 73% of posts, the next 9% accounted for an average of ~25% and the remaining 90% accounted for an average of 2%.</li>
130+
</ul>
131+
<p>See Also: <a href="#the-pareto-principle-the-8020-rule">Pareto Principle</a></p>
132+
133+
<!-- Social Sharing Icons -->
134+
<div class="social-sharing">
135+
<a href="#" title="Share on Twitter"><i class="bi bi-twitter"></i></a>
136+
<a href="#" title="Share on Facebook"><i class="bi bi-facebook"></i></a>
137+
<a href="#" title="Share on LinkedIn"><i class="bi bi-linkedin"></i></a>
138+
</div>
139+
140+
<!-- Back to Top Options -->
141+
<div class="back-to-top mt-2">
142+
<a href="#top">↑ Top</a>
143+
</div>
144+
</section>
145+
146+
<!-- 90–90 Rule Section -->
147+
<section id="9090-rule" class="law-section">
148+
<h2>90–90 Rule</h2>
149+
<p>The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.</p>
150+
<p>This is a wry reinterpretation of the <a href="#the-pareto-principle-the-8020-rule">Pareto Principle</a> (or 80-20 rule) that highlights the real-world challenges of completing engineering work. This sentiment is also echoed in <a href="#hofstadters-law">Hofstadter's Law</a>.</p>
151+
152+
<!-- Social Sharing Icons -->
153+
<div class="social-sharing">
154+
<a href="#" title="Share on Twitter"><i class="bi bi-twitter"></i></a>
155+
<a href="#" title="Share on Facebook"><i class="bi bi-facebook"></i></a>
156+
<a href="#" title="Share on LinkedIn"><i class="bi bi-linkedin"></i></a>
157+
</div>
158+
159+
<!-- Back to Top Options -->
160+
<div class="back-to-top mt-2">
161+
<a href="#top">↑ Top</a>
162+
</div>
163+
</section>
164+
165+
<!-- Additional law sections would follow the same structure -->
166+
</main>
167+
168+
<!-- Footer -->
169+
<footer class="container text-center my-4">
170+
<p>&copy; 2025 Hacker Laws</p>
171+
</footer>
172+
173+
<!-- Bootstrap Bundle with Popper -->
174+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
175+
<script>
176+
// Optional: Smooth scrolling for in-page links
177+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
178+
anchor.addEventListener('click', function(e) {
179+
e.preventDefault();
180+
const targetElem = document.querySelector(this.getAttribute('href'));
181+
if (targetElem) {
182+
targetElem.scrollIntoView({ behavior: 'smooth' });
183+
}
184+
});
185+
});
186+
</script>
187+
</body>
188+
</html>
189+

.github/website/backup/index3.html

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>Hacker Laws</title>
7+
<!-- Google Font for elegant serif fonts -->
8+
<link href="https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap" rel="stylesheet">
9+
<!-- Bootstrap CSS -->
10+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" />
11+
<!-- Bootstrap Icons -->
12+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" />
13+
<style>
14+
/* Use an elegant serif font and a clean, minimal palette */
15+
body {
16+
font-family: 'Libre Baskerville', Georgia, serif;
17+
background-color: #fff;
18+
color: #333;
19+
padding-top: 70px; /* account for sticky navbar */
20+
}
21+
.container {
22+
max-width: 800px;
23+
}
24+
/* Simplified Navbar */
25+
.navbar-custom {
26+
background-color: #fff;
27+
border-bottom: 1px solid #e5e5e5;
28+
}
29+
.navbar-brand,
30+
.nav-link {
31+
font-weight: 700;
32+
}
33+
/* Centered, minimal header */
34+
header {
35+
text-align: center;
36+
margin-bottom: 2rem;
37+
}
38+
header h1 {
39+
font-size: 2.5rem;
40+
margin-bottom: 0.5rem;
41+
}
42+
header p.lead {
43+
font-size: 1.25rem;
44+
color: #555;
45+
}
46+
/* Law section styling: simple borders instead of shadows */
47+
.law-section {
48+
margin-bottom: 2rem;
49+
padding: 1.5rem;
50+
background-color: #fff;
51+
border-bottom: 1px solid #e5e5e5;
52+
}
53+
/* Social sharing icons remain the same */
54+
.social-sharing a {
55+
margin-right: 0.75rem;
56+
font-size: 1.2rem;
57+
color: #555;
58+
text-decoration: none;
59+
}
60+
.social-sharing a:hover {
61+
color: #000;
62+
}
63+
/* Back to top link styling */
64+
.back-to-top a {
65+
font-size: 0.9rem;
66+
text-decoration: none;
67+
color: #007bff;
68+
}
69+
.back-to-top a:hover {
70+
text-decoration: underline;
71+
}
72+
</style>
73+
</head>
74+
<body id="top">
75+
<!-- Sticky Navbar -->
76+
<nav class="navbar navbar-expand-lg navbar-custom fixed-top">
77+
<div class="container">
78+
<a class="navbar-brand" href="#top">Hacker Laws</a>
79+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navMenu" aria-controls="navMenu" aria-expanded="false" aria-label="Toggle navigation">
80+
<span class="navbar-toggler-icon"></span>
81+
</button>
82+
<div class="collapse navbar-collapse" id="navMenu">
83+
<ul class="navbar-nav me-auto">
84+
<li class="nav-item">
85+
<a class="nav-link" href="#"><i class="bi bi-book"></i> Effective Shell</a>
86+
</li>
87+
<li class="nav-item">
88+
<a class="nav-link" href="#"><i class="bi bi-cup"></i> Sponsor</a>
89+
</li>
90+
<li class="nav-item">
91+
<a class="nav-link" href="#"><i class="bi bi-brain"></i> Terminal AI</a>
92+
</li>
93+
</ul>
94+
<ul class="navbar-nav ms-auto">
95+
<li class="nav-item">
96+
<a class="nav-link" href="#"><i class="bi bi-github"></i> GitHub</a>
97+
</li>
98+
</ul>
99+
</div>
100+
</div>
101+
</nav>
102+
103+
<!-- Page Header -->
104+
<header class="container my-4">
105+
<h1>Hacker Laws</h1>
106+
<p class="lead">Laws, Theories, Principles and Patterns that developers will find useful.</p>
107+
</header>
108+
109+
<!-- Main Content -->
110+
<main class="container">
111+
<!-- Introduction Section -->
112+
<section id="introduction" class="law-section">
113+
<h2>Introduction</h2>
114+
<p>There are lots of laws which people discuss when talking about development. This repository is a reference and overview of some of the most common ones. Please share and submit PRs!</p>
115+
<p><strong>Note:</strong> This repo contains an explanation of some laws, principles and patterns, but does not <em>advocate</em> for any of them. Whether they should be applied will always be a matter of debate, and greatly dependent on what you are working on.</p>
116+
117+
<!-- Social Sharing Icons -->
118+
<div class="social-sharing">
119+
<a href="#" title="Share on Twitter"><i class="bi bi-twitter"></i></a>
120+
<a href="#" title="Share on Facebook"><i class="bi bi-facebook"></i></a>
121+
<a href="#" title="Share on LinkedIn"><i class="bi bi-linkedin"></i></a>
122+
</div>
123+
124+
<!-- Back to Top -->
125+
<div class="back-to-top mt-2">
126+
<a href="#top">↑ Top</a>
127+
</div>
128+
</section>
129+
130+
<!-- 90–9–1 Principle (1% Rule) Section -->
131+
<section id="9091-principle" class="law-section">
132+
<h2>90–9–1 Principle (1% Rule)</h2>
133+
<p>The 90-9-1 principle suggests that within an internet community such as a wiki, 90% of participants only consume content, 9% edit or modify content and 1% of participants add content.</p>
134+
<p>Real-world examples:</p>
135+
<ul>
136+
<li>A 2014 study of four digital health social networks found the top 1% created 73% of posts, the next 9% accounted for an average of ~25% and the remaining 90% accounted for an average of 2%.</li>
137+
</ul>
138+
<p>See Also: <a href="#the-pareto-principle-the-8020-rule">Pareto Principle</a></p>
139+
140+
<!-- Social Sharing Icons -->
141+
<div class="social-sharing">
142+
<a href="#" title="Share on Twitter"><i class="bi bi-twitter"></i></a>
143+
<a href="#" title="Share on Facebook"><i class="bi bi-facebook"></i></a>
144+
<a href="#" title="Share on LinkedIn"><i class="bi bi-linkedin"></i></a>
145+
</div>
146+
147+
<!-- Back to Top -->
148+
<div class="back-to-top mt-2">
149+
<a href="#top">↑ Top</a>
150+
</div>
151+
</section>
152+
153+
<!-- 90–90 Rule Section -->
154+
<section id="9090-rule" class="law-section">
155+
<h2>90–90 Rule</h2>
156+
<p>The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.</p>
157+
<p>This is a wry reinterpretation of the <a href="#the-pareto-principle-the-8020-rule">Pareto Principle</a> (or 80-20 rule) that highlights the real-world challenges of completing engineering work. This sentiment is also echoed in <a href="#hofstadters-law">Hofstadter's Law</a>.</p>
158+
159+
<!-- Social Sharing Icons -->
160+
<div class="social-sharing">
161+
<a href="#" title="Share on Twitter"><i class="bi bi-twitter"></i></a>
162+
<a href="#" title="Share on Facebook"><i class="bi bi-facebook"></i></a>
163+
<a href="#" title="Share on LinkedIn"><i class="bi bi-linkedin"></i></a>
164+
</div>
165+
166+
<!-- Back to Top -->
167+
<div class="back-to-top mt-2">
168+
<a href="#top">↑ Top</a>
169+
</div>
170+
</section>
171+
</main>
172+
173+
<!-- Footer -->
174+
<footer class="container text-center my-4">
175+
<p>&copy; 2025 Hacker Laws</p>
176+
</footer>
177+
178+
<!-- Bootstrap Bundle with Popper -->
179+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
180+
<script>
181+
// Smooth scrolling for in-page links
182+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
183+
anchor.addEventListener('click', function(e) {
184+
e.preventDefault();
185+
const targetElem = document.querySelector(this.getAttribute('href'));
186+
if (targetElem) {
187+
targetElem.scrollIntoView({ behavior: 'smooth' });
188+
}
189+
});
190+
});
191+
</script>
192+
</body>
193+
</html>
194+

.github/website/backup/index4.html

Whitespace-only changes.

.github/website/build/.gitignore

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

0 commit comments

Comments
 (0)