openring: remove [staging]

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-11-22 16:15:16 +05:30
parent 97be4a8f8d
commit 0796d1d4b9
6 changed files with 0 additions and 187 deletions

View File

@ -1,40 +0,0 @@
name: Update openring data
on:
schedule:
- cron: '0 0 * * *'
jobs:
regenerate-openring-html:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c952173edf28a2bd22e1a4926590c1ac39630461
- name: Setup Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
with:
go-version: '^1.15'
- name: Install openring
run: go get git.sr.ht/~sircmpwn/openring
- name: Run openring
run: ./scripts/openring.sh
- name: Initialize git config
run: |
git config user.name "GitHub Actions"
git config user.email noreply@github.com
- name: Compare changes
run: if [[ $(git diff --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
- name: Create Pull Request
if: env.UPDATED == 'true'
uses: peter-evans/create-pull-request@v3
with:
author: GitHub Actions <noreply@github.com>
base: src
branch: update-openring
commit-message: 'layouts: update openring data'
title: Periodic openring sync

View File

@ -1,6 +1,3 @@
.post__footer {
padding-top: 0rem !important;
}
/* Background */ .chroma { background-color: #f8f8f8 }
/* Other */ .chroma .x { color: #000000 }
/* Error */ .chroma .err { color: #a40000 }

View File

@ -22,9 +22,6 @@
{{ partial "post-pagination.html" .}}
{{ partial "sponsors.html" .}}
{{ if or .Site.BuildDrafts .Site.IsServer -}}
<footer class="post__footer">
{{ partial "openring.html" . }}
</footer>
{{- end }}
</div>
</div>

View File

@ -1,77 +0,0 @@
<section class="webring">
<h3>Articles from blogs I follow around the net</h3>
<section class="articles">
<div class="article">
<h4 class="title">
<a class="tag__link" href="https://joebirch.co/android/exploring-jetpack-compose-preview-annotation/" target="_blank" rel="noopener">Exploring Jetpack Compose: @Preview annotation</a>
</h4>
<p class="summary">The ability to Preview Jetpack Compose composables within Android Studio is possibly one of my favorite things about this new way of building apps. Previews allow us to build, style and polish our composables without needing to run our app. The annotation…</p>
<small class="source">
via <a href="https://joebirch.co">Joe Birch</a>
</small>
<small class="date">October 30, 2020</small>
</div>
<div class="article">
<h4 class="title">
<a class="tag__link" href="https://fasterthanli.me/articles/whats-in-a-rainbow-table" target="_blank" rel="noopener">What&#39;s in a Rainbow table?</a>
</h4>
<p class="summary">
In Veronica Mars and password hashes,
from my new Tech As Seen On TV series, we&#39;ve
explored &#34;cracking passwords&#34; using brute-force methods, and then using
rainbow tables, which was much, much faster.
</p>
<small class="source">
via <a href="https://fasterthanli.me">fasterthanli.me</a>
</small>
<small class="date">October 28, 2020</small>
</div>
<div class="article">
<h4 class="title">
<a class="tag__link" href="http://jakewharton.com/peeking-at-colorful-command-line-output/" target="_blank" rel="noopener">Peeking at command-line ANSI escape sequences</a>
</h4>
<p class="summary">Command-line programs use color to convey additional information and to look pretty. For example, compare the output of ls with and without the --color flag:</p>
<small class="source">
via <a href="http://jakewharton.com/"></a>
</small>
<small class="date">October 28, 2020</small>
</div>
</section>
<p class="attribution">
Generated by
<a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
</p>
</section>
<style>
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
padding-top: 1rem;
}
.webring .title {
margin: 0;
}
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
background: #f2e3ff;
min-width: 8rem;
}
.webring .summary {
font-size: 0.8rem;
flex: 1 1 0;
}
.webring .attribution {
text-align: right;
font-size: 0.8rem;
color: #555;
}
</style>

View File

@ -1,50 +0,0 @@
<section class="webring">
<h3>Articles from blogs I follow around the net</h3>
<section class="articles">
{{range .Articles}}
<div class="article">
<h4 class="title">
<a class="tag__link" href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
</h4>
<p class="summary">{{.Summary}}</p>
<small class="source">
via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
</small>
<small class="date">{{.Date | datef "January 2, 2006"}}</small>
</div>
{{end}}
</section>
<p class="attribution">
Generated by
<a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
</p>
</section>
<style>
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
padding-top: 1rem;
}
.webring .title {
margin: 0;
}
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
background: #f2e3ff;
min-width: 8rem;
}
.webring .summary {
font-size: 0.8rem;
flex: 1 1 0;
}
.webring .attribution {
text-align: right;
font-size: 0.8rem;
color: #555;
}
</style>

View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
openring \
-s https://stjepang.github.io/feed.xml \
-s https://fasterthanli.me/index.xml \
-s https://deterministic.space/feed.xml \
-s https://adambennett.dev/index.xml \
-s https://chris.banes.dev/atom.xml \
-s https://jakewharton.com/feed.xml \
-s https://joebirch.co/feed/ \
-s https://publicobject.com/rss/ \
-s https://blog.jessfraz.com/index.xml \
-s https://coroutinedispatcher.com/index.xml \
< openring/in.html \
> layouts/partials/openring.html