Skip to content

Instantly share code, notes, and snippets.

View KallelGaNewk's full-sized avatar
:octocat:

Ian Kallel KallelGaNewk

:octocat:
  • São Paulo, Brazil 🇧🇷
  • 12:25 (UTC -03:00)
View GitHub Profile

Reviving a Dead Apple Silicon Mac (after macOS 26.4 update)

⚠️ Warning Before proceeding, understand:

  • You may not recover your data
  • You assume full responsibility for any issues that occur

@KallelGaNewk
KallelGaNewk / main.rs
Created November 10, 2025 03:08
Convert CSV to JSON
use encoding_rs::WINDOWS_1252;
use encoding_rs_io::DecodeReaderBytesBuilder;
use std::io::{BufReader, BufWriter, Write};
use std::time::Instant;
#[derive(Debug, serde::Serialize)]
struct SimplesRecord<'a> {
base_cnpj: &'a str,
simples: &'a str,
entry_date: &'a str,
@KallelGaNewk
KallelGaNewk / main.rs
Last active November 10, 2025 03:11
egui overlay example for Windows, calculate BPM using clicks for osu!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use eframe::egui;
use eframe::egui::ViewportCommand;
use rdev::{Event, listen};
use std::sync::{Arc, Mutex};
use std::thread;
use std::time::Instant;
fn main() -> eframe::Result {