Skip to content

Instantly share code, notes, and snippets.

@wolfpython
wolfpython / gist:675024
Created November 13, 2010 02:23
output of ghci
Prelude Text.Regex.Posix Data.ByteString.Char8> "good food" =~ ".odd" ::[String]
<interactive>:1:0:
No instance for (RegexContext Regex [Char] [String])
arising from a use of `=~' at <interactive>:1:0-20
Possible fix:
add an instance declaration for
(RegexContext Regex [Char] [String])
In the expression: "good food" =~ ".odd" :: [String]
In the definition of `it': it = "good food" =~ ".odd" :: [String]
@wolfpython
wolfpython / gist:728991
Created December 5, 2010 10:11
grub.cfg (done by update-grub and the comments is added by myself)
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
root@debian:/etc/grub.d# blkid
/dev/sda8: UUID="5b43db2b-c628-4965-9649-4c96b84e6a05" TYPE="swap"
/dev/sda1: UUID="91e18c24-a5e3-4d7c-9d7e-99f76e382aa8" TYPE="ext4"
/dev/sda2: UUID="b0abd8fb-eb1f-44bb-bbf8-b247c26263ec" TYPE="ext4"
/dev/sda5: UUID="82240af0-5930-4499-ae69-514a1f49aec4" TYPE="ext4"
/dev/sda6: UUID="1f2851b0-4776-43dc-a390-fb6e698f96e7" TYPE="ext4"
/dev/sda7: UUID="abe08056-b495-45c6-b07b-cb4ee2b15d36" TYPE="ext4"
/dev/sda9: UUID="fcb60710-c050-491c-a6ad-b6d6a65e5da1" TYPE="ext4"
/dev/sda10: UUID="10316564-c453-4281-85d6-5a46837397a8" TYPE="ext4"
/dev/sda11: UUID="f4deab0a-b37c-426f-bb35-f997fd2c9940" TYPE="ext4" #here is the mandriva
wolf@debian:~/nids$ apt-cache search gitk
gitk - fast, scalable, distributed revision control system (revision tree visualizer)
stgit-contrib - set of contributed script to help working with stgit
wolf@debian:~/nids$ apt-cache search git-gui
git-gui - fast, scalable, distributed revision control system (GUI)
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Mandriva 2010 2 ChainLoader" {
set root=(hd0,12)
chainloader +1
}
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gtk+ configure 2.24.6, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --sysconfdir=/usr/pkg/libdata --disable-papi --with-xinput=xfree --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --prefix=/usr/pkg --build=i386--netbsdelf --host=i386--netbsdelf --mandir=/usr/pkg/man
## --------- ##
## Platform. ##
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so:
-lpixman-1.0 => /usr/pkg/lib/libpixman-1.so.0
-lm.0 => /usr/lib/libm.so.0
-lc.12 => /usr/lib/libc.so.12
-lfontconfig.1 => /usr/X11R7/lib/libfontconfig.so.1
-lexpat.1 => /usr/X11R7/lib/libexpat.so.1
-lfreetype.6 => /usr/X11R7/lib/libfreetype.so.6
-lz.1 => /usr/lib/libz.so.1
-lpng15.15 => /usr/pkg/lib/libpng15.so.15
-lxcb-shm.0 => /usr/pkg/lib/libxcb-shm.so.0
vim-share-7.2.446 Data files for the vim editor (vi clone)
perl-5.14.2 Practical Extraction and Report Language
pcre-8.13 Perl Compatible Regular Expressions library
cairo-1.10.2nb1 Vector graphics library with cross-device output support
unzip-6.0 List, test and extract compressed files in a ZIP archive
p5-XML-Parser-2.41 Perl extension interface to James Clark's XML parser, expat
png-1.5.5 Library for manipulating PNG images
boehm-gc-7.1nb4 Garbage collection and memory leak detection for C and C++
intltool-0.41.1 Internationalization Tool Collection
tiff-3.9.5 Library and tools for reading and writing TIFF data files