This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Powerline status bar | |
# for Debian/Ubuntu & Arch distros: | |
# source /usr/share/powerline/bindings/tmux/powerline.conf | |
# for Fedora: | |
# sudo dnf install powerline powerline-fonts tmux-powerline | |
source "/usr/share/tmux/powerline.conf" | |
# remap prefix from 'C-b' to 'C-a' | |
# source: https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ (hamvocke) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set number | |
set t_Co=256 | |
set updatetime=300 | |
filetype indent on | |
set colorcolumn=79 | |
colorscheme evening | |
" config from https://stackoverflow.com/questions/1878974/redefine-tab-as-4-spaces | |
set tabstop=4 " Size of a hard tabstop (ts). | |
set shiftwidth=4 " Size of an indentation (sw). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# CURL based wrapper script to do CRUD operations in your neocities.org site one file at time | |
# Created by: Ivan Robles <navitux@disroot.org> | |
# License: GPLv3.0 | |
VERSION="1.0" | |
USER="$NEOCITIES_USER" | |
PASSWORD="$NEOCITIES_PASS" | |
howtouse() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.jsdelivr.net/npm/rss-parser@3.7.6/dist/rss-parser.min.js"></script> | |
<h1>Convertion from <a href="https://joinplu.me/">Plume</a> (the federated blog) RSS feed to JSON then to HTML Snippet</h1> | |
<small>cortesy of <a href="https://rss-to-json-serverless-api.vercel.app"> RSS feed to JSON API</a> </small> | |
<p>comments:</p> | |
<ul> | |
<li> the content of each entry underneath each title will be truncate to 20 words</li> | |
<li>Errors in external content fetching will be shown in console</li> | |
<li><a href="#example">1st</a> is a local example is made with a JSON variable with only 2 elements</li> | |
<li><a href="#plume_feed">2nd</a> is an external example fetched from a blogger's RSS XML feed from Plume, transformed to JSON thanks to the API and converted into HTML content</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -f filters.sed nasty-script > clean |