Skip to content

Instantly share code, notes, and snippets.

@repi
repi / crate-health.md
Last active July 30, 2024 17:22
Guidelines on evaluating health & quality of third-party crates at Embark

What to evaluate and consider before adding usage of new third-party crates.

These are not exact requirements but questions to investigate and discuss to help reason around the health, safety, maintainability, and more around crates.

This can also be read as an opinionated guide for crate authors of what our (Embark's) guidelines and recommendations are, though should not be taken too literally.

Legend: 🔒 Must have, ⭐️ Should have, 👍 Nice to have, ℹ️ Info

@azriel91
azriel91 / how_to_write_a_good_cli_application.md
Last active January 8, 2020 11:08
Notes on how to write a good CLI application

How To Write A Good CLI Application

Modes

  • Interactive: For humans.
  • Non-interactive: For computers.

Interactive Mode

  • Print informatives to stderr.
@jewelsea
jewelsea / EarthViewer.java
Created October 28, 2013 22:57
Display the earth in JavaFX 3D
import javafx.animation.*;
import javafx.application.Application;
import javafx.scene.*;
import javafx.scene.image.Image;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.*;
import javafx.scene.shape.Sphere;
import javafx.scene.transform.Rotate;
import javafx.stage.Stage;
import javafx.util.Duration;