Skip to content

Instantly share code, notes, and snippets.

View ivandev-81's full-sized avatar

Ivan Robles ivandev-81

View GitHub Profile
@ivandev-81
ivandev-81 / neocitiesrequest.sh
Created November 8, 2023 05:13
CURL based script to do CRUD operations in your neocities.org site in an easy way
#!/bin/bash
# CURL based wrapper script to do CRUD operations in your neocities.org site one file at time
# Created by: Ivan Robles <[email protected]>
# License: GPLv3.0
VERSION="1.0"
USER="$NEOCITIES_USER"
PASSWORD="$NEOCITIES_PASS"
howtouse()
{
@ivandev-81
ivandev-81 / index.html
Last active July 17, 2023 02:46
Plume XML RSS and/or JSON => HTML
<script src="https://cdn.jsdelivr.net/npm/[email protected]/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>
@dominiwe
dominiwe / uninstall-guix.md
Created December 27, 2022 14:27
Uninstall guix after installing it on top of an existing GNU/Linux system

How to uninstall guix

Date of creation: 2022-12-27

First of all, if the install script referenced here was used to install guix, ideally the output of that script as well as the script itself should have been saved somewhere. This makes it easier to see which components were installed and where and thus makes it easier for you to uninstall them.

As for me personally, I used the install script to install guix on a debian derivative distribution with systemd. This guide thus focuses on uninstalling guix from a debian derivative distribution but will probably work for your distribution as well with some slight changes.

@ivandev-81
ivandev-81 / clean-typescript.sh
Created August 3, 2022 01:18
Clean manually the output of script command of non-visible or undesirable characters
sed -f filters.sed nasty-script > clean
@XVilka
XVilka / TrueColour.md
Last active April 27, 2025 10:17
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 12, 2025 10:08
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname