Skip to content

Instantly share code, notes, and snippets.

Sphinx version

Sphinx 0.9.9 version instaled:

* app-misc/sphinx
     Available versions:  0.9.8.1!m 0.9.9!t ~0.9.9-r1 ~1.10_beta {debug id64 mysql odbc postgres stemmer test}
     Installed versions:  Version: 0.9.9!t
                          Date:    04:40:03 PM 09/21/2010

USE: mysql postgres -debug -id64 -stemmer -test

@danil
danil / gist:667812
Created November 8, 2010 15:27
gem list
aaronh-chronic (0.3.9)
aasm (2.2.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activemodel (3.0.0)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (3.0.0, 2.3.9, 2.3.5)
addressable (2.2.2)
after_commit (1.0.8)
@danil
danil / test.js
Created November 27, 2011 15:23
NobleCount example
$('input.with-maxlength').each(function() {
var counterId = "id_" + Math.random().toString().replace(".","");
$(this).after('<div><span id="' + counterId + '" /> characters remaining</div>');
$(this).NobleCount("#" + counterId, {
max_chars: 25,
on_negative: 'go_red',
on_positive: 'go_green',
block_negative: true
});
});
@danil
danil / gist:3184715
Created July 26, 2012 21:38
emerge --info

$ emerge --info

Portage 2.1.10.65 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.14.1-r3, 3.3.8-gentoo+ x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo+-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9400_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sun, 22 Jul 2012 10:30:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
@danil
danil / gist:3184747
Created July 26, 2012 21:43
cat /var/tmp/portage/unity-base/bamf-0.2.118/temp/build.log
[32;01m * Package: unity-base/bamf-0.2.118
 * Repository: unity-gentoo
 * USE: amd64 elibc_glibc introspection kernel_linux multilib userland_GNU
 * FEATURES: ccache sandbox
>>> Unpacking source...
>>> Unpacking bamf_0.2.118.orig.tar.gz to /var/tmp/portage/unity-base/bamf-0.2.118/work
>>> Source unpacked in /var/tmp/portage/unity-base/bamf-0.2.118/work
>>> Preparing source in /var/tmp/portage/unity-base/bamf-0.2.118/work/bamf-0.2.118 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/unity-base/bamf-0.2.118/work/bamf-0.2.118 ...
@danil
danil / gist:3190350
Created July 27, 2012 20:33
cat /var/tmp/portage/unity-base/nux-2.12.0/temp/build.log
 * Package: unity-base/nux-2.12.0
 * Repository: unity-gentoo
 * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES: ccache sandbox
>>> Unpacking source...
>>> Unpacking nux_2.12.0.orig.tar.gz to /var/tmp/portage/unity-base/nux-2.12.0/work
>>> Unpacking nux_2.12.0-0ubuntu1.diff.gz to /var/tmp/portage/unity-base/nux-2.12.0/work
>>> Source unpacked in /var/tmp/portage/unity-base/nux-2.12.0/work
>>> Preparing source in /var/tmp/portage/unity-base/nux-2.12.0/work/nux-2.12.0 ...
>>> Source prepared.
@danil
danil / gist:3190688
Created July 27, 2012 22:04
cat /var/tmp/portage/unity-base/unity-5.12.0/temp/build.log
 * Package: unity-base/unity-5.12.0
 * Repository: unity-gentoo
 * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES: ccache sandbox
>>> Unpacking source...
>>> Unpacking unity_5.12.orig.tar.gz to /var/tmp/portage/unity-base/unity-5.12.0/work
>>> Unpacking unity_5.12-0ubuntu1.1.diff.gz to /var/tmp/portage/unity-base/unity-5.12.0/work
>>> Source unpacked in /var/tmp/portage/unity-base/unity-5.12.0/work
>>> Preparing source in /var/tmp/portage/unity-base/unity-5.12.0/work/unity-5.12.0 ...
* Applying unity_5.12-0ubuntu1.1.diff ...
@danil
danil / gist:3192687
Created July 28, 2012 09:50
cat /var/tmp/portage/unity-base/unity-lens-applications-5.12.0/temp/build.log
 * Package: unity-base/unity-lens-applications-5.12.0
 * Repository: unity-gentoo
 * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES: ccache sandbox
>>> Unpacking source...
>>> Unpacking unity-lens-applications_5.12.0.orig.tar.gz to /var/tmp/portage/unity-base/unity-lens-applications-5.12.0/work
>>> Source unpacked in /var/tmp/portage/unity-base/unity-lens-applications-5.12.0/work
>>> Preparing source in /var/tmp/portage/unity-base/unity-lens-applications-5.12.0/work/unity-lens-applications-5.12.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/unity-base/unity-lens-applications-5.12.0/work/unity-lens-applications-5.12.0 ...
@danil
danil / gist:3241742
Created August 2, 2012 23:10
emerge -v1 $(eix -I --only-names --in-overlay unity-gentoo)
Calculating dependencies... done!
[ebuild R ~] unity-base/utouch-evemu-1.0.9::unity-gentoo 487 kB
[ebuild R ~] dev-python/configglue-1.0::unity-gentoo 0 kB
[ebuild R ~] dev-python/lazr-restfulclient-0.12.0::unity-gentoo 0 kB
[ebuild R ~] dev-python/dirspec-3.0.0::unity-gentoo 0 kB
[ebuild R ~] dev-libs/glib-99.2.32.3::unity-gentoo USE="-debug -doc -fam (-selinux) -static-libs -systemtap -test -utils -xattr" 0 kB
[ebuild R ~] x11-themes/unity-asset-pool-0.8.23::unity-gentoo USE="-debug" 90 kB
[ebuild R ~] x11-proto/fixesproto-5.0-r9999::unity-gentoo 0 kB
[ebuild R ~] x11-libs/qt-core-99.4.8.2::unity-gentoo USE="exceptions glib iconv ssl (-aqua) -c++0x -debug -icu -optimized-qmake -pch -qpa -qt3support" 0 kB
[ebuild R ~] dev-libs/libzeitgeist-0.3.18::unity-gentoo USE="-static-libs" 0 kB
# encoding: utf-8
module Nanoc3::Filters
class AbsolutizePaths < Nanoc3::Filter
identifier :absolutize_paths
require 'nanoc/helpers/link_to'
include Nanoc::Helpers::LinkTo