Skip to content

Instantly share code, notes, and snippets.

View dimitre's full-sized avatar
💭
💾

Dimitre dimitre

💭
💾
View GitHub Profile
@dimitre
dimitre / png2icns
Created May 26, 2022 22:12 — forked from djhaskin987/png2icns
Convert PNG file to ICNS file
# Stolen from here: http://stackoverflow.com/a/20703594/850326
#!/bin/sh
export POSIXLY_CORRECT=1
if [ -z "${1}" -o -z "${2}" ]
then
echo "Usage: ${0} <name> <original-png-location>"
fi
name=$1
@dimitre
dimitre / setup_opencv_macos.sh
Created October 26, 2020 14:54 — forked from AhiyaHiya/setup_opencv_macos.sh
Download and build OpenCV framework for macOS
#!/bin/bash
set -o errexit
set -o pipefail
set -o nounset
setup_opencv()
{
printf "*********************************\n${FUNCNAME[0]}\n"
local readonly PARENT_FOLDER=${1:-third_party}