Skip to content

Instantly share code, notes, and snippets.

View Romelium's full-sized avatar

Romelium Romelium

View GitHub Profile
@Romelium
Romelium / index.html
Created September 23, 2025 23:34
Hosted with Page Cast
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Definitive Pearson Correlation Calculator</title>
<!-- Google Fonts: Lato -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@Romelium
Romelium / index.html
Created September 21, 2025 17:54
Hosted with Page Cast
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Definitive Pearson Correlation Calculator</title>
<!-- Google Fonts: Lato -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@Romelium
Romelium / index.html
Created September 21, 2025 17:29
Hosted with Page Cast
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Definitive Pearson Correlation Calculator</title>
<!-- Google Fonts: Lato -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@Romelium
Romelium / index.html
Last active September 21, 2025 15:05
Hosted with Page Cast
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Cast: Live HTML Hosting</title>
<style>
/* --- 1. Global Styles & Variables --- */
:root {
--primary-color: #3498db; --secondary-color: #2980b9; --success-color: #1abc9c;
@Romelium
Romelium / ankicat.py
Created August 5, 2025 06:24
AnkiCat is a `cat`-like utility that prints your Anki deck notes to the terminal in a clean, structured format, making the output perfect for scripting, piping, and direct use by Large Language Models.
#!/usr/bin/env python3
"""
AnkiCat: A `cat`-like utility for your Anki decks.
This script provides a simple, powerful way to view your Anki notes directly
from the terminal. It is designed for power users and developers, making it
easy to pipe note content to other commands (like `grep`) or to simply browse
decks without opening the main Anki application. It also includes a responsive
graphical interface for more visual use.
@Romelium
Romelium / get_install.sh
Created January 20, 2025 20:35
A Bash script that automates the process of downloading a binary file from a URL, making it executable, and installing it with a custom name in /usr/local/bin on a Linux system. The script also verifies the installation to ensure it was successful.
#!/bin/bash
# Script to download a binary, make it executable, and install it with a custom name
# Check if at least 2 arguments are provided
if [ "$#" -lt 2 ]; then
echo "Usage: $0 <binary_url> <custom_name>"
exit 1
fi
@Romelium
Romelium / TerrainDataCloner.cs
Last active February 18, 2022 10:37 — forked from zsoi/TerrainDataCloner.cs
Helper to deep-copy a TerrainData object in Unity3D
using UnityEngine;
namespace ZS.Tools
{
/// <summary>
/// Provides means to deep-copy a TerrainData object because Unitys' built-in "Instantiate" method
/// will miss some things and the resulting copy still shares data with the original.
/// </summary>
public class TerrainDataCloner
{