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 djha-skin/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 / chalet.json
Created January 31, 2023 00:31
build openframeworks example with Chalet
{
"name": "open-frameworks",
"version": "1.0.0",
"abstracts:*": {
"language": "C++",
"language[toolchain:apple-llvm]": "Objective-C++",
"settings:Cxx": {
"cppStandard": "c++17",
"warningsPreset": "minimal",
"runtimeTypeInformation": true,
@dimitre
dimitre / chalet.json
Created March 25, 2023 15:46
Chalet OF addons
{
"name": "open-frameworks",
"version": "1.0.0",
"variables" : {
"name" : "3dRoom2023",
"path" : "apps/WerkApps/3dRoom2023",
"addons" : "ofxMicroUI,ofxTools,ofxSyphon,ofxNetwork,ofxAssimpModelLoader"
},
"abstracts:*": {
"language": "C++",
@dimitre
dimitre / cnaes.tsv
Last active March 27, 2023 14:43
CNAES
01015 Execução, por administração, empreitada ou subempreitada, de obra hidráulica e semelhantes.
01023 Execução de obras de constr. civil, elétrica ou semelhantes, e respec. serv. aux. ou complement.
01031 Demolição.
01058 Reparação, conservação e reforma de edifícios, estradas, pontes, portos e congêneres.
01090 Escoramento, contenção de encostas e serviços congêneres.
01104 Carpintaria e serralheria.
01210 Paisagismo.
01228 Colocação de tapetes, cortinas, revestimentos, vidros, divisórias, placas de gesso e congêneres.
01236 Recuperação, raspagem, polimento e lustração de pisos e congêneres.
01244 Calafetação.
@dimitre
dimitre / chalet.json
Last active March 30, 2023 15:56
OFLib Chalet
{
"name": "OFLib",
"version": "0.2.0",
"abstracts:*": {
"language": "C++",
"language[toolchain:apple-llvm]": "Objective-C++",
"settings:Cxx": {
"cppStandard": "c++17",
"warningsPreset": "minimal",
"runtimeTypeInformation": true,
@dimitre
dimitre / chalet.json
Created March 30, 2023 15:57
OFW Chalet Project
{
"name": "OF",
"version": "0.3.2",
"variables" : {
"path" : ".",
"addons" : "ofxMicroUI,ofxTools", //ofxPoco ofxAssimpModelLoader
"ofPath" : "/Volumes/tool/ofw"
},
"externalDependencies": {
"OFLib" : {
#!/bin/bash
# ref : https://gist.github.com/vsivsi/589397df1b25c450127313201d8d3c40
#
NAME=Pulsar
sudo scutil --set HostName ${NAME}
sudo scutil --set ComputerName ${NAME}
sudo scutil --set LocalHostName ${NAME}
echo "$(id -un)"