Skip to content

Instantly share code, notes, and snippets.

View dgentry's full-sized avatar

Dennis Gentry dgentry

  • San Francisco Bay Area
View GitHub Profile
@dgentry
dgentry / strip.sh
Created July 23, 2020 23:44
Recursively remove all weird Apple filesystem flags, xattrs, and ACLs that would keep you from deleting your files
#!/bin/bash
# Take care to run only from the directory you want to delete, not the parent
find -L . -flags +uchg -exec chflags -h nouchg {} \;
find -L . -flags +schg -exec chflags -h noschg {} \;
chmod -RN .
find . -type l -exec chmod -h -N {} \;
xattr -rcs .
# After downloading and installing just 21.6 (on a MacOS Sierra Macbook Pro), I don't get any examples. I did find "trial.rib" and can render that using the following commands in Terminal.app (I left off the command line prompt, which for me is $):
export RMANTREE=/Applications/Pixar/RenderManProServer-21.6
export PATH=$RMANTREE/bin:$PATH
cp /Applications/Pixar/RenderManProServer-21.6/etc/setup/trial.rib .
prman trial.rib
# prman will emit some complaints here, about missing "shield" shader
open trial.tif

Keybase proof

I hereby claim:

  • I am dgentry on github.
  • I am dgentry (https://keybase.io/dgentry) on keybase.
  • I have a public key whose fingerprint is CC2D 3AD6 DF6C B3F3 6058 6509 EF33 23BD E02E AE5A

To claim this, I am signing this object:

@dgentry
dgentry / config.log
Created May 23, 2012 12:14
Failing config.log from brew install --debug gcc (/tmp/homebrew-gcc-4.7.0-IyR2/gcc-4.7.0/build/x86_64-apple-darwin11.4.0/libgcc/config.log)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ /private/tmp/homebrew-gcc-4.7.0-IyR2/gcc-4.7.0/libgcc/configure --cache-file=./config.cache --prefix=/usr/local/Cellar/gcc/4.7.0/gcc --datarootdir=/usr/local/Cellar/gcc/4.7.0/share --bindir=/usr/local/Cellar/gcc/4.7.0/bin --with-gmp=/usr/local/Cellar/gmp/5.0.5 --with-mpfr=/usr/local/Cellar/mpfr/3.1.0 --with-mpc=/usr/local/Cellar/libmpc/0.9 --with-system-zlib --enable-stage1-checking --enable-plugin --enable-lto --disable-multilib --disable-nls --enable-languages=c,c++,lto --program-transform-name=s&$&-4.7& --disable-option-checking --with-target-subdir=x86_64-apple-darwin11.4.0 --build=x86_64-apple-darwin11.4.0 --host=x86_64-apple-darwin11.4.0 --target=x86_64-apple-darwin11.4.0 --srcdir=../../../libgcc --disable-intermodule --enable-checking=yes --disable-