Skip to content

Instantly share code, notes, and snippets.

View LucioFranco's full-sized avatar

Lucio Franco LucioFranco

View GitHub Profile
@LucioFranco
LucioFranco / build.ps1
Last active January 2, 2026 20:21
NASSP builder
# NASSP build script
# Usage: .\build.ps1 <command> [options]
param(
[Parameter(Position=0)]
[string]$Command = "help",
[Parameter(Position=1)]
[string]$BuildType = "Release",
@LucioFranco
LucioFranco / build.ps1
Created January 2, 2026 15:49
Orbiter
# Orbiter Space Flight Simulator build script
# Usage: .\build.ps1 <command> [options]
param(
[Parameter(Position=0)]
[string]$Command = "help",
[Parameter(Position=1)]
[string]$Preset = "windows-x64-debug",
@LucioFranco
LucioFranco / build.ps1
Last active January 1, 2026 13:08
A powershell build script to build the minimal components of the virtualagc project.
<#
.SYNOPSIS
Build script for Virtual AGC on Windows.
.DESCRIPTION
Configures and builds the project with CMake.
Prerequisites (install via winget):
winget install Kitware.CMake Ninja-build.Ninja Magicsplat.TclTk
This file has been truncated, but you can view the full file.
Mono path[0] = 'C:/Steam/steamapps/common/Reentry - An Orbital Simulator/ReEntry_Data/Managed'
Mono config path = 'C:/Steam/steamapps/common/Reentry - An Orbital Simulator/MonoBleedingEdge/etc'
Input System module state changed to: Initialized.
[Physics::Module] Initialized fallback backend.
[Physics::Module] Id: 0xdecafbad
Initialize engine version: 6000.2.10f1 (d3d30d158480)
[Subsystems] Discovering subsystems at path C:/Steam/steamapps/common/Reentry - An Orbital Simulator/ReEntry_Data/UnitySubsystems
[Subsystems] No descriptors matched for examples in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
[Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
[Subsystems] 1 'displays' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
diff --git a/connectorx-python/Cargo.lock b/connectorx-python/Cargo.lock
index 6437a4b4d..fd8e5ecfb 100644
--- a/connectorx-python/Cargo.lock
+++ b/connectorx-python/Cargo.lock
@@ -34,7 +34,7 @@ version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
dependencies = [
- "cfg-if",
+ "cfg-if 1.0.0",
diff --git a/Cargo.lock b/Cargo.lock
index 37e809869..9427a7ab3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2155,7 +2155,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e"
dependencies = [
"libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.52.0",
// ==UserScript==
// @name Remove paramount+ live tv sidebar
// @version 1
// @grant none
// @include https://www.paramountplus.com/live-tv/*
// ==/UserScript==
let sidebar = document.getElementsByClassName("skin-sidebar-plugin");
setTimeout(() => {
// This example shows how to use the tokio runtime with any other executor
//
// The main components are a spawn fn that will wrap futures in a special future
// that will always enter the tokio context on poll. This only spawns on extra thread
// to manage and run the tokio drivers in the background.
//
// Playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=22c3645ba6a03ec77459fd1dfc9f35f1
use tokio::net::TcpListener;
use tokio::sync::oneshot;
@LucioFranco
LucioFranco / aws.rs
Last active August 27, 2019 22:50 — forked from davidbarsky/aws.rs
#![feature(async_await)]
use failure::{Fail, Error};
use std::future::Future;
use std::pin::Pin;
/// `S3Request` is a trait that specifies:
/// - the service request/response pairing.
/// - the service protocol (json, rest-json, rest-xml, or query)
/// - optionally, additional metadata.
use std::task::Future;
use futures::future::FutureExt;
pub fn spawn<F>(f: F)
where
F: Future + Send + 'static,
{
tokio::spawn(f.map(|_| ()).unit_error().boxed().compat());
}