Skip to content

Instantly share code, notes, and snippets.

View ivandardi's full-sized avatar

Ivan Borgia Dardi ivandardi

View GitHub Profile
@ivandardi
ivandardi / rustify.instructions.md
Created July 8, 2025 23:36
Github Copilot instruction file for the `rustify` command
description
Rustify is a tool that turns Rust code into idiomatic Rust.

What "Rust Idiomatic" Means

Idiomatic coding means following the conventions of a given language. It is the most concise, convenient, and common way of accomplishing a task in that language, rather than forcing it to work in a way the author is familiar with from a different language.

@ivandardi
ivandardi / cookiemonster.js
Created April 23, 2020 14:39
Cookiemonster
/**********
* Header *
**********/
CM = {};
CM.Backup = {};
CM.Cache = {};
#![allow(non_snake_case)]
#[macro_use]
extern crate ndarray;
use std::{
env,
fs::File,
io::{BufRead, BufReader, BufWriter, Read, Write},
};
@ivandardi
ivandardi / cloudSettings
Last active June 11, 2017 23:39
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-06-11T23:39:17.444Z","extensionVersion":"v2.8.1"}