Skip to content

Instantly share code, notes, and snippets.

@gnattu
gnattu / ContentView.swift
Created January 22, 2024 13:55 — forked from unixzii/ContentView.swift
GPU particle system using Metal.
import SwiftUI
struct SmashableView: NSViewRepresentable {
typealias NSViewType = _SmashableNSView
let text: String
class _SmashableNSView: NSView {
@gnattu
gnattu / cue_to_mp3.py
Created January 14, 2017 22:51 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to mp3)
cue_file = 'file.cue'
d = open(cue_file).read().splitlines()
general = {}
tracks = []
current_file = None