Skip to content

Instantly share code, notes, and snippets.

View Solido's full-sized avatar
💙

Robert Felker Solido

💙
View GitHub Profile
@Solido
Solido / color256.md
Created February 18, 2026 00:06 — forked from jake-stewart/color256.md
Terminals should generate the 256-color palette

Terminals should generate the 256-color palette from the user's base16 theme.

If you've spent much time in the terminal, you've probably set a custom base16 theme. They work well. You define a handful of colors in one place and all your programs use them.

The drawback is that 16 colors is limiting. Complex and color-heavy programs struggle with such a small palette.

#!/bin/bash
# ============================================================
# Script client de vérification du serveur gRPC Raspberry Pi
# Vérifie :
# - mDNS / Avahi (.local)
# - Port gRPC ouvert (44444)
# - Annonce mDNS (_grpc._tcp)
# - Réponse gRPC basique via grpcurl (si installé)
# ============================================================
@Solido
Solido / script.js
Created February 15, 2024 12:38 — forked from gd3kr/script.js
Download a JSON List of twitter bookmarks
/*
the twitter api is stupid. it is stupid and bad and expensive. hence, this.
Literally just paste this in the JS console on the bookmarks tab and the script will automatically scroll to the bottom of your bookmarks and keep a track of them as it goes.
When finished, it downloads a JSON file containing the raw text content of every bookmark.
for now it stores just the text inside the tweet itself, but if you're reading this why don't you go ahead and try to also store other information (author, tweetLink, pictures, everything). come on. do it. please?
*/
@Solido
Solido / main.dart
Created August 10, 2019 15:11
Wind Turbine Speed
import 'package:flare_dart/math/mat2d.dart';
import 'package:flare_flutter/';
import 'package:flare_flutter/flare.dart';
import 'package:flare_flutter/flare_actor.dart';
import 'package:flare_flutter/flare_controller.dart';
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
import 'package:flutter/material.dart';
void main() {
@Solido
Solido / Svg using AngularJS
Created November 1, 2013 17:50
Render a contemporary art piece using SVG and AngularJS. Note the code can be simplified by using the latest lodash updated and removing chance.js
<!DOCTYPE html>
<html ng-app>
<head>
<title>
</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js"></script>
<script type="text/javascript" src="lodash.js"></script>
<script type="text/javascript" src="chance.js"></script>