Skip to content

Instantly share code, notes, and snippets.

Per ardua ad astra

Daniel Giribet danigiri

Per ardua ad astra
View GitHub Profile
danigiri /
Last active Nov 11, 2015
Fuse sshfs on Centos7 with minimum hassle
# sshfs cheatsheet for vms in centos7
# host IP in the vm network
export IP=
# vm IP
export VMIP=
#host user
export USER_=dani
# host GIT folder
export SOURCE="/Users/$USER_/Documents/GIT"
# home on vm

Keybase proof

I hereby claim:

  • I am danigiri on github.
  • I am danigiri ( on keybase.
  • I have a public key whose fingerprint is 30CD 0FA4 F84A DB80 C525 D8AF CCE6 1586 1438 7AA0

To claim this, I am signing this object:

danigiri / gist:bc1b576201ff65eecd28
Last active Aug 29, 2015
Interactive install of freeling on Mac OS X using homebrew
View gist:bc1b576201ff65eecd28
# install boost dependency
brew install -v boost --with-icu
# interactively install freeling
brew install -i freeling
# setup environment, for some reason the boost headers are not detected, so we specify them
# note that it needs to reflect the appropriate boost version number installed
export LDFLAGS="-L/usr/local/opt/libtool/lib -L/usr/local/opt/icu4c/lib -L/usr/local/Cellar/boost/1.56.0/lib"
export CPPFLAGS="-I/usr/local/opt/libtool/include -I/usr/local/opt/icu4c/include -I/usr/local/Cellar/boost/1.56.0/include"
danigiri / rpmbuild
Created May 27, 2012
Hack to have maven-rpm-plugin work on Mac OS X
View rpmbuild
# with this hack in your path, maven rpm plugin will work on mac os x
# -bb $1
# --buildroot $2
# --define $4
# --target $6
danigiri / FreeLing.rb
Created Mar 12, 2012 — forked from ambs/FreeLing.rb
Homebrew formula for FreeLing3 (SVN Head)
View FreeLing.rb
require 'formula'
class Freeling < Formula
homepage ''
head '', :using => :svn
depends_on 'icu4c'
# requires boost --with-icu. At the moment I think that is not possible (to force options)
depends_on 'boost'
depends_on 'libtool'