Skip to content

Instantly share code, notes, and snippets.

View hardlifeofapo's full-sized avatar

Pablo Casado hardlifeofapo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hardlifeofapo on github.
  • I am hardlifeofapo (https://keybase.io/hardlifeofapo) on keybase.
  • I have a public key ASDUZ08SuGAttq_Zr3TQQruvwdYbcIs_32md-brqN7CY8Ao

To claim this, I am signing this object:

/*******************************************************/
/* */
/* NOTE */
/* */
/*******************************************************/
This has been tested on a clean install of Ubuntu 12 server
env LDFLAGS="-L/opt/local/lib -L/opt/local/lib/db46" CPPFLAGS="-I/opt/local/boost -I/opt/local/include/db46" ./configure --enable-traces --enable-boost-locale CPPFLAGS="-I/opt/local/include -I/opt/local/include/boost -I/opt/local/include/db46" LDFLAGS="-L/opt/local/lib -L/opt/local/lib/db46"
@hardlifeofapo
hardlifeofapo / Makefile
Created April 24, 2013 08:31
Makefile for building Freeling Java API on Mac OS X Follow the instructions on http://hardlifeofapo.com/building-freeling-in-mac-os-x/ to build Freeling itself.
# Change these paths to match your installation
# Alternatively, you can call 'make' overriding variable values, E.g.:
# make FREELINGDIR=/my/freeling/dir SWIGDIR=/my/swig/dir JAVADIR=/my/java/dir
FREELINGDIR = /usr/local/share
SWIGDIR = /opt/local/share/swig/2.0.9/
JAVADIR = /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/
# you may change the package name if you want
@hardlifeofapo
hardlifeofapo / gist:5196921
Created March 19, 2013 15:10
Errors when installing node-couchbase
Kara:nyan apolion$ npm install couchbase
npm http GET https://registry.npmjs.org/couchbase
npm http 304 https://registry.npmjs.org/couchbase
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/request
> couchbase@0.0.11 install /Users/apolion/nyan/node_modules/couchbase
> node-gyp rebuild
[
{
"created_at": "Tue Feb 19 15:52:13 +0000 2013",
"id": 303894769166331900,
"id_str": "303894769166331904",
"text": "http://t.co/PTmXMNIx драйвер mobile usb modem 1 0 samsung s5230",
"source": "<a href=\"http://twitter.com/tweetbutton\" rel=\"nofollow\">Tweet Button</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
exports.testSearch = function(req, res){
var results = [];
cb.connect(config, function( err, cb ){
if(err){
console.error("ERROR", err);
}else{
var cb = cb;
var ids = ["303894769166331904", "304176764836532225", "304179158878126081",