Massive clean up of UI
Anirudh Oppiliappan x@icyphox.sh
Sat, 29 Aug 2020 22:45:10 +0530
9 files changed,
53 insertions(+),
98 deletions(-)
M
config.py
→
config.py
@@ -2,7 +2,7 @@ # config.py - Vite's configuration script
title = "icyphox" author = "" -header = """<a href="/">← back</a>""" +header = "" # actually the sidebar footer = f"""@@ -43,14 +43,17 @@ </p>
<div class="icons"> <a href="https://creativecommons.org/licensjes/by-nc-sa/4.0/"> - <img class="footimgs" src="/static/cc.svg"> + <img class="footimgs" alt="cc nc-by-sa" src="/static/cc.svg"> </a> <a href="https://webring.xxiivv.com/#random" target="_blank"> <img class="footimgs" alt="xxiivv webring" src="/static/webring.svg"> </a> + <a href="/blog/feed.xml" > + <img class="footimgs" alt="rss feed" src="/static/rss.svg"> + </a> </div> """ template = 'text.html' # default is index.html -#pre_build = [['bin/openring.py', '-j'], 'bin/update_index.py'] +pre_build = ['bin/update_index.py'] post_build = ['bin/rss.py', 'bin/plaintext.sh']
M
pages/_index.md
→
pages/_index.md
@@ -4,5 +4,4 @@ title: icyphox's blog
subtitle: Computers, security & computer security. --- -# блог ([rss](/blog/feed.xml)) ## Computers, security & computer security.
M
pages/about.md
→
pages/about.md
@@ -4,7 +4,6 @@ title: about
subtitle: Stuff about me, and stuff. --- -# обо мне ## Hi. I'm Anirudh, but you'll often find me as **icyphox** (or just **icy**),
M
pages/friends.md
→
pages/friends.md
@@ -4,7 +4,6 @@ title: friends
subtitle: My friends and internet bros. --- -# друзья ## My friends and internet bros. ### `#rice`@@ -12,6 +11,7 @@
- [nerdypepper](https://peppe.rs) - [eti](https://eti.tf) - [bushidoboy](https://bushidoboy.com) +- [uoya](https://hugo.md) - [enju](https://enju.dev) - [nil](https://monade.li) - [Leliana](https://revthefox.co.uk/)
A
static/rss.svg
@@ -0,0 +1,1 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg height="512px" id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M119.9,336.1c-30.8,0-55.9,25.1-55.9,55.8c0,30.8,25.1,55.6,55.9,55.6c30.9,0,55.9-24.9,55.9-55.6 C175.8,361.2,150.8,336.1,119.9,336.1z"/><path d="M64,192v79.9c48,0,94.1,14.2,128,48.1c33.9,33.9,48,79.9,48,128h80C320,308.1,204,192,64,192z"/><path d="M64,64v79.9c171,0,303.9,133,303.9,304.1H448C448,236.3,276,64,64,64z"/></g></svg>
M
static/style.css
→
static/style.css
@@ -35,8 +35,7 @@ --cyan: #1e9191;
--light-gray: #eee; --gray: gray; --code: #666; - --dark: #222; - --sel: #444; + --dark: #444; } body {@@ -264,6 +263,7 @@
.muted { color: var(--gray); font-family: 'Charter'; + font-size: 18px; } .muted a {@@ -314,7 +314,7 @@ color: var(--dark);
padding-bottom: 30px; } -h1, h2, h3, h4 { +h2, h3, h4 { font-weight: normal; }@@ -342,7 +342,7 @@ width: 20%;
} ::selection { - background-color: var(--sel); + background-color: var(--dark); color: white; }
M
templates/_index.html
→
templates/_index.html
@@ -33,7 +33,7 @@ <tbody>
{% for p in posts %} <tr> <td align="left"><a href="/blog/{{ p.url }}">{{ p.title }}</a></td> - <td align="right">{{ p.date }}</td> + <!--<td align="right">{{ p.date }}</td>--> </tr> {% endfor %} </table>
M
templates/index.html
→
templates/index.html
@@ -33,197 +33,197 @@ <tbody>
<tr> <td align="left"><a href="/blog/ducky-one-2">The Ducky One 2 SF</a></td> - <td align="right">2020-08-22</td> + <!--<td align="right">2020-08-22</td>--> </tr> <tr> <td align="left"><a href="/blog/twitter">Some thoughts on Twitter</a></td> - <td align="right">2020-08-03</td> + <!--<td align="right">2020-08-03</td>--> </tr> <tr> <td align="left"><a href="/blog/2020-07-20">Status update</a></td> - <td align="right">2020-07-20</td> + <!--<td align="right">2020-07-20</td>--> </tr> <tr> <td align="left"><a href="/blog/flask-jwt-login">Flask-JWT-Extended × Flask-Login</a></td> - <td align="right">2020-06-24</td> + <!--<td align="right">2020-06-24</td>--> </tr> <tr> <td align="left"><a href="/blog/dont-news">You don't need news</a></td> - <td align="right">2020-06-21</td> + <!--<td align="right">2020-06-21</td>--> </tr> <tr> <td align="left"><a href="/blog/pi">Migrating to the RPi</a></td> - <td align="right">2020-06-04</td> + <!--<td align="right">2020-06-04</td>--> </tr> <tr> <td align="left"><a href="/blog/site-changes">Site changes</a></td> - <td align="right">2020-05-27</td> + <!--<td align="right">2020-05-27</td>--> </tr> <tr> <td align="left"><a href="/blog/efficacy-deepfakes">The efficacy of deepfakes</a></td> - <td align="right">2020-05-11</td> + <!--<td align="right">2020-05-11</td>--> </tr> <tr> <td align="left"><a href="/blog/simplicity-security">Simplicity (mostly) guarantees security</a></td> - <td align="right">2020-05-07</td> + <!--<td align="right">2020-05-07</td>--> </tr> <tr> <td align="left"><a href="/blog/s-nail">The S-nail mail client</a></td> - <td align="right">2020-05-06</td> + <!--<td align="right">2020-05-06</td>--> </tr> <tr> <td align="left"><a href="/blog/mastodon-social">Stop joining mastodon.social</a></td> - <td align="right">2020-05-05</td> + <!--<td align="right">2020-05-05</td>--> </tr> <tr> <td align="left"><a href="/blog/openbsd-hp-envy">OpenBSD on the HP Envy 13</a></td> - <td align="right">2020-04-17</td> + <!--<td align="right">2020-04-17</td>--> </tr> <tr> <td align="left"><a href="/blog/kiss-zen">The Zen of KISS Linux</a></td> - <td align="right">2020-04-03</td> + <!--<td align="right">2020-04-03</td>--> </tr> <tr> <td align="left"><a href="/blog/mael">Introducing mael</a></td> - <td align="right">2020-03-29</td> + <!--<td align="right">2020-03-29</td>--> </tr> <tr> <td align="left"><a href="/blog/covid19-disinfo">COVID-19 disinformation</a></td> - <td align="right">2020-03-15</td> + <!--<td align="right">2020-03-15</td>--> </tr> <tr> <td align="left"><a href="/blog/nullcon-2020">Nullcon 2020</a></td> - <td align="right">2020-03-09</td> + <!--<td align="right">2020-03-09</td>--> </tr> <tr> <td align="left"><a href="/blog/prosody">Setting up Prosody for XMPP</a></td> - <td align="right">2020-02-18</td> + <!--<td align="right">2020-02-18</td>--> </tr> <tr> <td align="left"><a href="/blog/2020-01-18">Status update</a></td> - <td align="right">2020-01-18</td> + <!--<td align="right">2020-01-18</td>--> </tr> <tr> <td align="left"><a href="/blog/mnml-browsing">Vimb: my Firefox replacement</a></td> - <td align="right">2020-01-16</td> + <!--<td align="right">2020-01-16</td>--> </tr> <tr> <td align="left"><a href="/blog/five-days-tty">Five days in a TTY</a></td> - <td align="right">2020-01-13</td> + <!--<td align="right">2020-01-13</td>--> </tr> <tr> <td align="left"><a href="/blog/2019-in-review">2019 in review</a></td> - <td align="right">2020-01-02</td> + <!--<td align="right">2020-01-02</td>--> </tr> <tr> <td align="left"><a href="/blog/ru-vs-gb">Disinfo war: RU vs GB</a></td> - <td align="right">2019-12-12</td> + <!--<td align="right">2019-12-12</td>--> </tr> <tr> <td align="left"><a href="/blog/ig-opsec">Instagram OPSEC</a></td> - <td align="right">2019-12-02</td> + <!--<td align="right">2019-12-02</td>--> </tr> <tr> <td align="left"><a href="/blog/save-org">Save .ORG!</a></td> - <td align="right">2019-11-23</td> + <!--<td align="right">2019-11-23</td>--> </tr> <tr> <td align="left"><a href="/blog/2019-11-16">Status update</a></td> - <td align="right">2019-11-16</td> + <!--<td align="right">2019-11-16</td>--> </tr> <tr> <td align="left"><a href="/blog/irc-for-dms">IRC for DMs</a></td> - <td align="right">2019-11-03</td> + <!--<td align="right">2019-11-03</td>--> </tr> <tr> <td align="left"><a href="/blog/intel-conundrum">The intelligence conundrum</a></td> - <td align="right">2019-10-28</td> + <!--<td align="right">2019-10-28</td>--> </tr> <tr> <td align="left"><a href="/blog/hacky-scripts">Hacky scripts</a></td> - <td align="right">2019-10-24</td> + <!--<td align="right">2019-10-24</td>--> </tr> <tr> <td align="left"><a href="/blog/2019-10-16">Status update</a></td> - <td align="right">2019-10-16</td> + <!--<td align="right">2019-10-16</td>--> </tr> <tr> <td align="left"><a href="/blog/pycon-wrap-up">PyCon India 2019 wrap-up</a></td> - <td align="right">2019-10-15</td> + <!--<td align="right">2019-10-15</td>--> </tr> <tr> <td align="left"><a href="/blog/digital-minimalism">Thoughts on digital minimalism</a></td> - <td align="right">2019-10-05</td> + <!--<td align="right">2019-10-05</td>--> </tr> <tr> <td align="left"><a href="/blog/2019-09-27">Weekly status update, 09/17–09/27</a></td> - <td align="right">2019-09-27</td> + <!--<td align="right">2019-09-27</td>--> </tr> <tr> <td align="left"><a href="/blog/2019-09-17">Weekly status update, 09/08–09/17</a></td> - <td align="right">2019-09-17</td> + <!--<td align="right">2019-09-17</td>--> </tr> <tr> <td align="left"><a href="/blog/disinfo">Disinformation demystified</a></td> - <td align="right">2019-09-10</td> + <!--<td align="right">2019-09-10</td>--> </tr> <tr> <td align="left"><a href="/blog/mailserver">Setting up my personal mailserver</a></td> - <td align="right">2019-08-15</td> + <!--<td align="right">2019-08-15</td>--> </tr> <tr> <td align="left"><a href="/blog/fb50.md">Picking the FB50 smart lock (CVE-2019-13143)</a></td> - <td align="right">2019-08-05</td> + <!--<td align="right">2019-08-05</td>--> </tr> <tr> <td align="left"><a href="/blog/rop-on-arm">Return Oriented Programming on ARM (32-bit)</a></td> - <td align="right">2019-06-06</td> + <!--<td align="right">2019-06-06</td>--> </tr> <tr> <td align="left"><a href="/blog/my-setup">My setup</a></td> - <td align="right">2019-05-13</td> + <!--<td align="right">2019-05-13</td>--> </tr> <tr> <td align="left"><a href="/blog/python-for-re-1">Python for Reverse Engineering</a></td> - <td align="right">2019-02-08</td> + <!--<td align="right">2019-02-08</td>--> </tr> </table>
M
templates/text.html
→
templates/text.html
@@ -43,53 +43,6 @@ </article>
<p class="muted">Questions or comments? 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> - <div class="openring"> - - <div class="openring-feed"> - <h4><a href="https://gru.gq/2020/07/17/propaganda-harder-than-it-looks/">Propaganda, harder than it looks</a></h4> - <p>A poor effort at “black propaganda” The success or failure of black propaganda depends on the receiver’s willingness to accept the credibility of the source and the content of the message. Care has to be taken to place the sources and messages within a soc…</p> - - <p>via <a href="https://gru.gq">grugq’s domain</a> on Jul 17, 2020</p> - </div> - - - <div class="openring-feed"> - <h4><a href="https://peppe.rs/posts/gripes_with_go/">Gripes With Go</a></h4> - <p>You’ve read a lot of posts about the shortcomings of the Go programming language, so what’s one more. - -Lack of sum types -Type assertions -Date and Time -Statements over Expressions -Erroring out on unused variables -Error handling - -Lack of Sum types -A “Sum” ty…</p> - - <p>via <a href="https://peppe.rs">nerdypepper's μblog</a> on Aug 01, 2020</p> - </div> - - - <div class="openring-feed"> - <h4><a href="https://www.bellingcat.com/resources/case-studies/2020/08/24/cleared-for-takeoff-exploring-microsoft-flight-simulator-2020s-research-potential/">Cleared for Takeoff: Exploring Microsoft Flight Simulator 2020’s Research Potential</a></h4> - <p>Microsoft Flight Simulator 2020 (MFS2020) launched last week, promising players the ability to fly anywhere on the planet thanks to the integration of several technologies. The game pulls satellite images from Bing Maps, and populates them with objects (su…</p> - - <p>via <a href="https://www.bellingcat.com">bellingcat</a> on Aug 24, 2020</p> - </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">@@ -97,4 +50,4 @@ {{ footer }}
</div> </div> </body> -</html>+</html>