Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| $ wget \ | |
| --recursive \ | |
| --no-clobber \ | |
| --page-requisites \ | |
| --html-extension \ | |
| --convert-links \ | |
| --domains website.org \ | |
| --no-parent \ | |
| www.website.org/tutorials/html/ |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
| #include <android/log.h> | |
| class androidbuf: public std::streambuf { | |
| public: | |
| enum { bufsize = 128 }; // ... or some other suitable buffer size | |
| androidbuf() { this->setp(buffer, buffer + bufsize - 1); } | |
| private: | |
| int overflow(int c) { | |
| if (c == traits_type::eof()) { | |
| *this->pptr() = traits_type::to_char_type(c); |