all repos — site @ 48d4846a63739c24703e979815eb6266039b793e

source for my site, found at icyphox.sh

Fix Netlify build

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 May 2020 19:05:06 +0530
commit

48d4846a63739c24703e979815eb6266039b793e

parent

53ef7e97ed6524d7a8d48671fd4607a085025c9e

5 files changed, 30 insertions(+), 24 deletions(-)

jump to
M config.pyconfig.py

@@ -54,5 +54,5 @@ </a>

</div> """ template = 'text.html' # default is index.html -pre_build = ['./bin/openring/openring.py'] +pre_build = ['/home/icy/code/openring/openring.py'] post_build = ['./bin/rss.py', './bin/update_index.py']
M netlify.tomlnetlify.toml

@@ -1,3 +1,3 @@

[build] publish = "build/" - command = "pip install git+https://github.com/icyphox/vite && mkdir build && vite build" + command = "pip install git+https://github.com/icyphox/vite && mkdir build && pip install feedparser arrow && vite build"
M static/style.cssstatic/style.css

@@ -39,6 +39,7 @@ padding-top: 1%;

display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-width: 0; + margin-bottom: 20px; } .pull-right {

@@ -294,7 +295,6 @@ .openring {

display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; - margin-bottom: 20px; } .openring-feed {
M templates/openring.htmltemplates/openring.html

@@ -49,12 +49,15 @@ <div class="openring">

{% for f in feeds %} {{ f }} {% endfor %} - <small align="right"> - Generated by <a href="https://github.com/icyphox/openring.py"> - openring.py - </a> - </small> - </div> + + </div> + <div style="float: right"> + <small> + Generated by <a href="https://github.com/icyphox/openring.py"> + openring.py + </a> + </small> + </div> </div> </div> <div class="pull-right">
M templates/text.htmltemplates/text.html

@@ -45,29 +45,24 @@ Send an email to

<a href="mailto:~icyphox/x@lists.sr.ht?Subject=Re: {{ title }}">~icyphox/x@lists.sr.ht</a>—my <a href="https://lists.sr.ht/~icyphox/x">public inbox</a>.</p> <hr> - <h3>Posts from blogs I follow</h3> <div class="openring"> <div class="openring-feed"> - <h4><a href="https://www.bellingcat.com/resources/2020/05/25/investigate-tiktok-like-a-pro/">Investigate TikTok Like A Pro!</a></h4> - <p>TikTok videos have grown increasingly popular over the last few years, with short clips showing people dancing, lip syncing, doing viral challenges, and so on. This relatively new platform lets users share short video clips, and can be looped. It is simila…</p> + <h4><a href="https://peppe.rs/posts/auto-currying_rust_functions/">Auto-currying Rust Functions</a></h4> + <p>This post contains a gentle introduction to procedural macros in Rust and a guide to writing a procedural macro to curry Rust functions. The source code for the entire library can be found here. It is also available on crates.io. +The following links might …</p> - <p>via <a href="https://www.bellingcat.com">bellingcat</a></p> - May 25, 2020 + <p>via <a href="https://peppe.rs">nerdypepper's μblog</a></p> + May 09, 2020 </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://gru.gq/2020/05/08/zoom-keybase/">Zoom + Keybase</a></h4> + <p>There is an opportunity here to signal that Zoom is not a Chinese asset. Zoom can effectively remove itself from the board by completely mitigating passive surveillance. When no state’s intelligence agency benefits from a home field advantage with Zoom, th…</p> - <p>via <a href="https://jcs.org/">joshua stein</a></p> - May 15, 2020 + <p>via <a href="https://gru.gq">grugq’s domain</a></p> + May 08, 2020 </div>

@@ -84,7 +79,15 @@ May 15, 2020

</div> - </div> + + </div> + <div style="float: right"> + <small> + Generated by <a href="https://github.com/icyphox/openring.py"> + openring.py + </a> + </small> + </div> </div> </div> <div class="pull-right">