Skip to content

Instantly share code, notes, and snippets.

View acgetchell's full-sized avatar
🎯
Making spacetime

Adam Getchell acgetchell

🎯
Making spacetime
View GitHub Profile
@acgetchell
acgetchell / cvs-syncfile
Last active December 21, 2015 07:59
File for use with cvsync: sudo cvsync -c cvs-syncfile
config {
hostname mirror.osn.de
collection {
name all
release list
}
}
# Mirror CVS
config {
@acgetchell
acgetchell / brew-boost-output
Last active December 21, 2015 13:19
The results of various combinations of brew install boost with openmpi and clang support. So far, mpi works but clang does not.
β”Œβ”€[getchell][Hapkido][Β±][master βœ“][/usr/local/share]
└─β–ͺ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
@acgetchell
acgetchell / boost-errors
Created August 22, 2013 23:07
Results of brew install boost --with-c++11 -v 2>&1
This file has been truncated, but you can view the full file.
β”Œβ”€[getchell][Hapkido][Β±][master βœ“][/usr/local/share]
└─β–ͺ brew install boost --with-c++11 -v 2>&1
==> Downloading http://downloads.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/boost-1.54.0.tar.bz2
tar xf /Library/Caches/Homebrew/boost-1.54.0.tar.bz2
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.4) http://www.boost.org/patches/1_54_0/001-coroutine.patch -o 000-homebrew.diff http://www.boost.org/patches/1_54_0/002-date-time.patch -o 001-homebrew.diff http://www.boost.org/patches/1_54_0/003-log.patch -o 002-homebrew.diff http://www.boost.org/patches/1_54_0/004-thread.patch -o 003-homebrew.diff
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
@acgetchell
acgetchell / main.cpp
Last active December 21, 2015 16:08
Sequence template
//
// main.cpp
// LearningCplusplus
//
// Created by Getchell, Adam on 7/9/13.
// Templating tutorial
// http://www.cplusplus.com/doc/tutorial/templates/
// sequence template
#include <iostream>
@acgetchell
acgetchell / ex_triangle-output
Created August 27, 2013 23:55
Output on building ex_triangle.cpp
/Users/getchell/.bash_it/plugins
In file included from /Users/getchell/Cplusplus-devel/ex_triangle.cpp:3:
/Users/getchell/Cplusplus-devel/CGAL/Cartesian.h:28:10: fatal error: 'CGAL/Cartesian/Cartesian_base.h' file not found
#include <CGAL/Cartesian/Cartesian_base.h>
^
1 error generated.
[Finished in 0.5s with exit code 1]
[shell_cmd: g++ "/Users/getchell/Cplusplus-devel/ex_triangle.cpp" -o "/Users/getchell/Cplusplus-devel/ex_triangle"]
[dir: /Users/getchell/Cplusplus-devel]
[path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin]
@acgetchell
acgetchell / brew-install-juju-bug
Created September 18, 2013 21:30
Homebrew juju results
β”Œβ”€[getchell][Hapkido][Β±][master βœ“][~/Cplusplus-devel]
└─β–ͺ brew install -v juju 2>&1
==> Installing dependencies for juju: go
==> Installing juju dependency: go
==> Downloading https://go.googlecode.com/files/go1.1.2.src.tar.gz
Already downloaded: /Library/Caches/Homebrew/go-1.1.2.tar.gz
tar xf /Library/Caches/Homebrew/go-1.1.2.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file src/cmd/ld/lib.c
@acgetchell
acgetchell / cmake-external-project-@Fraser999
Created December 12, 2013 00:16
CMAKE ExternalProject for Google Mock results results from @Fraser999 's example
─[getchell][Hapkido][~]
└─β–ͺ cd test
β”Œβ”€[getchell][Hapkido][~/test]
└─β–ͺ ls
CMakeLists.txt build
β”Œβ”€[getchell][Hapkido][~/test]
└─β–ͺ ll
total 32
drwxr-xr-x 5 getchell AESDEAN\Domain Users 170 Dec 11 13:26 .
drwxr-xr-x+ 122 getchell AESDEAN\Domain Users 4148 Dec 11 16:02 ..
@acgetchell
acgetchell / precise64-vagrant-provisioning.sh
Last active January 1, 2016 19:39
An external shell script used for Vagrant provisioning of Ubuntu 12.04 LTS 64-bit to build gcc-4.8 and libraries to support C++11, and then build CGAL which requires C++11 features
#!/bin/bash
set -e # Exit script immediately on first error
set -x # Print commands and their arguments as they are executed
# Update package index
sudo apt-get update -y
# Install add-apt
sudo apt-get install python-software-properties -y
@acgetchell
acgetchell / brew-cask-uninstall-onepassword
Created April 8, 2014 02:40
brew cask uninstall onepasssword issues
β”Œβ”€[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: 29b88457870d46901acc7bba6523b475e3a92674
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
@acgetchell
acgetchell / brew-cask-uninstall-one-password-2
Created April 8, 2014 04:56
More stuff about one-password
β”Œβ”€[getchell][Hapkido][Β±][master βœ“][/usr/local/Cellar]
└─β–ͺ brew uninstall brew-cask
Uninstalling /usr/local/Cellar/brew-cask/0.32.0...
β”Œβ”€[getchell][Hapkido][Β±][master βœ“][/usr/local/Cellar]
└─β–ͺ 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 9 seconds
β”Œβ”€[getchell][Hapkido][Β±][master βœ“][/usr/local/Cellar]