Skip to content

Instantly share code, notes, and snippets.

@acgetchell
acgetchell / brew-cask-uninstall-3
Last active June 5, 2021 15:58
Uninstalling then reinstalling
┌─[getchell][Hapkido][~]
└─▪ brew install brew-cask
==> Cloning https://github.com/phinze/homebrew-cask.git
Updating /Library/Caches/Homebrew/brew-cask--git
==> Checking out tag v0.32.0
🍺 /usr/local/Cellar/brew-cask/0.32.0: 1438 files, 5.7M, built in 2 seconds
┌─[getchell][Hapkido][~]
└─▪ brew cask list
alfred firefox macfusion skype textmate virtualbox
anki github menumeters steam torbrowserbundle xquartz
@acgetchell
acgetchell / homebrew-cgal-imaging-failed-install
Created April 18, 2014 08:31
Debugging for CGAL 4.4 install from homebrew. All options work except imaging. I first show an install with all options except imaging, then I show the verbose results of the failed install with imaging
┌─[getchell][Hapkido][~]
└─▪ brew update
Already up-to-date.
┌─[getchell][Hapkido][~]
└─▪ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: f8236b59f79fd0334f8a1e239dd6538a9f738ff1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
@acgetchell
acgetchell / leda-errors
Created April 25, 2014 03:26
Leda errors for Delaunay_d example
┌─[getchell][Hapkido][±][Delaunay_d ✓][~/CDT-plusplus]
└─▪ make
-- Build type: Release
-- USING CXXFLAGS = ' -O3 -DNDEBUG'
-- USING EXEFLAGS = ' -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- DARWIN_VERSION=13
-- Mac Leopard detected
-- Requested component: Core
@acgetchell
acgetchell / cmake-tutorial-gmock-errors
Created September 9, 2014 10:12
CMake tutorial gmock 1.7 errors
┌─[getchell][Hapkido][±][master ✓][~/cmake-tutorial]
└─▪ mkdir build
┌─[getchell][Hapkido][±][master ✓][~/cmake-tutorial]
└─▪ cd build
┌─[getchell][Hapkido][±][master ✓][~/cmake-tutorial/build]
└─▪ cmake -G "Unix Makefiles" ..
-- The C compiler identification is AppleClang 6.0.0.6000051
-- The CXX compiler identification is AppleClang 6.0.0.6000051
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
@acgetchell
acgetchell / cmake-tutorial-gmock-1.7-with-fix-errors
Created September 26, 2014 02:18
cmake-tutorial-gmock-1.7-with-fix
┌─[adam][Hapkido][±][master ✓][~/cmake-tutorial]
└─▪ mkdir build
┌─[adam][Hapkido][±][master ✓][~/cmake-tutorial]
└─▪ cd build
┌─[adam][Hapkido][±][master ✓][~/cmake-tutorial/build]
└─▪ cmake -G "Unix Makefiles" ..
-- The C compiler identification is AppleClang 6.0.0.6000051
-- The CXX compiler identification is AppleClang 6.0.0.6000051
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
@acgetchell
acgetchell / Lazy_exact_nt
Created October 28, 2014 03:20
Using CGAL::Caresian_d<CGAL::Lazy_exact_nt<CGAL::Gmpq> >
PointTest.cpp:
#include "gmock/gmock.h"
#include "Point.h"
using namespace ::testing;
TEST(Point, CreateAPoint) {
}
┌─[adam][Hapkido][±][master ✓][~/CDT-plusplus]
└─▪ ./build.sh
-- The C compiler identification is AppleClang 6.0.0.6000054
-- The CXX compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
@acgetchell
acgetchell / docopt-cpp-linewrap
Last active August 29, 2015 14:10
docopt.cpp linewrap fail
#include "docopt/docopt.h"
#include <iostream>
#include <cstdlib>
static const char USAGE[] =
R"(Causal Dynamical Triangulations in C++ using CGAL.
Copyright (c) 2014 Adam Getchell
@acgetchell
acgetchell / tbb-iostream
Created December 12, 2014 07:36
TBB <iostream> conflict
┌─[adam][Hapkido][±][master ✗][~/CDT-plusplus]
└─▪ ./build.sh
-- The C compiler identification is AppleClang 6.0.0.6000054
-- The CXX compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
@acgetchell
acgetchell / tbb-cgal-timer-conflict
Created December 12, 2014 07:40
TBB <CGAL/Timer.h> conflict
┌─[adam][Hapkido][±][master ✗][~/CDT-plusplus]
└─▪ ./build.sh
-- The C compiler identification is AppleClang 6.0.0.6000054
-- The CXX compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works