From f810c81da2fee0a710bb9218ee3dee1a8dd23187 Mon Sep 17 00:00:00 2001 From: Dave Kerr Date: Sun, 9 Mar 2025 06:52:35 +0000 Subject: [PATCH] chore: working on template --- .github/pages/backup/index2.html | 189 ++++++++++++++++++++++++++++++ .github/pages/backup/index3.html | 194 +++++++++++++++++++++++++++++++ .github/pages/backup/index4.html | 0 .github/pages/ideas.md | 0 .github/pages/index.html | 76 +++++++++--- .github/pages/styles.css | 67 +++++++++++ 6 files changed, 510 insertions(+), 16 deletions(-) create mode 100644 .github/pages/backup/index2.html create mode 100644 .github/pages/backup/index3.html create mode 100644 .github/pages/backup/index4.html create mode 100644 .github/pages/ideas.md create mode 100644 .github/pages/styles.css diff --git a/.github/pages/backup/index2.html b/.github/pages/backup/index2.html new file mode 100644 index 0000000..799cafa --- /dev/null +++ b/.github/pages/backup/index2.html @@ -0,0 +1,189 @@ + + + + + + Hacker Laws + + + + + + + + + + + +
+

Hacker Laws

+

Laws, Theories, Principles and Patterns that developers will find useful.

+
+ + +
+ +
+

Introduction

+

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!

+

Note: This repo contains an explanation of some laws, principles and patterns, but does not advocate 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.

+ + + + + +
+ ↑ Top + +
+
+ + +
+

90–9–1 Principle (1% Rule)

+

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.

+

Real-world examples:

+
    +
  • 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%.
  • +
+

See Also: Pareto Principle

+ + + + + +
+ ↑ Top +
+
+ + +
+

90–90 Rule

+

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.

+

This is a wry reinterpretation of the Pareto Principle (or 80-20 rule) that highlights the real-world challenges of completing engineering work. This sentiment is also echoed in Hofstadter's Law.

+ + + + + +
+ ↑ Top +
+
+ + +
+ + + + + + + + + + diff --git a/.github/pages/backup/index3.html b/.github/pages/backup/index3.html new file mode 100644 index 0000000..52f9080 --- /dev/null +++ b/.github/pages/backup/index3.html @@ -0,0 +1,194 @@ + + + + + + Hacker Laws + + + + + + + + + + + + + +
+

Hacker Laws

+

Laws, Theories, Principles and Patterns that developers will find useful.

+
+ + +
+ +
+

Introduction

+

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!

+

Note: This repo contains an explanation of some laws, principles and patterns, but does not advocate 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.

+ + + + + +
+ ↑ Top +
+
+ + +
+

90–9–1 Principle (1% Rule)

+

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.

+

Real-world examples:

+
    +
  • 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%.
  • +
+

See Also: Pareto Principle

+ + + + + +
+ ↑ Top +
+
+ + +
+

90–90 Rule

+

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.

+

This is a wry reinterpretation of the Pareto Principle (or 80-20 rule) that highlights the real-world challenges of completing engineering work. This sentiment is also echoed in Hofstadter's Law.

+ + + + + +
+ ↑ Top +
+
+
+ + + + + + + + + + diff --git a/.github/pages/backup/index4.html b/.github/pages/backup/index4.html new file mode 100644 index 0000000..e69de29 diff --git a/.github/pages/ideas.md b/.github/pages/ideas.md new file mode 100644 index 0000000..e69de29 diff --git a/.github/pages/index.html b/.github/pages/index.html index 557411b..78238af 100644 --- a/.github/pages/index.html +++ b/.github/pages/index.html @@ -1,14 +1,9 @@ - + - - - - - - - - Hacker Laws - + + + + Hacker Laws - - -

Hacker Laws

+ + + + + + + + + + - - - +
+

Hacker Laws

+

Laws, Theories, Principles and Patterns that developers will find useful.

+
+ +
+
+

+ Introduction + +

+

There are lots of laws which people discuss when talking about development...

+
“Any code of your own that you haven’t looked at for six or more months might as well have been written by someone else.” – Eagleson's Law
+ + + +
+
+ + + diff --git a/.github/pages/styles.css b/.github/pages/styles.css new file mode 100644 index 0000000..5c1ae37 --- /dev/null +++ b/.github/pages/styles.css @@ -0,0 +1,67 @@ + + body { + font-family: 'Inter', sans-serif; + background-color: #fff; + color: #333; + padding-top: 70px; + } + .container { + max-width: 800px; + } + .navbar-custom { + background-color: #fff; + border-bottom: 1px solid #e5e5e5; + } + .navbar-brand, .nav-link { + font-weight: 700; + } + header { + text-align: center; + margin-bottom: 2rem; + padding: 2rem 0; + border-bottom: 1px solid #e5e5e5; + } + h1, h2 { + font-family: 'Libre Baskerville', serif; + } + .law-section { + margin-bottom: 2rem; + padding: 1.5rem; + background-color: #fff; + border-bottom: 1px solid #e5e5e5; + position: relative; + } + .law-section h2 { + position: relative; + display: flex; + align-items: center; + } + .law-section h2 a.anchor { + text-decoration: none; + color: #999; + margin-left: 0.5rem; + visibility: hidden; + } + .law-section:hover h2 a.anchor { + visibility: visible; + } + a { + color: #0056b3; + text-decoration: none; + } + a:hover { + text-decoration: underline; + } + .social-sharing a { + margin-right: 0.75rem; + font-size: 1.2rem; + color: #555; + text-decoration: none; + } + .social-sharing a:hover { + color: #000; + } + .back-to-top { + margin-top: 1rem; + } +