~charles/dotfiles

dotfiles/utils/query-webpage/sample.html -rw-r--r-- 5.4 KiB
171c95a2Charles Daniels ztag: include tags in output 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"><title>The Blog of Charles Daniels</title>
</head>
<body>
<h1 class="gemdown-heading">The Blog of Charles Daniels</h1>
<h2 class="gemdown-heading">Links</h2>
<p><a class="gemdown-link" href="about.html">About</a></p>
<p><a class="gemdown-link" href="projects.html">Projects</a></p>
<p><a class="gemdown-link" href="talks.html">Talks</a></p>
<p><a class="gemdown-link" href="friends.html">Friends</a></p>
<p><a class="gemdown-link" href="publications.html">Publications</a></p>
<p><a class="gemdown-link" href="https://github.com/charlesdaniels">GitHub</a></p>
<p><a class="gemdown-link" href="https://git.sr.ht/~charles">sr.ht</a></p>
<h2 class="gemdown-heading">Posts</h2>
<p><a class="gemdown-link" href="posts/hello_gemini.html">2021-04-04 Hello, Gemini</a></p>
<p><a class="gemdown-link" href="posts/awk_cpu.html">2020-09-25 Writing a CPU Simulator in AWK</a></p>
<p><a class="gemdown-link" href="posts/sigusr.html">2020-06-23 SIGUSR1: An Under-Appreciated IPC Mechanism</a></p>
<p><a class="gemdown-link" href="posts/ubuntu_laptop.html">2019-05-19 Building a Usable Ubuntu 18.04 Laptop Experience</a></p>
<p><a class="gemdown-link" href="posts/shell_music.html">2018-12-17 A Jukebox in sh with netcat</a></p>
<p><a class="gemdown-link" href="posts/daemonizing_interactive.html">2018-09-13 Daemonizing Interactive Programs with systemd</a></p>
<p><a class="gemdown-link" href="posts/make-static-site.html">2017-11-22 Building a Static Site Generator in 44 Lines of Make</a></p>
<p><a class="gemdown-link" href="posts/factorio-freebsd.html">2017-07-24 Running a Headless Factorio Server on FreeBSD</a></p>
<p><a class="gemdown-link" href="posts/guide-to-make.html">2017-07-15 A Practical Guide to Make</a></p>
<p><a class="gemdown-link" href="posts/lab-reports.html">2016-11-24 Writing Lab Reports the UNIX Way</a></p>
<p><a class="gemdown-link" href="posts/osx-autofs.html">2016-10-09 Automounting NFS Shares on macOS with autofs</a></p>
<p><a class="gemdown-link" href="posts/macbook-headless-vbox.html">2016-10-09 Debian on OSX</a></p>
<h2 class="gemdown-heading">Subscribe</h2>
<p class="gemdown-text">Via HTTP (if you have never head of &#34;Gemini&#34;, you want one of these two):</p>
<p><a class="gemdown-link" href="feed_http.rss">RSS</a></p>
<p><a class="gemdown-link" href="feed_http.atom">Atom</a></p>
<p class="gemdown-text">Via Gemini:</p>
<p><a class="gemdown-link" href="feed_gmi.rss">RSS</a></p>
<p><a class="gemdown-link" href="feed_gmi.atom">Atom</a></p>
<p class="gemdown-text">Copyright 2018-2021 Charles Daniels.</p>
<p><a class="gemdown-link" href="http://creativecommons.org/licenses/by-sa/4.0/">This work is licensed under CC-BY-SA 4.0</a></p>
</body>
<footer>
<script>
    // Only hit the network to request our other scripts if JS is enabled.
    async function setup_scripts() {
        inline_images_node = document.createElement("script");
        inline_images_node.type = "text/javascript"
        inline_images_node.src = "/inline_images.js"
        inline_images_node.onload = function() {
            // This is a hack to force section header anchors to generate
            // after all the link icons are generated, to prevent them from
            // getting link icons as well.
            make_anchors_node = document.createElement("script");
            make_anchors_node.type = "text/javascript"
            make_anchors_node.src = "/make_anchors.js"
            document.head.appendChild(make_anchors_node);
        }
        document.head.appendChild(inline_images_node);


        highlight_node = document.createElement("script");
        highlight_node.type = "text/javascript"
        highlight_node.src = "/highlight.pack.js"
        document.head.appendChild(highlight_node);

        hljs_style_node = document.createElement("link");
        hljs_style_node.href= "/styles/a11y-light.css";
        hljs_style_node.rel = "stylesheet";
        highlight_node.onload = function() {
            hljs.highlightAll();
        }
        document.head.appendChild(hljs_style_node);

    }

    setup_scripts();
</script>

<style>
    body {
        margin: 40px auto;
        max-width: 800px;
        line-height: 1.6;
        font-size: 18px;
        color: #222 !important;
        padding: 0 30px;
        text-align: justify;
        text-justify: inter-word;
    }
    footer {
        font-size: 12px;
        color: #666
    }
    h1,
    h2,
    h3 {
        line-height: 1.2
    }
    .anchor{
        opacity: 0.2;
        color: rgb(2, 66, 242);
        text-decoration: none;
        margin-left: -24px;
    }
    .anchor:hover{
        opacity: 1.0;
        color: rgb(2, 66, 242);
        text-decoration: underline;
    }
    table {
        border-collapse: collapse;
    }
    table, th, td {
        border: 1px solid black;
    }
    tr:nth-child(even) {
        background-color: #ddd;
    }
    code {
        display: block;
        font-family: monospace;
        font-size: 18px;
        line-height: 28.8px;
        overflow-x: auto;
        padding-bottom: 9px;
        padding-left: 9px;
        padding-right: 9px;
        padding-top: 9px;
    }
    pre {
        font-family: monospace;
        font-size: 18px;
        line-height: 28.8px;
        margin-bottom: 18px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 18px;
        text-align: justify;
        white-space: pre;
    }

</style>

</footer>
</html>