Skip to content

Instantly share code, notes, and snippets.

View Hais's full-sized avatar
🥐
Brunchin'

Hais Deakin Hais

🥐
Brunchin'
View GitHub Profile
@Hais
Hais / filter.swift
Created December 13, 2023 19:18 — forked from avinashselvam/filter.swift
A swift class that implements GPU based image processing
//
// filter.swift
// fltr
//
// Created by Avinash on 18/06/19.
// Copyright © 2019 eightyfive. All rights reserved.
//
import Metal
import MetalKit
@Hais
Hais / workspace.sh
Last active February 18, 2016 14:44 — forked from dixson3/workspace.sh
#!/bin/bash
# where to store the sparse-image
WORKSPACE=${HOME}/Documents/workspace.dmg.sparseimage
create() {
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE}
}
automount() {