Skip to content

Instantly share code, notes, and snippets.

View calini's full-sized avatar

Călin Ilie calini

View GitHub Profile
@calini
calini / main.py
Created August 23, 2023 10:21
Convert .img files in nested directories to .iso
# made by ChatGPT, shepered by calini
#
# This script will convert all .img/.ccd/.sub files in nested directories to .iso files.
#
# Usage: python3 main.py <directory>
#
# <directory> is the directory to search for subdirectories containing .img/.sub/.ccd files.
import os
import sys
@calini
calini / console.md
Last active August 17, 2023 08:43
Comparison and my thoughts on Asus ROG Ally vs Steam Deck

Thoughts on Ally vs Steam Deck

Physical Impressions

Feature Ally SD Winner
Looks Ally is white, looks modern and sleek, really nice touches with the vents, holo strip, RGB Sleek and industrial Ally
Shape Hands a bit more pronated, console has more sharp angles, back buttons and middle finger tips are awkward together, 3D printable fix Feels like an F1 steering wheel, very substantial, fingers wrap around nicely, much better SD
Weight Not much of a difference but can be felt Heavier but better comfort -
Top button positioning Fingerprint is great, volume buttons are awk Power button is awk -
@calini
calini / split_walls.py
Created May 9, 2019 09:38
Split Wallpapers
#!/usr/bin/env python
from PIL import Image
import argparse
from pathlib import Path
def crop(image_path, coords, saved_location):
"""
@param image_path: The path to the image to edit
@param coords: A tuple of x/y coordinates (x1, y1, x2, y2)
@param saved_location: Path to save the cropped image