Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
Want to fork your own gists? No fork button? No problem!
Install this user script by clicking refork.user.js' "raw" link down below:
Starting with Chrome 21, userscript installation is blocked on all sites other than the Chrome Web Store. The new approach requires the user to download the script file and drag & drop it into the Extensions tab.
I'm posting this here because I had a maddening search for information about why this error occurs when trying to do certain tasks in a Boost Python binding to a C++ object: | |
TypeError: No to_python (by-value) converter found for C++ type: Element* | |
This was when trying to iterate over a vector, defined as: | |
typedef std::vector<Element*> ElementList; | |
It turns out that in your `class_<>` definitions you have to be pretty specific. I already had: |
require 'formula' | |
class Cmake < Formula | |
head 'https://github.com/jkp/CMake.git', :tag => 'b8aa20c2913e91609c424d55fbb3d56cc5cd3dba' | |
homepage 'http://www.cmake.org/' | |
def install | |
# A framework-installed expat will be detected and mess things up. | |
if File.exist? "/Library/Frameworks/expat.framework" | |
opoo "/Library/Frameworks/expat.framework detected" |
require 'formula' | |
# NOTE: | |
# | |
# Two exciting enhancements in GCC 4.6.0 are currently unavailable. | |
# | |
# Link-time optimization (LTO) is broken due to changes in XCode 3.2.6 and 4.0. | |
# This should be fixed in GCC 4.6.1: | |
# http://lists.macosforge.org/pipermail/macports-dev/2011-March/014278.html | |
# |