all repos — site @ f9f953c03aaef703a5e66b94636ee0d41ebcdff8

source for my site, found at icyphox.sh

Better syntax highlighting colors

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Fri, 19 Jun 2020 11:48:04 +0530
commit

f9f953c03aaef703a5e66b94636ee0d41ebcdff8

parent

87e54d9dd8b74ac7583ce58abfd54274a3551522

3 files changed, 54 insertions(+), 50 deletions(-)

jump to
M static/style.cssstatic/style.css

@@ -8,7 +8,7 @@ }

} :root { - --cyan: #03a3a3; + --cyan: #1e9191; --light-gray: #eee; --gray: gray; --code: #666;
M static/syntax.cssstatic/syntax.css

@@ -1,39 +1,39 @@

-.codehilite .hll { background-color: #ffffcc } +.codehilite .hll { background-color: #ffffff } .codehilite { background: #ffffff; } -.codehilite .c { font-style: italic } /* Comment */ +.codehilite .c { color: #eee } /* Comment */ .codehilite .err { border: 1px solid #FF0000 } /* Error */ -.codehilite .k { font-weight: bold } /* Keyword */ -.codehilite .ch { font-style: italic } /* Comment.Hashbang */ -.codehilite .cm { font-style: italic } /* Comment.Multiline */ -.codehilite .cpf { font-style: italic } /* Comment.PreprocFile */ -.codehilite .c1 { font-style: italic } /* Comment.Single */ -.codehilite .cs { font-style: italic } /* Comment.Special */ +.codehilite .k { color: #555; font-weight: bold } /* Keyword */ +.codehilite .ch { color: gray; font-style: italic } /* Comment.Hashbang */ +.codehilite .cm { color: gray; font-style: italic } /* Comment.Multiline */ +.codehilite .cp { color: #555; font-weight: bold } /* Comment.Preproc */ +.codehilite .cpf { color: gray; font-style: italic } /* Comment.PreprocFile */ +.codehilite .c1 { color: gray; font-style: italic } /* Comment.Single */ +.codehilite .cs { color: gray; font-style: italic } /* Comment.Special */ .codehilite .ge { font-style: italic } /* Generic.Emph */ .codehilite .gh { font-weight: bold } /* Generic.Heading */ .codehilite .gp { font-weight: bold } /* Generic.Prompt */ .codehilite .gs { font-weight: bold } /* Generic.Strong */ .codehilite .gu { font-weight: bold } /* Generic.Subheading */ -.codehilite .kc { font-weight: bold } /* Keyword.Constant */ -.codehilite .kd { font-weight: bold } /* Keyword.Declaration */ -.codehilite .kn { font-weight: bold } /* Keyword.Namespace */ -.codehilite .kr { font-weight: bold } /* Keyword.Reserved */ -.codehilite .s { font-style: italic } /* Literal.String */ -.codehilite .nc { font-weight: bold } /* Name.Class */ -.codehilite .ni { font-weight: bold } /* Name.Entity */ -.codehilite .ne { font-weight: bold } /* Name.Exception */ -.codehilite .nn { font-weight: bold } /* Name.Namespace */ -.codehilite .nt { font-weight: bold } /* Name.Tag */ -.codehilite .ow { font-weight: bold } /* Operator.Word */ -.codehilite .sa { font-style: italic } /* Literal.String.Affix */ -.codehilite .sb { font-style: italic } /* Literal.String.Backtick */ -.codehilite .sc { font-style: italic } /* Literal.String.Char */ -.codehilite .dl { font-style: italic } /* Literal.String.Delimiter */ -.codehilite .sd { font-style: italic } /* Literal.String.Doc */ -.codehilite .s2 { font-style: italic } /* Literal.String.Double */ -.codehilite .se { font-weight: bold; font-style: italic } /* Literal.String.Escape */ -.codehilite .sh { font-style: italic } /* Literal.String.Heredoc */ -.codehilite .si { font-weight: bold; font-style: italic } /* Literal.String.Interpol */ -.codehilite .sx { font-style: italic } /* Literal.String.Other */ -.codehilite .sr { font-style: italic } /* Literal.String.Regex */ -.codehilite .s1 { font-style: italic } /* Literal.String.Single */ -.codehilite .ss { font-style: italic } /* Literal.String.Symbol */ +.codehilite .kc { color: #555; font-weight: bold } /* Keyword.Constant */ +.codehilite .kd { color: #555; font-weight: bold } /* Keyword.Declaration */ +.codehilite .kn { color: #555; font-weight: bold } /* Keyword.Namespace */ +.codehilite .kp { color: #555; font-weight: bold } /* Keyword.Pseudo */ +.codehilite .kr { color: #555; font-weight: bold } /* Keyword.Reserved */ +.codehilite .kt { color: #2b91af } /* Keyword.Type */ +.codehilite .s { color: #a31515 } /* Literal.String */ +.codehilite .nc { color: #2b91af } /* Name.Class */ +.codehilite .ow { color: #555; font-weight: bold } /* Operator.Word */ +.codehilite .sa { color: #1e9191 } /* Literal.String.Affix */ +.codehilite .sb { color: #1e9191 } /* Literal.String.Backtick */ +.codehilite .sc { color: #1e9191 } /* Literal.String.Char */ +.codehilite .dl { color: #1e9191 } /* Literal.String.Delimiter */ +.codehilite .sd { color: #1e9191 } /* Literal.String.Doc */ +.codehilite .s2 { color: #1e9191 } /* Literal.String.Double */ +.codehilite .se { color: #1e9191 } /* Literal.String.Escape */ +.codehilite .sh { color: #1e9191 } /* Literal.String.Heredoc */ +.codehilite .si { color: #1e9191 } /* Literal.String.Interpol */ +.codehilite .sx { color: #1e9191 } /* Literal.String.Other */ +.codehilite .sr { color: #1e9191 } /* Literal.String.Regex */ +.codehilite .s1 { color: #1e9191 } /* Literal.String.Single */ +.codehilite .ss { color: #1e9191 } /* Literal.String.Symbol */ +.codehilite .nt { color: #555; font-weight: bold } /* Name Tag or something */
M templates/text.htmltemplates/text.html

@@ -48,34 +48,38 @@ <hr>

<div class="openring"> <div class="openring-feed"> - <h4><a href="https://drewdevault.com/tls/security/oauth/2020/06/12/Can-we-talk-about-client-side-certs.html">Can we talk about client-side certificates?</a></h4> - <p>I’m working on improving the means by which API users authenticate with the -SourceHut API. Today, I was reading RFC 6749 (OAuth2) for this purpose, -and it got me thinking about the original OAuth spec. I recalled vaguely that it -had the API clients actuall…</p> + <h4><a href="https://k1ss.org/blog/20200525a">25/05/2020: This month in KISS (#2)</a></h4> + <p>Welcome to the second monthly update for KISS. This post will be +quite a long one, we've seen some nice changes this month and some +great work by the Community.…</p> - <p>via <a href="https://drewdevault.com">Drew DeVault's Blog</a> on Jun 12, 2020</p> + <p>via <a href="https://k1ss.org">KISS Linux Blog</a> on May 25, 2020</p> </div> <div class="openring-feed"> - <h4><a href="https://www.bellingcat.com/resources/podcasts/2020/06/11/bellingchat-episode-2-racism-today/">BellingChat Episode 2 – Racism Today</a></h4> - <p>In this week’s episode of BellingChat, Eliot Higgins is joined by Bellingcat’s Charlotte Godart and Nick Waters to discuss their recent work documenting police violence against journalists during the recent protests in response to the police killing of Geo…</p> + <h4><a href="https://peppe.rs/posts/turing_complete_type_systems/">Turing Complete Type Systems</a></h4> + <p>Rust’s type system is Turing complete: + +FizzBuzz with Rust Traits +A Forth implementation with Rust Traits - <p>via <a href="https://www.bellingcat.com">bellingcat</a> on Jun 11, 2020</p> +It is impossible to determine if a program written in a generally Turing complete system will ever stop. That is, it is impossible to write a program…</p> + + <p>via <a href="https://peppe.rs">nerdypepper's μblog</a> on Jun 18, 2020</p> </div> <div class="openring-feed"> - <h4><a href="https://jcs.org/2020/05/15/surface_go2">OpenBSD on the Microsoft Surface Go 2 (notaweblog)</a></h4> - <p>I used OpenBSD on the -original Surface Go -back in 2018 and many things worked with the big exception of the internal -Atheros WiFi. -This meant I had to keep it tethered to a USB-C dock for Ethernet or use -a small USB-A WiFi dongle plugged into a less-than-…</p> + <h4><a href="https://drewdevault.com/2020/06/15/Status-update.html">Status update, June 2020</a></h4> + <p>Like last month, I am writing to you from the past, preparing this status update +a day earlier than usual. This time it’s because I expect to be busy with +planned sr.ht maintenance tomorrow, so I’m getting the status updates written +ahead of time. + +aerc ha…</p> - <p>via <a href="https://jcs.org/">joshua stein</a> on May 15, 2020</p> + <p>via <a href="https://drewdevault.com">Drew DeVault's Blog</a> on Jun 15, 2020</p> </div>