Skip to content

Instantly share code, notes, and snippets.

@jpz
jpz / conda_setup.md
Last active Sep 11, 2020
Using Conda to Create C++ Environments
View conda_setup.md

Using Conda to Create C++ Environments

Conda is a package manager, which arose from the Data Science and Python community to manage complicated binary and source deployments.

It can be leveraged for non-Python environments also.

From our experience of COMP6771 2020, we required an install of clang, along with C++ libraries.

@jpz
jpz / # llvm - 2020-05-30_21-37-00.txt
Created May 30, 2020
llvm on macOS 10.15.5 - Homebrew build logs
View # llvm - 2020-05-30_21-37-00.txt
Homebrew build logs for llvm on macOS 10.15.5
Build date: 2020-05-30 21:37:00
@jpz
jpz / # llvm - 2020-05-30_12-14-28.txt
Created May 30, 2020
llvm on macOS 10.15.5 - Homebrew build logs
View # llvm - 2020-05-30_12-14-28.txt
Homebrew build logs for llvm on macOS 10.15.5
Build date: 2020-05-30 12:14:28
@jpz
jpz / # llvm - 2020-05-29_14-33-29.txt
Created May 29, 2020
llvm on macOS 10.15.5 - Homebrew build logs
View # llvm - 2020-05-29_14-33-29.txt
Homebrew build logs for llvm on macOS 10.15.5
Build date: 2020-05-29 14:33:29
@jpz
jpz / # octave - 2018-04-21_02-28-03.txt
Created Apr 20, 2018
octave on macOS 10.13.3 - Homebrew build logs
View # octave - 2018-04-21_02-28-03.txt
Homebrew build logs for octave on macOS 10.13.3
Build date: 2018-04-21 02:28:03
@jpz
jpz / touchback_birthtime.py
Created Dec 15, 2016
Touches the creation times (st_birthtime) back to the modified time for files on MacOS, where the creation time is greater than the modified datetime
View touchback_birthtime.py
#!/usr/bin/env python3
# this small script touches the creation times (st_birthtime) back to the modified time
# for files on MacOS, where the creation time is greater than the modified datetime.
#
# fixes a small problem I had with some very old photo files...
from subprocess import check_output, PIPE
import sys, dateparser